|
1 // Copyright (c) 2005-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". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 /** |
|
17 @file |
|
18 @test |
|
19 @internalComponent - Internal Symbian test code |
|
20 */ |
|
21 |
|
22 #ifndef __TFBSBITMAPHANDLEPERF_H__ |
|
23 #define __TFBSBITMAPHANDLEPERF_H__ |
|
24 |
|
25 #include "te_graphicsperformanceSuiteStepBase.h" |
|
26 #include <fbs.h> |
|
27 |
|
28 class CTFbsBitmapHandlePerf : public CTe_graphicsperformanceSuiteStepBase |
|
29 { |
|
30 public: |
|
31 CTFbsBitmapHandlePerf(); |
|
32 ~CTFbsBitmapHandlePerf(); |
|
33 |
|
34 private: |
|
35 void BitmapCreationL(const TSize aSizes[], TInt aMaxNumBitmaps, const TDisplayMode aDisplayMode); |
|
36 void BitmapCreationSimpleL(const TInt aWidth, const TInt aHeight, const TDisplayMode aDisplayMode, const TDesC& aTestDescription); |
|
37 void SmallBitmapCreationL(const TDisplayMode aDisplayMode, const TDesC& aTestDescription); |
|
38 void LargeBitmapCreationL(const TDisplayMode aDisplayMode, const TDesC& aTestDescription); |
|
39 void SmallBitmapCreationSimpleL(); |
|
40 void LargeBitmapCreationSimpleL(); |
|
41 void BitmapDuplicateL(); |
|
42 |
|
43 // From CTestStep |
|
44 virtual TVerdict doTestStepL(); |
|
45 |
|
46 private: |
|
47 RPointerArray<CFbsBitmap> iTestBitmaps; |
|
48 }; |
|
49 |
|
50 _LIT(KTFbsBitmapHandlePerfName,"tfbsbitmaphandleperf"); |
|
51 |
|
52 #endif |