photosgallery/viewframework/texturemanager/src/glxtexturemanagerimpl.cpp
branchRCL_3
changeset 11 71da52165949
parent 9 6b87b143d312
child 12 ce1c7ad1f18b
equal deleted inserted replaced
9:6b87b143d312 11:71da52165949
   370     TRACER("CGlxTextureManagerImpl::CreateFlatColourTextureL");
   370     TRACER("CGlxTextureManagerImpl::CreateFlatColourTextureL");
   371     // Create a picture with the colour
   371     // Create a picture with the colour
   372 	CFbsBitmap* picture = new (ELeave) CFbsBitmap;
   372 	CFbsBitmap* picture = new (ELeave) CFbsBitmap;
   373 	CleanupStack::PushL(picture);
   373 	CleanupStack::PushL(picture);
   374 	User::LeaveIfError(picture->Create(TSize(KGlxFlatTextureSize,
   374 	User::LeaveIfError(picture->Create(TSize(KGlxFlatTextureSize,
   375 	                                        KGlxFlatTextureSize), EColor16MU ) );
   375 	                                        KGlxFlatTextureSize), EColor16M ) );
   376 
   376 
   377 	CFbsBitmapDevice* drawBufDevice = CFbsBitmapDevice::NewL(picture);
   377 	CFbsBitmapDevice* drawBufDevice = CFbsBitmapDevice::NewL(picture);
   378 	CleanupStack::PushL(drawBufDevice);
   378 	CleanupStack::PushL(drawBufDevice);
   379 
   379 
   380 	CFbsBitGc* drawBufContext;
   380 	CFbsBitGc* drawBufContext;