sl@0: // Copyright (c) 2009 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: @file sl@0: @test sl@0: @internalTechnology sl@0: */ sl@0: #ifndef TGRAPHICSRESOURCEINTERNALEXTENSIONS_H_ sl@0: #define TGRAPHICSRESOURCEINTERNALEXTENSIONS_H_ sl@0: sl@0: #include sl@0: sl@0: /** sl@0: Copy of the test extension from the reference Graphics Resource implementation. sl@0: This has been copied to remove the dependency of the tests upon the reference sl@0: implementation. sl@0: */ sl@0: class MSgDriver_Test sl@0: { sl@0: public: sl@0: enum { EInterfaceUid = 0x102872C8 }; sl@0: public: sl@0: virtual void AllocMarkStart() = 0; sl@0: virtual void AllocMarkEnd(TInt aCount) = 0; sl@0: virtual void SetAllocFail(RAllocator::TAllocFail aFail, TInt aRate) = 0; sl@0: }; sl@0: sl@0: /** sl@0: Copy of the profiling extension from the reference Graphics Resource implementation. sl@0: This has been copied to remove the dependency of the tests upon the reference sl@0: implementation. sl@0: */ sl@0: class MSgDriver_Profiling sl@0: { sl@0: public: sl@0: enum { EInterfaceUid = 0x102872C9 }; sl@0: public: sl@0: virtual TInt LocalResourceCount() const = 0; sl@0: virtual TInt GlobalResourceCount() const = 0; sl@0: virtual TInt LocalGraphicsMemoryUsed() const = 0; sl@0: virtual TInt GlobalGraphicsMemoryUsed() const = 0; sl@0: }; sl@0: sl@0: #endif /* TGRAPHICSRESOURCEINTERNALEXTENSIONS_H_ */