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