First public contribution.
1 // Copyright (c) 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_STRESS_PROCESS_SGIMAGE_H__
22 #define __EGLTEST_STRESS_PROCESS_SGIMAGE_H__
24 #include "egltest_stress_common_sgimage.h"
29 GLDEF_C TInt E32Main(void);
30 LOCAL_C void LaunchClientProcessL();
33 _LIT(KStressTestChildAppPanic, "Stress Test Child App");
35 class CTReadWriteChild : public CTReadWrite
38 static CTReadWriteChild* NewL(VGImage aImage, TInt aWidth, TInt aHeight, TInt aByteSize, VGImageFormat aFormat, const TTestType& aTestType, TBool& aTestPass);
41 CTReadWriteChild(VGImage aImage, TInt aWidth, TInt aHeight, TInt aByteSize, VGImageFormat aFormat, const TTestType& aTestType, TBool& aTestPass);
42 void ReadImageFuncL();
44 void WriteImageFuncL();
46 void MakeCurrentL() const;
48 void PixmapSurfaceFuncL();
54 #endif //__EGLTEST_STRESS_PROCESS_SGIMAGE_H__