guestrendering/vghwutils/inc/vghwutils.h
branchbug235_bringup_0
changeset 42 2865e884ac3b
parent 30 f204b762818d
equal deleted inserted replaced
41:2110890eb027 42:2865e884ac3b
   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);