Update contrib.
1 // Copyright (c) 2008-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.
19 @internalComponent - Internal Symbian test code
22 #ifndef CTREDRAWSTOREPERF_H
23 #define CTREDRAWSTOREPERF_H
25 #include "te_graphicsperformanceSuiteStepBase.h"
28 enum TRedrawstoreTestCase
31 EFragmentStoreWithManyRects
34 class CTRedrawstorePerf : public CTe_graphicsperformanceSuiteStepBase
41 TVerdict doTestStepPreambleL();
42 TVerdict doTestStepL();
46 void CreateRWindowL();
47 void TestStoringL(const TDesC& aTestName, TRedrawstoreTestCase aTestCase);
48 void TestPlayingbackL(const TDesC& aTestName, TRedrawstoreTestCase aTestCase);
49 void TestStoringAndPlayingbackL(const TDesC& aTestName, TRedrawstoreTestCase aTestCase);
50 void PopulateRedrawStore();
51 void PopulateRedrawStoreWithManyRects();
53 void TestStoreWithFewRectsL();
54 void TestStoreWithManyRectsL();
55 void TestPlaybackWithFewRectsL();
56 void TestPlaybackWithManyRectsL();
57 void TestStoreAndPlaybackWithFewRectsL();
58 void TestStoreAndPlaybackWithManyRectsL();
62 RWindowGroup iWinGroup;
64 CWsScreenDevice* iScreenDevice;
68 _LIT(KTRedrawstorePerf,"tredrawstoreperf");
70 #endif // CTREDRAWSTOREPERF_H