graphicsresourceservices/graphicsresourceimplementation/inc/sgdriver_profiling.h
changeset 36 01a6848ebfd7
equal deleted inserted replaced
0:5d03bc08d59c 36:01a6848ebfd7
       
     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".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Graphics Resource - internal extension interface for profiling
       
    15 //
       
    16 
       
    17 #ifndef SGDRIVER_PROFILING_H
       
    18 #define SGDRIVER_PROFILING_H
       
    19 
       
    20 #include <e32def.h>
       
    21 
       
    22 class MSgDriver_Profiling
       
    23 	{
       
    24 public:
       
    25 	enum { EInterfaceUid = 0x102872C9 };
       
    26 public:
       
    27 	virtual TInt LocalResourceCount() const = 0;
       
    28 	virtual TInt GlobalResourceCount() const = 0;
       
    29 	virtual TInt LocalGraphicsMemoryUsed() const = 0;
       
    30 	virtual TInt GlobalGraphicsMemoryUsed() const = 0;
       
    31 	};
       
    32 
       
    33 #endif // SGDRIVER_PROFILING_H