os/graphics/egl/egltest/inc/egltest_image_multithread.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     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".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 //
    15 
    16 /**
    17  @file
    18  @test 
    19 */
    20 
    21 #ifndef __EGLTEST_IMAGE_MULTITHREAD_H__
    22 #define __EGLTEST_IMAGE_MULTITHREAD_H__
    23 
    24 #include "eglteststep.h"
    25 
    26 NONSHARABLE_CLASS(CEglTest_MThread_Image_Base) : public CEglTestStep
    27 	{
    28 public:
    29 	CEglTest_MThread_Image_Base();
    30 	~CEglTest_MThread_Image_Base();
    31 
    32 protected:
    33 	RSgImage 			iSgImageShared;
    34 	EGLImageKHR			iEGLImageShared;
    35 	};
    36 
    37 
    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
    40 	{
    41 public:
    42 	TVerdict doTestStepL();
    43 protected:
    44 	// from CEglTestStep
    45 	void doThreadFunctionL(TInt aIdx);
    46 	};
    47 
    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
    50 	{
    51 public:
    52 	TVerdict doTestStepL();
    53 protected:
    54 	// from CEglTestStep
    55 	void doThreadFunctionL(TInt aIdx);
    56 	};
    57 
    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
    60 	{
    61 public:
    62 	TVerdict doTestStepL();
    63 protected:
    64 	// from CEglTestStep
    65 	void doThreadFunctionL(TInt aIdx);
    66 	};
    67 
    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
    70 	{
    71 public:
    72 	TVerdict doTestStepL();
    73 protected:
    74 	// from CEglTestStep
    75 	void doThreadFunctionL(TInt aIdx);
    76 	};
    77 
    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
    80 	{
    81 public:
    82 	TVerdict doTestStepL();
    83 protected:
    84 	// from CEglTestStep
    85 	void doThreadFunctionL(TInt aIdx);
    86 	};
    87 
    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
    90 	{
    91 public:
    92 	TVerdict doTestStepL();
    93 protected:
    94 	// from CEglTestStep
    95 	void doThreadFunctionL(TInt aIdx);
    96 	};
    97 
    98 #endif