|
1 // Copyright (c) 2002-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 #ifndef __TCOMPRESSED_H__ |
|
17 #define __TCOMPRESSED_H__ |
|
18 |
|
19 #include <fbs.h> |
|
20 #include "TFBS.H" |
|
21 #include "TGraphicsHarness.h" |
|
22 |
|
23 class CTCompressed : public CTGraphicsBase |
|
24 { |
|
25 public: |
|
26 CTCompressed(CTestStep* aStep); |
|
27 protected: |
|
28 //from CTGraphicsStep |
|
29 virtual void RunTestCaseL(TInt aCurTestCase); |
|
30 private: |
|
31 void BlankBitmap(CFbsBitmapEx& aBitmap); |
|
32 void RunTestL(); |
|
33 void DefectFix_EXT5DXGK6_L(); |
|
34 void DefectFix_INC082713_L(const TDisplayMode aDispMode, const TSize aBitmapSize); |
|
35 void TestBitBltL(CFbsBitmap& aBmp, TDisplayMode aDispMode); |
|
36 void INC088856_TestL(); |
|
37 void DoUpdateOnPadding(const TSize aSize, const TDisplayMode aDispMode); |
|
38 void TestDestroyBitmapWhileBeingBackgroundCompressedL(); |
|
39 static TInt BgCompThreadFunc(TAny* aArg); |
|
40 void TestBackgroundCompressionThreadPriorityInheritanceL(); |
|
41 static TInt CompressBgThreadFunc(TAny* aArg); |
|
42 }; |
|
43 |
|
44 class CTCompressedStep : public CTGraphicsStep |
|
45 { |
|
46 public: |
|
47 CTCompressedStep(); |
|
48 protected: |
|
49 //from CTGraphicsStep |
|
50 virtual CTGraphicsBase* CreateTestL(); |
|
51 }; |
|
52 |
|
53 _LIT(KTCompressedStep,"TCompressed"); |
|
54 |
|
55 |
|
56 |
|
57 |
|
58 #endif |