?? caps.h
字號:
/******************************************************************************
<module>
* Name : Caps.h
* Title : D3DM Caps definitons and function prototypes
* 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 : D3DM Caps definitons and function prototypes
*
* Platform : Windows CE
*
</module>
$Log: caps.h $
********************************************************************************/
#if !defined(_CAPS_H_)
#define _CAPS_H_
/*****************************************************************************
Custom format decriptor
*****************************************************************************/
typedef struct _PVR_DEVFORMAT_
{
D3DMDEVICEFORMAT sD3DDevFormat;
DWORD dwBpp;
BOOL bOpaque;
DWORD dwPVRHWFormat;
PVRSRV_PIXEL_FORMAT ePVRPixelFormat;
IMG_UINT32 ui32RMask;
IMG_UINT32 ui32GMask;
IMG_UINT32 ui32BMask;
IMG_UINT32 ui32AMask;
IMG_UINT32 ui32RShift;
IMG_UINT32 ui32GShift;
IMG_UINT32 ui32BShift;
IMG_UINT32 ui32AShift;
}PVR_DEVFORMAT, *LPPVR_DEVFORMAT;
/*****************************************************************************
Custom format conversion decriptor
*****************************************************************************/
#define STRETCH_RECT_DEST_CONV_FMT_COUNT 5
typedef struct _PVR_D3DMFORMATCONVERSION_
{
D3DMFORMAT SourceFormat;
ULONG DestCount;
D3DMFORMAT DestFormats[STRETCH_RECT_DEST_CONV_FMT_COUNT];
}PVR_D3DMFORMATCONVERSION, *LPPVR_D3DMFORMATCONVERSION;
/*****************************************************************************
Macros
*****************************************************************************/
/*
PowerVR proprietry 8x8 pixel-block-based 2bpp compressed format
*/
#define MBXFOURCC_PVRTC2 MAKEFOURCC('P', 'T', 'C', '2')
/*
PowerVR proprietry 8x8 pixel-block-based 4bpp compressed format
*/
#define MBXFOURCC_PVRTC4 MAKEFOURCC('P', 'T', 'C', '4')
/*****************************************************************************
Caps structures and counts
*****************************************************************************/
extern GUID sDriverHWGUID;
/* PVR Formats */
extern PVR_DEVFORMAT psPVR_Formats[];
/* Number of formats supported */
extern DWORD dwPVRNumSupportedFormats;
/* Multisample types */
extern D3DMMULTISAMPLE_TYPE psPVRSupportedMultiSample[];
/* Number of multisamples */
extern DWORD dwPVRNumSupportedMultiSample;
/* Supported Display modes */
extern D3DMDISPLAYMODE psPVRSupportedDisplayModes[];
/* Supported Display modes count*/
extern DWORD dwPVRNumSupportedDisplayModes;
/* Supported Profiles */
extern D3DMPROFILE psPVRSupportedProfiles[];
/* Supported Profiles Count*/
extern DWORD dwPVRNumSupportedProfiles;
/* D3DM Caps struct */
extern D3DMCAPS sPVRD3DMCaps;
/* Supported stretchrect coversion Formats count */
extern DWORD dwPVRNumSupportedFormatConversion;
/* Supported stretchrect coversion Formats */
extern PVR_D3DMFORMATCONVERSION psPVRSupportedFormatConversion[];
#endif /* #if !defined(_CAPS_H_) */
/*****************************************************************************
End of file (Caps.h)
*****************************************************************************/
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -