os/graphics/egl/egltest/endpointtestsuite/automated/tinc/egltest_endpoint_stressload.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 // This component and the accompanying materials are made available
     2 // under the terms of "Eclipse Public License v1.0"
     3 // which accompanies this distribution, and is available
     4 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     5 //
     6 // Initial Contributors:
     7 // Nokia Corporation - initial contribution.
     8 //
     9 // Contributors:
    10 //
    11 // Description:
    12 //
    13 
    14 /**
    15  @file
    16  @test
    17  @internalComponent - Internal Symbian test code
    18 */
    19 
    20 #include "egltest_endpoint_stress_engine.h"
    21 #include "egltest_endpoint_engine.h"
    22 
    23 _LIT(KEGL_EndpointStressLoad, "EGL_EndpointStressLoad");
    24 
    25 
    26 NONSHARABLE_CLASS(CEglTest_TestStep_StressLoad): public CStressTestEngine
    27     {
    28 public:
    29     static CEglTest_TestStep_StressLoad *New();
    30 
    31 protected:
    32     TThreadFunction GetThreadFunction(TInt aThreadNumber);
    33 private:
    34     CEglTest_TestStep_StressLoad();
    35     static TInt LoadGpuProcessor(TAny *aSelf);
    36     void LoadGpuProcessorL();
    37     static TInt LoadGpuMemory(TAny *aSelf);
    38     void LoadGpuMemoryL();
    39 
    40 private:
    41     EGLDisplay iDisplay;
    42     };