First public contribution.
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
 
     2 // All rights reserved.
 
     3 // This component and the accompanying materials are made available
 
     4 // under the terms of "Eclipse Public License v1.0"
 
     5 // which accompanies this distribution, and is available
 
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
 
     8 // Initial Contributors:
 
     9 // Nokia Corporation - initial contribution.
 
    21 #ifndef __EGLTEST_IMAGE_MULTITHREAD_H__
 
    22 #define __EGLTEST_IMAGE_MULTITHREAD_H__
 
    24 #include "eglteststep.h"
 
    26 NONSHARABLE_CLASS(CEglTest_MThread_Image_Base) : public CEglTestStep
 
    29 	CEglTest_MThread_Image_Base();
 
    30 	~CEglTest_MThread_Image_Base();
 
    33 	RSgImage 			iSgImageShared;
 
    34 	EGLImageKHR			iEGLImageShared;
 
    38 _LIT(KEGL_Image_Multi_Thread_Parallel, "EGL_Image_Multi_Thread_Parallel");
 
    39 NONSHARABLE_CLASS(CEglTest_EGL_Image_Multi_Thread_Parallel) : public CEglTest_MThread_Image_Base
 
    42 	TVerdict doTestStepL();
 
    45 	void doThreadFunctionL(TInt aIdx);
 
    48 _LIT(KEGL_Image_Multi_Thread_Sibling_Basic, "EGL_Image_Multi_Thread_Sibling_Basic");
 
    49 NONSHARABLE_CLASS(CEglTest_EGL_Image_Multi_Thread_Sibling_Basic) : public CEglTest_MThread_Image_Base
 
    52 	TVerdict doTestStepL();
 
    55 	void doThreadFunctionL(TInt aIdx);
 
    58 _LIT(KEGL_Image_Multi_Thread_Sibling_VGImage, "EGL_Image_Multi_Thread_Sibling_VGImage");
 
    59 NONSHARABLE_CLASS(CEglTest_EGL_Image_Multi_Thread_Sibling_VGImage) : public CEglTest_MThread_Image_Base
 
    62 	TVerdict doTestStepL();
 
    65 	void doThreadFunctionL(TInt aIdx);
 
    68 _LIT(KEGL_Image_Multi_Thread_Sibling_VGImage_PassingEGLImage, "EGL_Image_Multi_Thread_Sibling_VGImage_PassingEGLImage");
 
    69 NONSHARABLE_CLASS(CEglTest_EGL_Image_Multi_Thread_Sibling_VGImage_PassingEGLImage) : public CEglTest_MThread_Image_Base
 
    72 	TVerdict doTestStepL();
 
    75 	void doThreadFunctionL(TInt aIdx);
 
    78 _LIT(KEGL_Image_Multi_Thread_Exit_Thread, "EGL_Image_Multi_Thread_Exit_Thread");
 
    79 NONSHARABLE_CLASS(CEglTest_EGL_Image_Multi_Thread_Exit_Thread) : public CEglTest_MThread_Image_Base
 
    82 	TVerdict doTestStepL();
 
    85 	void doThreadFunctionL(TInt aIdx);
 
    88 _LIT(KEGL_Image_Multi_Thread_DrawAfterTerminate, "EGL_Image_Multi_Thread_DrawAfterTerminate");
 
    89 NONSHARABLE_CLASS(CEglTest_EGL_Image_Multi_Thread_DrawAfterTerminate) : public CEglTest_MThread_Image_Base
 
    92 	TVerdict doTestStepL();
 
    95 	void doThreadFunctionL(TInt aIdx);