guestrendering/vghwutils/inc/vghwutils.h
branchbug235_bringup_0
changeset 30 f204b762818d
parent 13 220791dae4c4
equal deleted inserted replaced
29:2fcf0803a8bd 30:f204b762818d
   128 	// open Driver connection, create Memory Heap, etc...
   128 	// open Driver connection, create Memory Heap, etc...
   129 	IMPORT_C static void InitStatics();
   129 	IMPORT_C static void InitStatics();
   130 	IMPORT_C static void DestroyStatics();
   130 	IMPORT_C static void DestroyStatics();
   131 
   131 
   132 	IMPORT_C static TInt MapToHWAddress(const TInt aChunkHandle, TUint32& aHWAddress);
   132 	IMPORT_C static TInt MapToHWAddress(const TInt aChunkHandle, TUint32& aHWAddress);
   133 	IMPORT_C static TInt GetFrameBufferBaseAddress(TUint32& aHWAddress);
   133 	IMPORT_C static TInt GetSurfaceBufferBaseAddress(TUint32& aHWAddress);
   134 	IMPORT_C static TInt EglGetSgHandles(const TUint64 aId, TUint64 *aSgHandles);
   134 	IMPORT_C static TInt EglGetSgHandles(const TUint64 aId, TUint64 *aSgHandles);
   135 
   135 
   136 	// VG Memory Pool APIs (One heap is created for the process, for use by all Simulator Graphics DLLs)
   136 	// VG Memory Pool APIs (One heap is created for the process, for use by all Simulator Graphics DLLs)
   137 	IMPORT_C static TAny* Alloc(TInt aSize); 
   137 	IMPORT_C static TAny* Alloc(TInt aSize); 
   138 	IMPORT_C static void Free(TAny* aPtr);
   138 	IMPORT_C static void Free(TAny* aPtr);