📄 pvrsrvif.h
字号:
/***************************************************************************
* Name : pvrsrvif.h
* Title : UM services interface header
* Author(s) : Imagination Technologies
* Created : 7th April 2003
*
* Copyright : 2003 by Imagination Technologies. All rights reserved.
* : No part of this software, either material or conceptual
* : may be copied or distributed, transmitted, transcribed,
* : stored in a retrieval system or translated into any
* : human or computer language in any form by any means,
* : electronic, mechanical, manual or other-wise, or
* : disclosed to third parties without the express written
* : permission of Imagination Technologies Limited, Unit 8,
* : HomePark Industrial Estate, King's Langley, Hertfordshire,
* : WD4 8LZ, U.K.
*
* Description : UM services interface header.
*
* Platform : WinCE
*
* Modifications:-
* $Log: pvrsrvif.h $
*
*
****************************************************************************/
#pragma once
class SrvIFace
{
public:
// Function Protoyptes
virtual DWORD IFace_Init ()=0;
virtual DWORD PVRAllocFBMem (IMG_UINT32 ui32Flags, IMG_UINT32 ui32Size, IMG_UINT32 ui32Alignment, ALLOC_DEVICEMEMOUT *psMemAlloc)=0;
virtual DWORD PVRFreeFBMem (PMEM_INFO psMemInfo)=0;
virtual DWORD IFace_DeInit() =0;
};
class PVRSrvIFace : public SrvIFace
{
public:
DWORD IFace_Init ();
DWORD PVRAllocFBMem (IMG_UINT32 ui32Flags, IMG_UINT32 ui32Size, IMG_UINT32 ui32Alignment, ALLOC_DEVICEMEMOUT *psMemAlloc);
DWORD PVRFreeFBMem (PMEM_INFO psMemInfo);
DWORD IFace_DeInit();
GPEDisplayPipe *m_pclDisplay;
PPVRSRV_DEV_DATA m_psDevData;
};
DWORD APIENTRY GetIface(PVRSrvIFace **pcIface);
/********************************** end of file ******************************/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -