os/graphics/graphicsresourceservices/graphicsresourceimplementation/test/inc/tgraphicsresourceinternalextensions.h
Update contrib.
1 // Copyright (c) 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.
20 #ifndef TGRAPHICSRESOURCEINTERNALEXTENSIONS_H_
21 #define TGRAPHICSRESOURCEINTERNALEXTENSIONS_H_
26 Copy of the test extension from the reference Graphics Resource implementation.
27 This has been copied to remove the dependency of the tests upon the reference
33 enum { EInterfaceUid = 0x102872C8 };
35 virtual void AllocMarkStart() = 0;
36 virtual void AllocMarkEnd(TInt aCount) = 0;
37 virtual void SetAllocFail(RAllocator::TAllocFail aFail, TInt aRate) = 0;
41 Copy of the profiling extension from the reference Graphics Resource implementation.
42 This has been copied to remove the dependency of the tests upon the reference
45 class MSgDriver_Profiling
48 enum { EInterfaceUid = 0x102872C9 };
50 virtual TInt LocalResourceCount() const = 0;
51 virtual TInt GlobalResourceCount() const = 0;
52 virtual TInt LocalGraphicsMemoryUsed() const = 0;
53 virtual TInt GlobalGraphicsMemoryUsed() const = 0;
56 #endif /* TGRAPHICSRESOURCEINTERNALEXTENSIONS_H_ */