egl/egltest/inc/egltestcommonstep.h
changeset 36 01a6848ebfd7
parent 0 5d03bc08d59c
equal deleted inserted replaced
0:5d03bc08d59c 36:01a6848ebfd7
    19 */
    19 */
    20 
    20 
    21 #ifndef EGLTESTCOMMONSTEP_H
    21 #ifndef EGLTESTCOMMONSTEP_H
    22 #define EGLTESTCOMMONSTEP_H
    22 #define EGLTESTCOMMONSTEP_H
    23 
    23 
       
    24 #include <e32msgqueue.h>
    24 #include <EGL/egl.h>
    25 #include <EGL/egl.h>
    25 #include <VG/openvg.h>
    26 #include <VG/openvg.h>
    26 #ifdef SYMBIAN_GRAPHICS_EGL_SGIMAGELITE
    27 #ifdef SYMBIAN_GRAPHICS_EGL_SGIMAGELITE
    27 #include <sgresource/sgresource.h>
    28 #include <sgresource/sgresource.h>
    28 #else
    29 #else
    38 const TInt KMaxThreadNumber = 100;
    39 const TInt KMaxThreadNumber = 100;
    39 const TInt KNumSemaphore = 2;
    40 const TInt KNumSemaphore = 2;
    40 
    41 
    41 class RWindow;
    42 class RWindow;
    42 
    43 
       
    44 struct TEglStepMessageBuffer
       
    45     {
       
    46     TInt iBuf[64];
       
    47     };
    43 
    48 
    44 /**
    49 /**
    45 Abstract base class for Egl test steps
    50 Abstract base class for Egl test steps
    46 */
    51 */
    47 class CEglTestStep : public CTTMSGraphicsStep
    52 class CEglTestStep : public CTTMSGraphicsStep
   118 	// EGL helpers
   123 	// EGL helpers
   119 	IMPORT_C TBool CheckForExtensionL(TInt aExtensions, const TDesC& aExtensionName = KNullDesC);
   124 	IMPORT_C TBool CheckForExtensionL(TInt aExtensions, const TDesC& aExtensionName = KNullDesC);
   120 	IMPORT_C void GetDisplayL();
   125 	IMPORT_C void GetDisplayL();
   121 	IMPORT_C void TerminateDisplayL();	
   126 	IMPORT_C void TerminateDisplayL();	
   122 
   127 
       
   128 	virtual void ReceiveMessageFromClient(RMsgQueue<TEglStepMessageBuffer>& /*aMessageQueueClientProcParam*/) {}
   123 protected:
   129 protected:
   124 	// Session object as required for most tests
   130 	// Session object as required for most tests
   125 	CTestEglSession* 	iEglSess;
   131 	CTestEglSession* 	iEglSess;
   126 
   132 
   127 	// Whether to output verbose logging
   133 	// Whether to output verbose logging