• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/* WARNING: This is auto-generated file. Do not modify, since changes will
2 * be lost! Modify the generating script instead.
3 *
4 * Generated from Khronos EGL API description (egl.xml) revision 3338ed0db494d6a4db7f76627b38f0b1892db096.
5 */
6#define EGL_PBUFFER_BIT										0x0001
7#define EGL_PIXMAP_BIT										0x0002
8#define EGL_WINDOW_BIT										0x0004
9#define EGL_VG_COLORSPACE_LINEAR_BIT						0x0020
10#define EGL_VG_ALPHA_FORMAT_PRE_BIT							0x0040
11#define EGL_LOCK_SURFACE_BIT_KHR							0x0080
12#define EGL_OPTIMAL_FORMAT_BIT_KHR							0x0100
13#define EGL_MULTISAMPLE_RESOLVE_BOX_BIT						0x0200
14#define EGL_SWAP_BEHAVIOR_PRESERVED_BIT						0x0400
15#define EGL_MUTABLE_RENDER_BUFFER_BIT_KHR					0x1000
16#define EGL_OPENGL_ES_BIT									0x0001
17#define EGL_OPENVG_BIT										0x0002
18#define EGL_OPENGL_ES2_BIT									0x0004
19#define EGL_OPENGL_BIT										0x0008
20#define EGL_OPENGL_ES3_BIT									0x00000040
21#define EGL_OPENGL_ES3_BIT_KHR								0x00000040
22#define EGL_READ_SURFACE_BIT_KHR							0x0001
23#define EGL_WRITE_SURFACE_BIT_KHR							0x0002
24#define EGL_SYNC_FLUSH_COMMANDS_BIT							0x0001
25#define EGL_SYNC_FLUSH_COMMANDS_BIT_KHR						0x0001
26#define EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR					0x00000001
27#define EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR		0x00000002
28#define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR			0x00000004
29#define EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT					0x00000001
30#define EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR				0x00000001
31#define EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT		0x00000002
32#define EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR	0x00000002
33#define EGL_FALSE											0
34#define EGL_TRUE											1
35#define EGL_DONT_CARE										((EGLint)-1)
36#define EGL_UNKNOWN											((EGLint)-1)
37#define EGL_NO_CONTEXT										((EGLContext)0)
38#define EGL_NO_DISPLAY										((EGLDisplay)0)
39#define EGL_NO_IMAGE										((EGLImage)0)
40#define EGL_NO_IMAGE_KHR									((EGLImageKHR)0)
41#define EGL_DEFAULT_DISPLAY									((EGLNativeDisplayType)0)
42#define EGL_NO_SURFACE										((EGLSurface)0)
43#define EGL_NO_SYNC											((EGLSync)0)
44#define EGL_NO_SYNC_KHR										((EGLSyncKHR)0)
45#define EGL_DISPLAY_SCALING									10000
46#define EGL_FOREVER											0xFFFFFFFFFFFFFFFFull
47#define EGL_FOREVER_KHR										0xFFFFFFFFFFFFFFFFull
48#define EGL_SUCCESS											0x3000
49#define EGL_NOT_INITIALIZED									0x3001
50#define EGL_BAD_ACCESS										0x3002
51#define EGL_BAD_ALLOC										0x3003
52#define EGL_BAD_ATTRIBUTE									0x3004
53#define EGL_BAD_CONFIG										0x3005
54#define EGL_BAD_CONTEXT										0x3006
55#define EGL_BAD_CURRENT_SURFACE								0x3007
56#define EGL_BAD_DISPLAY										0x3008
57#define EGL_BAD_MATCH										0x3009
58#define EGL_BAD_NATIVE_PIXMAP								0x300A
59#define EGL_BAD_NATIVE_WINDOW								0x300B
60#define EGL_BAD_PARAMETER									0x300C
61#define EGL_BAD_SURFACE										0x300D
62#define EGL_CONTEXT_LOST									0x300E
63#define EGL_BUFFER_SIZE										0x3020
64#define EGL_ALPHA_SIZE										0x3021
65#define EGL_BLUE_SIZE										0x3022
66#define EGL_GREEN_SIZE										0x3023
67#define EGL_RED_SIZE										0x3024
68#define EGL_DEPTH_SIZE										0x3025
69#define EGL_STENCIL_SIZE									0x3026
70#define EGL_CONFIG_CAVEAT									0x3027
71#define EGL_CONFIG_ID										0x3028
72#define EGL_LEVEL											0x3029
73#define EGL_MAX_PBUFFER_HEIGHT								0x302A
74#define EGL_MAX_PBUFFER_PIXELS								0x302B
75#define EGL_MAX_PBUFFER_WIDTH								0x302C
76#define EGL_NATIVE_RENDERABLE								0x302D
77#define EGL_NATIVE_VISUAL_ID								0x302E
78#define EGL_NATIVE_VISUAL_TYPE								0x302F
79#define EGL_SAMPLES											0x3031
80#define EGL_SAMPLE_BUFFERS									0x3032
81#define EGL_SURFACE_TYPE									0x3033
82#define EGL_TRANSPARENT_TYPE								0x3034
83#define EGL_TRANSPARENT_BLUE_VALUE							0x3035
84#define EGL_TRANSPARENT_GREEN_VALUE							0x3036
85#define EGL_TRANSPARENT_RED_VALUE							0x3037
86#define EGL_NONE											0x3038
87#define EGL_BIND_TO_TEXTURE_RGB								0x3039
88#define EGL_BIND_TO_TEXTURE_RGBA							0x303A
89#define EGL_MIN_SWAP_INTERVAL								0x303B
90#define EGL_MAX_SWAP_INTERVAL								0x303C
91#define EGL_LUMINANCE_SIZE									0x303D
92#define EGL_ALPHA_MASK_SIZE									0x303E
93#define EGL_COLOR_BUFFER_TYPE								0x303F
94#define EGL_RENDERABLE_TYPE									0x3040
95#define EGL_MATCH_NATIVE_PIXMAP								0x3041
96#define EGL_CONFORMANT										0x3042
97#define EGL_MATCH_FORMAT_KHR								0x3043
98#define EGL_SLOW_CONFIG										0x3050
99#define EGL_NON_CONFORMANT_CONFIG							0x3051
100#define EGL_TRANSPARENT_RGB									0x3052
101#define EGL_VENDOR											0x3053
102#define EGL_VERSION											0x3054
103#define EGL_EXTENSIONS										0x3055
104#define EGL_HEIGHT											0x3056
105#define EGL_WIDTH											0x3057
106#define EGL_LARGEST_PBUFFER									0x3058
107#define EGL_DRAW											0x3059
108#define EGL_READ											0x305A
109#define EGL_CORE_NATIVE_ENGINE								0x305B
110#define EGL_NO_TEXTURE										0x305C
111#define EGL_TEXTURE_RGB										0x305D
112#define EGL_TEXTURE_RGBA									0x305E
113#define EGL_TEXTURE_2D										0x305F
114#define EGL_TEXTURE_FORMAT									0x3080
115#define EGL_TEXTURE_TARGET									0x3081
116#define EGL_MIPMAP_TEXTURE									0x3082
117#define EGL_MIPMAP_LEVEL									0x3083
118#define EGL_BACK_BUFFER										0x3084
119#define EGL_SINGLE_BUFFER									0x3085
120#define EGL_RENDER_BUFFER									0x3086
121#define EGL_COLORSPACE										0x3087
122#define EGL_VG_COLORSPACE									0x3087
123#define EGL_ALPHA_FORMAT									0x3088
124#define EGL_VG_ALPHA_FORMAT									0x3088
125#define EGL_COLORSPACE_sRGB									0x3089
126#define EGL_GL_COLORSPACE_SRGB								0x3089
127#define EGL_GL_COLORSPACE_SRGB_KHR							0x3089
128#define EGL_VG_COLORSPACE_sRGB								0x3089
129#define EGL_COLORSPACE_LINEAR								0x308A
130#define EGL_GL_COLORSPACE_LINEAR							0x308A
131#define EGL_GL_COLORSPACE_LINEAR_KHR						0x308A
132#define EGL_VG_COLORSPACE_LINEAR							0x308A
133#define EGL_ALPHA_FORMAT_NONPRE								0x308B
134#define EGL_VG_ALPHA_FORMAT_NONPRE							0x308B
135#define EGL_ALPHA_FORMAT_PRE								0x308C
136#define EGL_VG_ALPHA_FORMAT_PRE								0x308C
137#define EGL_CLIENT_APIS										0x308D
138#define EGL_RGB_BUFFER										0x308E
139#define EGL_LUMINANCE_BUFFER								0x308F
140#define EGL_HORIZONTAL_RESOLUTION							0x3090
141#define EGL_VERTICAL_RESOLUTION								0x3091
142#define EGL_PIXEL_ASPECT_RATIO								0x3092
143#define EGL_SWAP_BEHAVIOR									0x3093
144#define EGL_BUFFER_PRESERVED								0x3094
145#define EGL_BUFFER_DESTROYED								0x3095
146#define EGL_OPENVG_IMAGE									0x3096
147#define EGL_CONTEXT_CLIENT_TYPE								0x3097
148#define EGL_CONTEXT_CLIENT_VERSION							0x3098
149#define EGL_CONTEXT_MAJOR_VERSION							0x3098
150#define EGL_CONTEXT_MAJOR_VERSION_KHR						0x3098
151#define EGL_MULTISAMPLE_RESOLVE								0x3099
152#define EGL_MULTISAMPLE_RESOLVE_DEFAULT						0x309A
153#define EGL_MULTISAMPLE_RESOLVE_BOX							0x309B
154#define EGL_CL_EVENT_HANDLE									0x309C
155#define EGL_GL_COLORSPACE									0x309D
156#define EGL_GL_COLORSPACE_KHR								0x309D
157#define EGL_OPENGL_ES_API									0x30A0
158#define EGL_OPENVG_API										0x30A1
159#define EGL_OPENGL_API										0x30A2
160#define EGL_GL_TEXTURE_2D									0x30B1
161#define EGL_GL_TEXTURE_2D_KHR								0x30B1
162#define EGL_GL_TEXTURE_3D									0x30B2
163#define EGL_GL_TEXTURE_3D_KHR								0x30B2
164#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X					0x30B3
165#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X_KHR				0x30B3
166#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X					0x30B4
167#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X_KHR				0x30B4
168#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y					0x30B5
169#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y_KHR				0x30B5
170#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y					0x30B6
171#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_KHR				0x30B6
172#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z					0x30B7
173#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z_KHR				0x30B7
174#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z					0x30B8
175#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_KHR				0x30B8
176#define EGL_GL_RENDERBUFFER									0x30B9
177#define EGL_GL_RENDERBUFFER_KHR								0x30B9
178#define EGL_GL_TEXTURE_LEVEL								0x30BC
179#define EGL_GL_TEXTURE_LEVEL_KHR							0x30BC
180#define EGL_GL_TEXTURE_ZOFFSET								0x30BD
181#define EGL_GL_TEXTURE_ZOFFSET_KHR							0x30BD
182#define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT				0x30BF
183#define EGL_FORMAT_RGB_565_EXACT_KHR						0x30C0
184#define EGL_FORMAT_RGB_565_KHR								0x30C1
185#define EGL_FORMAT_RGBA_8888_EXACT_KHR						0x30C2
186#define EGL_FORMAT_RGBA_8888_KHR							0x30C3
187#define EGL_MAP_PRESERVE_PIXELS_KHR							0x30C4
188#define EGL_LOCK_USAGE_HINT_KHR								0x30C5
189#define EGL_BITMAP_POINTER_KHR								0x30C6
190#define EGL_BITMAP_PITCH_KHR								0x30C7
191#define EGL_BITMAP_ORIGIN_KHR								0x30C8
192#define EGL_BITMAP_PIXEL_RED_OFFSET_KHR						0x30C9
193#define EGL_BITMAP_PIXEL_GREEN_OFFSET_KHR					0x30CA
194#define EGL_BITMAP_PIXEL_BLUE_OFFSET_KHR					0x30CB
195#define EGL_BITMAP_PIXEL_ALPHA_OFFSET_KHR					0x30CC
196#define EGL_BITMAP_PIXEL_LUMINANCE_OFFSET_KHR				0x30CD
197#define EGL_LOWER_LEFT_KHR									0x30CE
198#define EGL_UPPER_LEFT_KHR									0x30CF
199#define EGL_IMAGE_PRESERVED									0x30D2
200#define EGL_IMAGE_PRESERVED_KHR								0x30D2
201#define EGL_SYNC_PRIOR_COMMANDS_COMPLETE					0x30F0
202#define EGL_SYNC_PRIOR_COMMANDS_COMPLETE_KHR				0x30F0
203#define EGL_SYNC_STATUS										0x30F1
204#define EGL_SYNC_STATUS_KHR									0x30F1
205#define EGL_SIGNALED										0x30F2
206#define EGL_SIGNALED_KHR									0x30F2
207#define EGL_UNSIGNALED										0x30F3
208#define EGL_UNSIGNALED_KHR									0x30F3
209#define EGL_TIMEOUT_EXPIRED									0x30F5
210#define EGL_TIMEOUT_EXPIRED_KHR								0x30F5
211#define EGL_CONDITION_SATISFIED								0x30F6
212#define EGL_CONDITION_SATISFIED_KHR							0x30F6
213#define EGL_SYNC_TYPE										0x30F7
214#define EGL_SYNC_TYPE_KHR									0x30F7
215#define EGL_SYNC_CONDITION									0x30F8
216#define EGL_SYNC_CONDITION_KHR								0x30F8
217#define EGL_SYNC_FENCE										0x30F9
218#define EGL_SYNC_FENCE_KHR									0x30F9
219#define EGL_SYNC_REUSABLE_KHR								0x30FA
220#define EGL_CONTEXT_MINOR_VERSION							0x30FB
221#define EGL_CONTEXT_MINOR_VERSION_KHR						0x30FB
222#define EGL_CONTEXT_FLAGS_KHR								0x30FC
223#define EGL_CONTEXT_OPENGL_PROFILE_MASK						0x30FD
224#define EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR					0x30FD
225#define EGL_SYNC_CL_EVENT									0x30FE
226#define EGL_SYNC_CL_EVENT_COMPLETE							0x30FF
227#define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_EXT	0x3138
228#define EGL_BUFFER_AGE_KHR									0x313D
229#define EGL_BUFFER_AGE_EXT									0x313D
230#define EGL_NATIVE_BUFFER_ANDROID							0x3140
231#define EGL_CONTEXT_OPENGL_DEBUG							0x31B0
232#define EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE				0x31B1
233#define EGL_CONTEXT_OPENGL_ROBUST_ACCESS					0x31B2
234#define EGL_CONTEXT_OPENGL_NO_ERROR_KHR						0x31B3
235#define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR	0x31BD
236#define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY		0x31BD
237#define EGL_NO_RESET_NOTIFICATION							0x31BE
238#define EGL_NO_RESET_NOTIFICATION_KHR						0x31BE
239#define EGL_NO_RESET_NOTIFICATION_EXT						0x31BE
240#define EGL_LOSE_CONTEXT_ON_RESET							0x31BF
241#define EGL_LOSE_CONTEXT_ON_RESET_KHR						0x31BF
242#define EGL_LOSE_CONTEXT_ON_RESET_EXT						0x31BF
243#define EGL_PLATFORM_X11_EXT								0x31D5
244#define EGL_PLATFORM_X11_SCREEN_EXT							0x31D6
245#define EGL_PLATFORM_WAYLAND_KHR							0x31D8
246#define EGL_YUV_BUFFER_EXT									0x3300
247#define EGL_YUV_ORDER_EXT									0x3301
248#define EGL_YUV_ORDER_YUV_EXT								0x3302
249#define EGL_YUV_ORDER_YVU_EXT								0x3303
250#define EGL_YUV_ORDER_YUYV_EXT								0x3304
251#define EGL_YUV_ORDER_UYVY_EXT								0x3305
252#define EGL_YUV_ORDER_YVYU_EXT								0x3306
253#define EGL_YUV_ORDER_VYUY_EXT								0x3307
254#define EGL_YUV_ORDER_AYUV_EXT								0x3308
255#define EGL_YUV_CSC_STANDARD_EXT							0x330A
256#define EGL_YUV_CSC_STANDARD_601_EXT						0x330B
257#define EGL_YUV_CSC_STANDARD_709_EXT						0x330C
258#define EGL_YUV_CSC_STANDARD_2020_EXT						0x330D
259#define EGL_YUV_NUMBER_OF_PLANES_EXT						0x3311
260#define EGL_YUV_SUBSAMPLE_EXT								0x3312
261#define EGL_YUV_SUBSAMPLE_4_2_0_EXT							0x3313
262#define EGL_YUV_SUBSAMPLE_4_2_2_EXT							0x3314
263#define EGL_YUV_SUBSAMPLE_4_4_4_EXT							0x3315
264#define EGL_YUV_DEPTH_RANGE_EXT								0x3317
265#define EGL_YUV_DEPTH_RANGE_LIMITED_EXT						0x3318
266#define EGL_YUV_DEPTH_RANGE_FULL_EXT						0x3319
267#define EGL_YUV_PLANE_BPP_EXT								0x331A
268#define EGL_YUV_PLANE_BPP_0_EXT								0x331B
269#define EGL_YUV_PLANE_BPP_8_EXT								0x331C
270#define EGL_YUV_PLANE_BPP_10_EXT							0x331D
271#define EGL_COLOR_COMPONENT_TYPE_EXT						0x3339
272#define EGL_COLOR_COMPONENT_TYPE_FIXED_EXT					0x333A
273#define EGL_COLOR_COMPONENT_TYPE_FLOAT_EXT					0x333B
274#define EGL_GL_COLORSPACE_BT2020_LINEAR_EXT					0x333F
275#define EGL_GL_COLORSPACE_BT2020_PQ_EXT						0x3340
276#define EGL_SMPTE2086_DISPLAY_PRIMARY_RX_EXT				0x3341
277#define EGL_SMPTE2086_DISPLAY_PRIMARY_RY_EXT				0x3342
278#define EGL_SMPTE2086_DISPLAY_PRIMARY_GX_EXT				0x3343
279#define EGL_SMPTE2086_DISPLAY_PRIMARY_GY_EXT				0x3344
280#define EGL_SMPTE2086_DISPLAY_PRIMARY_BX_EXT				0x3345
281#define EGL_SMPTE2086_DISPLAY_PRIMARY_BY_EXT				0x3346
282#define EGL_SMPTE2086_WHITE_POINT_X_EXT						0x3347
283#define EGL_SMPTE2086_WHITE_POINT_Y_EXT						0x3348
284#define EGL_SMPTE2086_MAX_LUMINANCE_EXT						0x3349
285#define EGL_SMPTE2086_MIN_LUMINANCE_EXT						0x334A
286#define EGL_METADATA_SCALING_EXT							50000
287#define EGL_GL_COLORSPACE_SCRGB_LINEAR_EXT					0x3350
288#define EGL_GL_COLORSPACE_SCRGB_EXT							0x3351
289#define EGL_CTA861_3_MAX_CONTENT_LIGHT_LEVEL_EXT			0x3360
290#define EGL_CTA861_3_MAX_FRAME_AVERAGE_LEVEL_EXT			0x3361
291#define EGL_GL_COLORSPACE_DISPLAY_P3_LINEAR_EXT				0x3362
292#define EGL_GL_COLORSPACE_DISPLAY_P3_EXT					0x3363
293#define EGL_GL_COLORSPACE_DISPLAY_P3_PASSTHROUGH_EXT		0x3490
294