graphicshwdrivers/surfacemgr/test/src/tsurfacemanagermultiprocess.cpp
branchRCL_3
changeset 164 25ffed67c7ef
parent 163 bbf46f59e123
--- a/graphicshwdrivers/surfacemgr/test/src/tsurfacemanagermultiprocess.cpp	Tue Aug 31 16:31:06 2010 +0300
+++ b/graphicshwdrivers/surfacemgr/test/src/tsurfacemanagermultiprocess.cpp	Wed Sep 01 12:39:21 2010 +0100
@@ -901,13 +901,13 @@
 	// Set attributs for creating the surface
 	RSurfaceManager::TSurfaceCreationAttributesBuf buf;
 	RSurfaceManager::TSurfaceCreationAttributes& attributes=buf();
-    attributes.iSize = TSize(100,100);
-    attributes.iBuffers = 1;                // number of buffers in the surface
-    attributes.iPixelFormat = EUidPixelFormatYUV_422SemiPlanar;     // 2bpp
-    attributes.iStride = 400;               // Number of bytes between start of one line and start of next
-    attributes.iOffsetToFirstBuffer = 0;    // way of reserving space before the surface pixel data
-    attributes.iAlignment = 2;          // alignment, 1,2,4,8,16,32,64 byte aligned or EPageAligned
-    attributes.iContiguous=ETrue; 
+	attributes.iSize = TSize(200,200);
+	attributes.iBuffers = 1;				
+	attributes.iPixelFormat = EUidPixelFormatARGB_1555;		
+	attributes.iStride = 415;				
+	attributes.iOffsetToFirstBuffer = 80;	
+	attributes.iAlignment = 8;			
+	attributes.iContiguous=ETrue;
 	
 	RSurfaceManager::THintPair hints[2];	// two hint pairs specified
 	attributes.iHintCount = 2;