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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
21 #ifndef __EGLTEST_NATIVEPIXMAPTYPE_H__
22 #define __EGLTEST_NATIVEPIXMAPTYPE_H__
24 #include "eglteststep.h"
26 // Concrete tests for testing use of eglSetNativePixmap()
30 _LIT(KNativePixmapType_SingleThread_Positive_RSgImage, "NativePixmapType_SingleThread_Positive_RSgImage");
31 NONSHARABLE_CLASS(CEglTest_NativePixmapType_SingleThread_Positive_RSgImage) : public CEglTestStep
34 TVerdict doTestStepL();
37 _LIT(KNativePixmapType_MultiThread_Positive_RSgImage_InitTwice, "NativePixmapType_MultiThread_Positive_RSgImage_InitTwice");
38 NONSHARABLE_CLASS(CEglTest_NativePixmapType_MultiThread_Positive_RSgImage_InitTwice) : public CEglTestStep
41 TVerdict doTestStepL();
44 void doThreadFunctionL(TInt aIdx);
47 _LIT(KNativePixmapType_MultiThread_Positive_RSgImage_InitTwice_NoRendezvous, "NativePixmapType_MultiThread_Positive_RSgImage_InitTwice_NoRendezvous");
48 NONSHARABLE_CLASS(CEglTest_NativePixmapType_MultiThread_Positive_RSgImage_InitTwice_NoRendezvous) : public CEglTestStep
51 TVerdict doTestStepL();
54 void doThreadFunctionL(TInt aIdx);
57 _LIT(KNativePixmapType_MultiThread_Positive_RSgImage_InitOneThreadOnly, "NativePixmapType_MultiThread_Positive_RSgImage_InitOneThreadOnly");
58 NONSHARABLE_CLASS(CEglTest_NativePixmapType_MultiThread_Positive_RSgImage_InitOneThreadOnly) : public CEglTestStep
61 TVerdict doTestStepL();
64 void doThreadFunctionL(TInt aIdx);
69 _LIT(KNativePixmapType_MultiProcess_Both_RSgImage, "NativePixmapType_MultiProcess_Both_RSgImage");
70 NONSHARABLE_CLASS(CEglTest_NativePixmapType_MultiProcess_Both_RSgImage) : public CEglTestStep
73 TVerdict doTestStepL();
76 void doProcessFunctionL(TInt aIdx);
79 _LIT(KChooseConfig_EGL_MATCH_NATIVE_PIXMAP_KHR, "ChooseConfig_EGL_MATCH_NATIVE_PIXMAP_KHR");
80 NONSHARABLE_CLASS(CEglTest_ChooseConfig_EGL_MATCH_NATIVE_PIXMAP_KHR) : public CEglTestStep
83 TVerdict doTestStepL();
84 TVerdict doTestPartialStepL();
86 TUint32 iSgImageSurfaceUsage;
89 _LIT(KCFbsBitmap_EGL_MATCH_NATIVE_PIXMAP_KHR, "CFbsBitmap_EGL_MATCH_NATIVE_PIXMAP_KHR");
90 NONSHARABLE_CLASS(CEglTest_CFbsBitmap_EGL_MATCH_NATIVE_PIXMAP_KHR) : public CEglTestStep
93 TVerdict doTestStepL();
94 TVerdict doTestPartialStepL();
97 #endif // __EGLTEST_SETNATIVEPIXMAPTYPE_H__