⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ws-egltypes.h

📁 Lido PXA270平台开发板的最新BSP,包括源代码
💻 H
字号:
/* -*- c-file-style: "img" -*-
<module>
 * Name         : ws-egltypes.h
 * Title        : Khronos EGL Types.
 * Author       : Marcus Shawcroft
 * Created      : 4 Nov 2003
 *
 * Copyright    : 2003 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  : Type definitions exported by Khronos EGL.
 * 
 * Platform     : ALL
 *
</module>
 */

#ifndef _ws_egltypes_h_
#define _ws_egltypes_h_

#if defined(SUPPORT_XWS)

#include <X11/Xlib.h>

typedef Display* NativeDisplayType;
typedef Window NativeWindowType;
typedef Pixmap NativePixmapType;

#else
#if defined(SUPPORT_NULLWS)

typedef int	 NativeDisplayType;
typedef void  *NativeWindowType;
typedef void *NativePixmapType;

#else
#if defined(SUPPORT_WINCEWS)

#undef UNREFERENCED_PARAMETER
#include <windows.h>

typedef HDC NativeDisplayType;
typedef HWND NativeWindowType;
typedef void * NativePixmapType;

#else

#if defined(__SYMBIAN32__)

#include <e32def.h>

typedef TInt NativeDisplayType;

/* 
	Declare these as void although they points to classes - we can't
	include	a C++ header file as the EGL files are all written in C.
*/
#define NativeWindowType void* /* Is really an RWindow* */
#define NativePixmapType void* /* Is really a CFbsBitmap* */

#else
#error ("Unknown WS type")
#endif
#endif
#endif
#endif


/* May need to export on some platforms */
#define GLAPI_EXT


#endif /* _ws_egltypes_h_ */

⌨️ 快捷键说明

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