Update contrib.
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_BENCHMARK_SWAPBUFFERS_H
22 #define EGLTEST_BENCHMARK_SWAPBUFFERS_H
24 #include "eglteststep.h"
29 NONSHARABLE_CLASS(CEglTest_Benchmark_SwapBuffers) : public CEglTestStep
32 CEglTest_Benchmark_SwapBuffers();
33 virtual ~CEglTest_Benchmark_SwapBuffers();
37 virtual TVerdict doTestStepPreambleL();
38 virtual TVerdict doTestStepPostambleL();
39 virtual TVerdict doTestStepL();
41 void EglSwapBufferL();
42 void EglSwapBufferRegionL();
43 void EglSwapBufferRegionStressL(EGLint aCount);
47 RWindowGroup iWindowGroup;
50 EGLSurface iEglSurface;
51 EGLContext iEglContext;
52 CTProfiler* iProfiler;
55 PFNEGLSWAPBUFFERSREGIONNOKPROC iPfnEglSwapBuffersRegionNok;
58 // Testname, is used by the test server and the test scripts to identify the test
59 _LIT(KBenchmark_SwapBuffers, "Benchmark_SwapBuffers");