sl@0: // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // sl@0: sl@0: /** sl@0: @file sl@0: @test sl@0: */ sl@0: sl@0: #ifndef __EGLTEST_STRESS_PROCESS_SGIMAGE_H__ sl@0: #define __EGLTEST_STRESS_PROCESS_SGIMAGE_H__ sl@0: sl@0: #include "egltest_stress_common_sgimage.h" sl@0: sl@0: /** sl@0: Standard prototypes sl@0: */ sl@0: GLDEF_C TInt E32Main(void); sl@0: LOCAL_C void LaunchClientProcessL(); sl@0: sl@0: //Panic string sl@0: _LIT(KStressTestChildAppPanic, "Stress Test Child App"); sl@0: sl@0: class CTReadWriteChild : public CTReadWrite sl@0: { sl@0: public: sl@0: static CTReadWriteChild* NewL(VGImage aImage, TInt aWidth, TInt aHeight, TInt aByteSize, VGImageFormat aFormat, const TTestType& aTestType, TBool& aTestPass); sl@0: sl@0: private: sl@0: CTReadWriteChild(VGImage aImage, TInt aWidth, TInt aHeight, TInt aByteSize, VGImageFormat aFormat, const TTestType& aTestType, TBool& aTestPass); sl@0: void ReadImageFuncL(); sl@0: void ReadFuncL(); sl@0: void WriteImageFuncL(); sl@0: void VgImageFuncL(); sl@0: void MakeCurrentL() const; sl@0: TBool IsFinished(); sl@0: void PixmapSurfaceFuncL(); sl@0: sl@0: private: sl@0: VGImage iImage; sl@0: }; sl@0: sl@0: #endif //__EGLTEST_STRESS_PROCESS_SGIMAGE_H__