sl@0: // Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // sl@0: sl@0: #ifndef __TCOMPRESSED_H__ sl@0: #define __TCOMPRESSED_H__ sl@0: sl@0: #include sl@0: #include "TFBS.H" sl@0: #include "test/TGraphicsHarness.h" sl@0: sl@0: class CTCompressed : public CTGraphicsBase sl@0: { sl@0: public: sl@0: CTCompressed(CTestStep* aStep); sl@0: protected: sl@0: //from CTGraphicsStep sl@0: virtual void RunTestCaseL(TInt aCurTestCase); sl@0: private: sl@0: void BlankBitmap(CFbsBitmapEx& aBitmap); sl@0: void RunTestL(); sl@0: void DefectFix_EXT5DXGK6_L(); sl@0: void DefectFix_INC082713_L(const TDisplayMode aDispMode, const TSize aBitmapSize); sl@0: void TestBitBltL(CFbsBitmap& aBmp, TDisplayMode aDispMode); sl@0: void INC088856_TestL(); sl@0: void DoUpdateOnPadding(const TSize aSize, const TDisplayMode aDispMode); sl@0: void TestDestroyBitmapWhileBeingBackgroundCompressedL(); sl@0: static TInt BgCompThreadFunc(TAny* aArg); sl@0: void TestBackgroundCompressionThreadPriorityInheritanceL(); sl@0: static TInt CompressBgThreadFunc(TAny* aArg); sl@0: }; sl@0: sl@0: class CTCompressedStep : public CTGraphicsStep sl@0: { sl@0: public: sl@0: CTCompressedStep(); sl@0: protected: sl@0: //from CTGraphicsStep sl@0: virtual CTGraphicsBase* CreateTestL(); sl@0: }; sl@0: sl@0: _LIT(KTCompressedStep,"TCompressed"); sl@0: sl@0: sl@0: sl@0: sl@0: #endif