os/graphics/egl/egltest/endpointtestsuite/automated/tinc/egltest_endpoint_stressload.h
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/graphics/egl/egltest/endpointtestsuite/automated/tinc/egltest_endpoint_stressload.h Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,42 @@
1.4 +// This component and the accompanying materials are made available
1.5 +// under the terms of "Eclipse Public License v1.0"
1.6 +// which accompanies this distribution, and is available
1.7 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.8 +//
1.9 +// Initial Contributors:
1.10 +// Nokia Corporation - initial contribution.
1.11 +//
1.12 +// Contributors:
1.13 +//
1.14 +// Description:
1.15 +//
1.16 +
1.17 +/**
1.18 + @file
1.19 + @test
1.20 + @internalComponent - Internal Symbian test code
1.21 +*/
1.22 +
1.23 +#include "egltest_endpoint_stress_engine.h"
1.24 +#include "egltest_endpoint_engine.h"
1.25 +
1.26 +_LIT(KEGL_EndpointStressLoad, "EGL_EndpointStressLoad");
1.27 +
1.28 +
1.29 +NONSHARABLE_CLASS(CEglTest_TestStep_StressLoad): public CStressTestEngine
1.30 + {
1.31 +public:
1.32 + static CEglTest_TestStep_StressLoad *New();
1.33 +
1.34 +protected:
1.35 + TThreadFunction GetThreadFunction(TInt aThreadNumber);
1.36 +private:
1.37 + CEglTest_TestStep_StressLoad();
1.38 + static TInt LoadGpuProcessor(TAny *aSelf);
1.39 + void LoadGpuProcessorL();
1.40 + static TInt LoadGpuMemory(TAny *aSelf);
1.41 + void LoadGpuMemoryL();
1.42 +
1.43 +private:
1.44 + EGLDisplay iDisplay;
1.45 + };