ws_internal.h

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

H
86
字号
/**************************************************************************
 Name         : ws_internal.h
 Title        : Window Sytem Internal Header
 Author       : PowerVR
 Created      : December 2003

 Copyright    : 2003 by Imaginationc 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  : Window system internal header file

 Platform     : WinCE
 Version	  : $Revision: 1.16 $
 Modifications	: 
 $Log: ws_internal.h $
*******************************************************************************/

#ifndef _ws_internal_h_
#define _ws_internal_h_

#define GLES_COMMANDQUEUE_SIZE 1024

struct ws_native_dpy_tag
{
    GLESSysContext *psService_context;
    PVRSRV_PRIMARY_SURF *psPrimary_surface;
};


typedef struct WSRECT_tag
{
    IMG_INT32 i32Left;
    IMG_INT32 i32Top;
    IMG_INT32 i32Right;
    IMG_INT32 i32Bottom;

}WSRECT, *PWSRECT;

typedef struct REGION_tag 
{
	WSRECT sRect;
	struct REGION_tag *psNext;

}WSREGION, *PWSREGION;

typedef struct LISTITEM_tag
{
	IMG_UINT32 	ui32Item;
	struct LISTITEM_tag *psNext;
}LISTITEM, *PLISTITEM;



struct ws_native_window_tag
{
    PVRSRV_PRIMARY_SURF *psPrimary_surface;
	IMG_INT32 n32XPos;   
	IMG_INT32 n32YPos;   
	IMG_UINT32 ui32Width;   
	IMG_UINT32 ui32Height;   
	IMG_UINT32 WndProc;
	PVRSRV_MEM_INFO *apsSurfaces[3];
	IMG_UINT32	ui32NextDisplaySurface;
	IMG_UINT8	ui8BackBuffers;
	IMG_BOOL	bFlipping;
	IMG_BOOL	bLockToVsync;
	void * 		hShadowWnd;
	PWSREGION	psOverlappingRects;
	PWSREGION	psClippedBlits;
	WSRECT		sWindowRect;
	IMG_BOOL	bPosChanged;
	PLISTITEM   psOverlappedWindowList;
	IMG_UINT32  ui32RotationAngle;
	IMG_BOOL	bSecondaryExternalFullScreen;
};

#endif

⌨️ 快捷键说明

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