egl/egltest/endpointtestsuite/automated/inc/egltest_commscommon.h
changeset 136 62bb7c97884c
parent 98 bf7481649c98
equal deleted inserted replaced
121:d72fc2aace31 136:62bb7c97884c
    68     // Endpoint Lifetime test.
    68     // Endpoint Lifetime test.
    69     ETestUidEndpointLifetime,
    69     ETestUidEndpointLifetime,
    70 
    70 
    71     //Image Tearing Test.
    71     //Image Tearing Test.
    72     ETestUidEndpointTearing,
    72     ETestUidEndpointTearing,
       
    73     
       
    74     //Multithreaded stress tests.
       
    75     ETestUidEndpointThreadStress,
       
    76     
       
    77     //Release Image with Gles context tests.
       
    78     ETestUidEndpointReleaseImageGles,
       
    79     
       
    80     // vgThreading test.
       
    81     ETestUidVgThreading,
    73     };
    82     };
    74 
    83 
    75 
    84 
    76 //Each test should have a struct with data members to hold
    85 //Each test should have a struct with data members to hold
    77 //the test's parameters. The name name should begin
    86 //the test's parameters. The name name should begin
    89 struct TTestEndpointTearing
    98 struct TTestEndpointTearing
    90     {
    99     {
    91     TSurfaceId iSurfaceId;
   100     TSurfaceId iSurfaceId;
    92     };
   101     };
    93 
   102 
       
   103 struct TTestEndpointThreadStress
       
   104     {
       
   105     TInt iNumThreads;
       
   106     };
       
   107 
       
   108 struct TTestEndpointReleaseImageGles
       
   109     {
       
   110     TBool iUseValidGlesContext;
       
   111     };
       
   112 
    94 
   113 
    95 //Union for all of the structs that tests use to pass
   114 //Union for all of the structs that tests use to pass
    96 //params between the local side and the remote side.
   115 //params between the local side and the remote side.
    97 union TRemoteTestParams
   116 union TRemoteTestParams
    98     {
   117     {
    99     //Endpoint Api Exposure Test.
   118     //Endpoint Api Exposure Test.
   100     TTestEndpointApiExposure iTestEndpointApiExposure;
   119     TTestEndpointApiExposure iTestEndpointApiExposure;
   101 
   120 
   102     //Endpoint engine data.
   121     //Endpoint engine data.
   103     TTestEndpointEngine iEndpointEngine;
   122     TTestEndpointEngine iEndpointEngine;
       
   123     
       
   124     // Endpoint Engine configuration data.
       
   125     TTestEndpointEngineConfig iEndpointEngineConfig;
   104 
   126 
   105     //Image Tearing Test.
   127     //Image Tearing Test.
   106     TTestEndpointTearing iEndpointTearing;
   128     TTestEndpointTearing iEndpointTearing;
       
   129     
       
   130     //Multithreaded stress tests.
       
   131     TTestEndpointThreadStress iEndpointThreadStress;
       
   132     
       
   133     //Release Image with Gles context tests.
       
   134     TTestEndpointReleaseImageGles iEndpointReleaseImageGles;
   107     };
   135     };
   108 
   136 
   109 
   137 
   110 //Structure that is passed from local side to remote side
   138 //Structure that is passed from local side to remote side
   111 //in the async message queue. It contains the test Uid,
   139 //in the async message queue. It contains the test Uid,