📄 egltypes.h
字号:
#ifndef __egltypes_h_
#define __egltypes_h_
/*
** egltypes.h is platform dependent. It defines:
**
** - EGL types and resources
** - Native types
** - EGL and native handle values
**
** EGL types and resources are to be typedef'ed with appropriate platform
** dependent resource handle types. EGLint must be an integer of at least
** 32-bit.
**
** NativeDisplayType, NativeWindowType and NativePixmapType are to be
** replaced with corresponding types of the native window system in egl.h.
**
** EGL and native handle values must match their types.
**
** Example egltypes.h:
*/
/*
** Native Windowing Types
*/
#include <AEEBitmap.h>
#include <AEEComdef.h>
#include <AEEDisp.h>
#include <AEEStdlib.h>
typedef IDisplay* NativeDisplayType;
typedef IDIB* NativeWindowType;
typedef IDIB* NativePixmapType;
typedef int32 EGLBoolean;
typedef int32 EGLint;
/*
** Types and resources
*/
typedef void *EGLDisplay;
typedef void *EGLConfig;
typedef void *EGLSurface;
typedef void *EGLContext;
/*
** EGL and native handle values
*/
#define EGL_DEFAULT_DISPLAY ((NativeDisplayType)0)
#define EGL_NO_CONTEXT ((EGLContext)0)
#define EGL_NO_DISPLAY ((EGLDisplay)0)
#define EGL_NO_SURFACE ((EGLSurface)0)
#endif/*__egltypes_h_*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -