srvcalls.h

来自「Lido PXA270平台开发板的最新BSP,包括源代码」· C头文件 代码 · 共 52 行

H
52
字号
/******************************************************************************
<module>
* Name         : SRVCalls.h
* Title        : PVR Services wrappers
* Author(s)    : Imagination Technologies
* Created      : 2 March 2004
*
* Copyright    : 2004 by Imagination Technologies Limited.
*                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  : Wrappers for calls to services
*
* Platform     : Windows CE
*
</module>
 $Log: srvcalls.h $

********************************************************************************/
#ifndef _SRVCALLS_
#define _SRVCALLS_

PVRSRV_ERROR D3DMAcquireTAResources(LPD3DM_CONTEXT psContext, BOOL bPrePrim);
PVRSRV_ERROR D3DMReleaseTAResources(LPD3DM_CONTEXT psContext, BOOL bTerminate);
PVRSRV_ERROR D3DMConnectRenderTarget(LPD3DM_CONTEXT psContext,
									 LPD3DM_SURFACE psSurface,
									 DWORD			dwAAFlags,
									 DWORD			dwPBPages);
PVRSRV_ERROR D3DMDisconnectRenderTarget(LPD3DM_CONTEXT psContext, LPD3DM_SURFACE psSurface);
PVRSRV_ERROR D3DMAllocDeviceMem (PVRSRV_DEV_DATA	*psDevData,
								 IMG_UINT32			ui32Flags,
								 IMG_UINT32			ui32Size,
								 IMG_UINT32			ui32Alignment,
								 PVRSRV_MEM_INFO	**ppsMemInfo);
PVRSRV_ERROR D3DMFreeDeviceMem(PVRSRV_DEV_DATA *psDevData, PVRSRV_MEM_INFO *psMemInfo);
IMG_VOID D3DMFlushAllQueues(LPD3DM_CONTEXT psContext);

PVRSRV_ERROR D3DMAcquireProcessVerticesResources(LPD3DM_CONTEXT psContext, IMG_UINT32 uiDevAddr, IMG_UINT32 dwDestFVFFlags);
PVRSRV_ERROR D3DMReleaseProcessVerticesResources(LPD3DM_CONTEXT psContext);

#endif // _SRVCALLS_
/*****************************************************************************
 End of file (SRVCalls.h)
*****************************************************************************/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?