1 // 2 // Copyright 2017 The ANGLE Project Authors. All rights reserved. 3 // Use of this source code is governed by a BSD-style license that can be 4 // found in the LICENSE file. 5 // 6 // eglext_angle.h: ANGLE modifications to the eglext.h header file. 7 // Currently we don't include this file directly, we patch eglext.h 8 // to include it implicitly so it is visible throughout our code. 9 10 #ifndef INCLUDE_EGL_EGLEXT_ANGLE_ 11 #define INCLUDE_EGL_EGLEXT_ANGLE_ 12 13 // clang-format off 14 15 #ifndef EGL_ANGLE_robust_resource_initialization 16 #define EGL_ANGLE_robust_resource_initialization 1 17 #define EGL_ROBUST_RESOURCE_INITIALIZATION_ANGLE 0x3453 18 #endif /* EGL_ANGLE_robust_resource_initialization */ 19 20 #ifndef EGL_ANGLE_keyed_mutex 21 #define EGL_ANGLE_keyed_mutex 1 22 #define EGL_DXGI_KEYED_MUTEX_ANGLE 0x33A2 23 #endif /* EGL_ANGLE_keyed_mutex */ 24 25 #ifndef EGL_ANGLE_d3d_texture_client_buffer 26 #define EGL_ANGLE_d3d_texture_client_buffer 1 27 #define EGL_D3D_TEXTURE_ANGLE 0x33A3 28 #define EGL_TEXTURE_OFFSET_X_ANGLE 0x3490 29 #define EGL_TEXTURE_OFFSET_Y_ANGLE 0x3491 30 #define EGL_D3D11_TEXTURE_PLANE_ANGLE 0x3492 31 #define EGL_D3D11_TEXTURE_ARRAY_SLICE_ANGLE 0x3493 32 #endif /* EGL_ANGLE_d3d_texture_client_buffer */ 33 34 #ifndef EGL_ANGLE_software_display 35 #define EGL_ANGLE_software_display 1 36 #define EGL_SOFTWARE_DISPLAY_ANGLE ((EGLNativeDisplayType)-1) 37 #endif /* EGL_ANGLE_software_display */ 38 39 #ifndef EGL_ANGLE_direct3d_display 40 #define EGL_ANGLE_direct3d_display 1 41 #define EGL_D3D11_ELSE_D3D9_DISPLAY_ANGLE ((EGLNativeDisplayType)-2) 42 #define EGL_D3D11_ONLY_DISPLAY_ANGLE ((EGLNativeDisplayType)-3) 43 #endif /* EGL_ANGLE_direct3d_display */ 44 45 #ifndef EGL_ANGLE_direct_composition 46 #define EGL_ANGLE_direct_composition 1 47 #define EGL_DIRECT_COMPOSITION_ANGLE 0x33A5 48 #endif /* EGL_ANGLE_direct_composition */ 49 50 #ifndef EGL_ANGLE_platform_angle 51 #define EGL_ANGLE_platform_angle 1 52 #define EGL_PLATFORM_ANGLE_ANGLE 0x3202 53 #define EGL_PLATFORM_ANGLE_TYPE_ANGLE 0x3203 54 #define EGL_PLATFORM_ANGLE_MAX_VERSION_MAJOR_ANGLE 0x3204 55 #define EGL_PLATFORM_ANGLE_MAX_VERSION_MINOR_ANGLE 0x3205 56 #define EGL_PLATFORM_ANGLE_TYPE_DEFAULT_ANGLE 0x3206 57 #define EGL_PLATFORM_ANGLE_DEBUG_LAYERS_ENABLED_ANGLE 0x3451 58 #define EGL_PLATFORM_ANGLE_DEVICE_TYPE_ANGLE 0x3209 59 #define EGL_PLATFORM_ANGLE_DEVICE_TYPE_HARDWARE_ANGLE 0x320A 60 #define EGL_PLATFORM_ANGLE_DEVICE_TYPE_NULL_ANGLE 0x345E 61 #define EGL_PLATFORM_ANGLE_NATIVE_PLATFORM_TYPE_ANGLE 0x348F 62 #endif /* EGL_ANGLE_platform_angle */ 63 64 #ifndef EGL_ANGLE_platform_angle_d3d 65 #define EGL_ANGLE_platform_angle_d3d 1 66 #define EGL_PLATFORM_ANGLE_TYPE_D3D9_ANGLE 0x3207 67 #define EGL_PLATFORM_ANGLE_TYPE_D3D11_ANGLE 0x3208 68 #define EGL_PLATFORM_ANGLE_DEVICE_TYPE_D3D_WARP_ANGLE 0x320B 69 #define EGL_PLATFORM_ANGLE_DEVICE_TYPE_D3D_REFERENCE_ANGLE 0x320C 70 #define EGL_PLATFORM_ANGLE_ENABLE_AUTOMATIC_TRIM_ANGLE 0x320F 71 #endif /* EGL_ANGLE_platform_angle_d3d */ 72 73 #ifndef EGL_ANGLE_platform_angle_d3d_luid 74 #define EGL_ANGLE_platform_angle_d3d_luid 1 75 #define EGL_PLATFORM_ANGLE_D3D_LUID_HIGH_ANGLE 0x34A0 76 #define EGL_PLATFORM_ANGLE_D3D_LUID_LOW_ANGLE 0x34A1 77 #endif /* EGL_ANGLE_platform_angle_d3d_luid */ 78 79 #ifndef EGL_ANGLE_platform_angle_d3d11on12 80 #define EGL_ANGLE_platform_angle_d3d11on12 1 81 #define EGL_PLATFORM_ANGLE_D3D11ON12_ANGLE 0x3488 82 #endif /* EGL_ANGLE_platform_angle_d3d11on12 */ 83 84 #ifndef EGL_ANGLE_platform_angle_opengl 85 #define EGL_ANGLE_platform_angle_opengl 1 86 #define EGL_PLATFORM_ANGLE_TYPE_OPENGL_ANGLE 0x320D 87 #define EGL_PLATFORM_ANGLE_TYPE_OPENGLES_ANGLE 0x320E 88 #define EGL_PLATFORM_ANGLE_EGL_HANDLE_ANGLE 0x3480 89 #endif /* EGL_ANGLE_platform_angle_opengl */ 90 91 #ifndef EGL_ANGLE_platform_angle_null 92 #define EGL_ANGLE_platform_angle_null 1 93 #define EGL_PLATFORM_ANGLE_TYPE_NULL_ANGLE 0x33AE 94 #endif /* EGL_ANGLE_platform_angle_null */ 95 96 #ifndef EGL_ANGLE_platform_angle_vulkan 97 #define EGL_ANGLE_platform_angle_vulkan 1 98 #define EGL_PLATFORM_ANGLE_TYPE_VULKAN_ANGLE 0x3450 99 #define EGL_PLATFORM_VULKAN_DISPLAY_MODE_SIMPLE_ANGLE 0x34A4 100 #define EGL_PLATFORM_VULKAN_DISPLAY_MODE_HEADLESS_ANGLE 0x34A5 101 #endif /* EGL_ANGLE_platform_angle_vulkan */ 102 103 #ifndef EGL_ANGLE_platform_angle_metal 104 #define EGL_ANGLE_platform_angle_metal 1 105 #define EGL_PLATFORM_ANGLE_TYPE_METAL_ANGLE 0x3489 106 #endif /* EGL_ANGLE_platform_angle_metal */ 107 108 #ifndef EGL_ANGLE_platform_angle_device_type_swiftshader 109 #define EGL_ANGLE_platform_angle_device_type_swiftshader 110 #define EGL_PLATFORM_ANGLE_DEVICE_TYPE_SWIFTSHADER_ANGLE 0x3487 111 #endif /* EGL_ANGLE_platform_angle_device_type_swiftshader */ 112 113 #ifndef EGL_ANGLE_platform_angle_device_type_egl_angle 114 #define EGL_ANGLE_platform_angle_device_type_egl_angle 115 #define EGL_PLATFORM_ANGLE_DEVICE_TYPE_EGL_ANGLE 0x348E 116 #endif /* EGL_ANGLE_platform_angle_device_type_egl_angle */ 117 118 #ifndef EGL_ANGLE_context_virtualization 119 #define EGL_ANGLE_context_virtualization 1 120 #define EGL_CONTEXT_VIRTUALIZATION_GROUP_ANGLE 0x3481 121 #endif /* EGL_ANGLE_context_virtualization */ 122 123 #ifndef EGL_ANGLE_platform_angle_device_context_volatile_eagl 124 #define EGL_ANGLE_platform_angle_device_context_volatile_eagl 1 125 #define EGL_PLATFORM_ANGLE_DEVICE_CONTEXT_VOLATILE_EAGL_ANGLE 0x34A2 126 #endif /* EGL_ANGLE_platform_angle_device_context_volatile_eagl */ 127 128 #ifndef EGL_ANGLE_platform_angle_device_context_volatile_cgl 129 #define EGL_ANGLE_platform_angle_device_context_volatile_cgl 1 130 #define EGL_PLATFORM_ANGLE_DEVICE_CONTEXT_VOLATILE_CGL_ANGLE 0x34A3 131 #endif /* EGL_ANGLE_platform_angle_device_context_volatile_cgl */ 132 133 #ifndef EGL_ANGLE_x11_visual 134 #define EGL_ANGLE_x11_visual 135 #define EGL_X11_VISUAL_ID_ANGLE 0x33A3 136 #endif /* EGL_ANGLE_x11_visual */ 137 138 #ifndef EGL_ANGLE_surface_orientation 139 #define EGL_ANGLE_surface_orientation 140 #define EGL_OPTIMAL_SURFACE_ORIENTATION_ANGLE 0x33A7 141 #define EGL_SURFACE_ORIENTATION_ANGLE 0x33A8 142 #define EGL_SURFACE_ORIENTATION_INVERT_X_ANGLE 0x0001 143 #define EGL_SURFACE_ORIENTATION_INVERT_Y_ANGLE 0x0002 144 #endif /* EGL_ANGLE_surface_orientation */ 145 146 #ifndef EGL_ANGLE_experimental_present_path 147 #define EGL_ANGLE_experimental_present_path 148 #define EGL_EXPERIMENTAL_PRESENT_PATH_ANGLE 0x33A4 149 #define EGL_EXPERIMENTAL_PRESENT_PATH_FAST_ANGLE 0x33A9 150 #define EGL_EXPERIMENTAL_PRESENT_PATH_COPY_ANGLE 0x33AA 151 #endif /* EGL_ANGLE_experimental_present_path */ 152 153 #ifndef EGL_ANGLE_stream_producer_d3d_texture 154 #define EGL_ANGLE_stream_producer_d3d_texture 155 #define EGL_D3D_TEXTURE_SUBRESOURCE_ID_ANGLE 0x33AB 156 typedef EGLBoolean(EGLAPIENTRYP PFNEGLCREATESTREAMPRODUCERD3DTEXTUREANGLEPROC)(EGLDisplay dpy, EGLStreamKHR stream, const EGLAttrib *attrib_list); 157 typedef EGLBoolean(EGLAPIENTRYP PFNEGLSTREAMPOSTD3DTEXTUREANGLEPROC)(EGLDisplay dpy, EGLStreamKHR stream, void *texture, const EGLAttrib *attrib_list); 158 #ifdef EGL_EGLEXT_PROTOTYPES 159 EGLAPI EGLBoolean EGLAPIENTRY eglCreateStreamProducerD3DTextureANGLE(EGLDisplay dpy, EGLStreamKHR stream, const EGLAttrib *attrib_list); 160 EGLAPI EGLBoolean EGLAPIENTRY eglStreamPostD3DTextureANGLE(EGLDisplay dpy, EGLStreamKHR stream, void *texture, const EGLAttrib *attrib_list); 161 #endif 162 #endif /* EGL_ANGLE_stream_producer_d3d_texture */ 163 164 #ifndef EGL_ANGLE_create_context_webgl_compatibility 165 #define EGL_ANGLE_create_context_webgl_compatibility 1 166 #define EGL_CONTEXT_WEBGL_COMPATIBILITY_ANGLE 0x33AC 167 #endif /* EGL_ANGLE_create_context_webgl_compatibility */ 168 169 #ifndef EGL_ANGLE_display_texture_share_group 170 #define EGL_ANGLE_display_texture_share_group 1 171 #define EGL_DISPLAY_TEXTURE_SHARE_GROUP_ANGLE 0x33AF 172 #endif /* EGL_ANGLE_display_texture_share_group */ 173 174 #ifndef EGL_CHROMIUM_create_context_bind_generates_resource 175 #define EGL_CHROMIUM_create_context_bind_generates_resource 1 176 #define EGL_CONTEXT_BIND_GENERATES_RESOURCE_CHROMIUM 0x33AD 177 #endif /* EGL_CHROMIUM_create_context_bind_generates_resource */ 178 179 #ifndef EGL_ANGLE_create_context_client_arrays 180 #define EGL_ANGLE_create_context_client_arrays 1 181 #define EGL_CONTEXT_CLIENT_ARRAYS_ENABLED_ANGLE 0x3452 182 #endif /* EGL_ANGLE_create_context_client_arrays */ 183 184 #ifndef EGL_ANGLE_device_creation 185 #define EGL_ANGLE_device_creation 1 186 typedef EGLDeviceEXT(EGLAPIENTRYP PFNEGLCREATEDEVICEANGLEPROC) (EGLint device_type, void *native_device, const EGLAttrib *attrib_list); 187 typedef EGLBoolean(EGLAPIENTRYP PFNEGLRELEASEDEVICEANGLEPROC) (EGLDeviceEXT device); 188 #ifdef EGL_EGLEXT_PROTOTYPES 189 EGLAPI EGLDeviceEXT EGLAPIENTRY eglCreateDeviceANGLE(EGLint device_type, void *native_device, const EGLAttrib *attrib_list); 190 EGLAPI EGLBoolean EGLAPIENTRY eglReleaseDeviceANGLE(EGLDeviceEXT device); 191 #endif 192 #endif /* EGL_ANGLE_device_creation */ 193 194 #ifndef EGL_ANGLE_program_cache_control 195 #define EGL_ANGLE_program_cache_control 1 196 #define EGL_PROGRAM_CACHE_SIZE_ANGLE 0x3455 197 #define EGL_PROGRAM_CACHE_KEY_LENGTH_ANGLE 0x3456 198 #define EGL_PROGRAM_CACHE_RESIZE_ANGLE 0x3457 199 #define EGL_PROGRAM_CACHE_TRIM_ANGLE 0x3458 200 #define EGL_CONTEXT_PROGRAM_BINARY_CACHE_ENABLED_ANGLE 0x3459 201 typedef EGLint (EGLAPIENTRYP PFNEGLPROGRAMCACHEGETATTRIBANGLEPROC) (EGLDisplay dpy, EGLenum attrib); 202 typedef void (EGLAPIENTRYP PFNEGLPROGRAMCACHEQUERYANGLEPROC) (EGLDisplay dpy, EGLint index, void *key, EGLint *keysize, void *binary, EGLint *binarysize); 203 typedef void (EGLAPIENTRYP PFNEGLPROGRAMCACHEPOPULATEANGLEPROC) (EGLDisplay dpy, const void *key, EGLint keysize, const void *binary, EGLint binarysize); 204 typedef EGLint (EGLAPIENTRYP PFNEGLPROGRAMCACHERESIZEANGLEPROC) (EGLDisplay dpy, EGLint limit, EGLint mode); 205 #ifdef EGL_EGLEXT_PROTOTYPES 206 EGLAPI EGLint EGLAPIENTRY eglProgramCacheGetAttribANGLE(EGLDisplay dpy, EGLenum attrib); 207 EGLAPI void EGLAPIENTRY eglProgramCacheQueryANGLE(EGLDisplay dpy, EGLint index, void *key, EGLint *keysize, void *binary, EGLint *binarysize); 208 EGLAPI void EGLAPIENTRY eglProgramCachePopulateANGLE(EGLDisplay dpy, const void *key, EGLint keysize, const void *binary, EGLint binarysize); 209 EGLAPI EGLint EGLAPIENTRY eglProgramCacheResizeANGLE(EGLDisplay dpy, EGLint limit, EGLint mode); 210 #endif 211 #endif /* EGL_ANGLE_program_cache_control */ 212 213 #ifndef EGL_ANGLE_iosurface_client_buffer 214 #define EGL_ANGLE_iosurface_client_buffer 1 215 #define EGL_IOSURFACE_ANGLE 0x3454 216 #define EGL_IOSURFACE_PLANE_ANGLE 0x345A 217 #define EGL_TEXTURE_RECTANGLE_ANGLE 0x345B 218 #define EGL_TEXTURE_TYPE_ANGLE 0x345C 219 #define EGL_TEXTURE_INTERNAL_FORMAT_ANGLE 0x345D 220 #define EGL_IOSURFACE_USAGE_HINT_ANGLE 0x348A 221 #define EGL_IOSURFACE_READ_HINT_ANGLE 0x0001 222 #define EGL_IOSURFACE_WRITE_HINT_ANGLE 0x0002 223 #define EGL_BIND_TO_TEXTURE_TARGET_ANGLE 0x348D 224 #endif /* EGL_ANGLE_iosurface_client_buffer */ 225 226 #ifndef ANGLE_metal_texture_client_buffer 227 #define ANGLE_metal_texture_client_buffer 1 228 #define EGL_METAL_TEXTURE_ANGLE 0x34A7 229 #endif /* ANGLE_metal_texture_client_buffer */ 230 231 #ifndef EGL_ANGLE_create_context_extensions_enabled 232 #define EGL_ANGLE_create_context_extensions_enabled 1 233 #define EGL_EXTENSIONS_ENABLED_ANGLE 0x345F 234 #endif /* EGL_ANGLE_create_context_extensions_enabled */ 235 236 #ifndef EGL_CHROMIUM_sync_control 237 #define EGL_CHROMIUM_sync_control 1 238 typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCVALUESCHROMIUMPROC) (EGLDisplay dpy, 239 EGLSurface surface, 240 EGLuint64KHR *ust, 241 EGLuint64KHR *msc, 242 EGLuint64KHR *sbc); 243 #ifdef EGL_EGLEXT_PROTOTYPES 244 EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncValuesCHROMIUM(EGLDisplay dpy, 245 EGLSurface surface, 246 EGLuint64KHR *ust, 247 EGLuint64KHR *msc, 248 EGLuint64KHR *sbc); 249 #endif 250 #endif /* EGL_CHROMIUM_sync_control */ 251 252 #ifndef EGL_ANGLE_sync_control_rate 253 #define EGL_ANGLE_sync_control_rate 1 254 typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETMSCRATEANGLEPROC) (EGLDisplay dpy, 255 EGLSurface surface, 256 EGLint *numerator, 257 EGLint *denominator); 258 #ifdef EGL_EGLEXT_PROTOTYPES 259 EGLAPI EGLBoolean EGLAPIENTRY eglGetMscRateANGLE(EGLDisplay dpy, 260 EGLSurface surface, 261 EGLint *numerator, 262 EGLint *denominator); 263 #endif 264 #endif /* EGL_ANGLE_sync_control_rate */ 265 266 #ifndef EGL_ANGLE_power_preference 267 #define EGL_ANGLE_power_preference 1 268 #define EGL_POWER_PREFERENCE_ANGLE 0x3482 269 #define EGL_LOW_POWER_ANGLE 0x0001 270 #define EGL_HIGH_POWER_ANGLE 0x0002 271 typedef void(EGLAPIENTRYP PFNEGLRELEASEHIGHPOWERGPUANGLEPROC) (EGLDisplay dpy, EGLContext ctx); 272 typedef void(EGLAPIENTRYP PFNEGLREACQUIREHIGHPOWERGPUANGLEPROC) (EGLDisplay dpy, EGLContext ctx); 273 typedef void(EGLAPIENTRYP PFNEGLHANDLEGPUSWITCHANGLEPROC) (EGLDisplay dpy); 274 #ifdef EGL_EGLEXT_PROTOTYPES 275 EGLAPI void EGLAPIENTRY eglReleaseHighPowerGPUANGLE(EGLDisplay dpy, EGLContext ctx); 276 EGLAPI void EGLAPIENTRY eglReacquireHighPowerGPUANGLE(EGLDisplay dpy, EGLContext ctx); 277 EGLAPI void EGLAPIENTRY eglHandleGPUSwitchANGLE(EGLDisplay dpy); 278 #endif 279 #endif /* EGL_ANGLE_power_preference */ 280 281 #ifndef EGL_ANGLE_feature_control 282 #define EGL_ANGLE_feature_control 1 283 #define EGL_FEATURE_NAME_ANGLE 0x3460 284 #define EGL_FEATURE_CATEGORY_ANGLE 0x3461 285 #define EGL_FEATURE_DESCRIPTION_ANGLE 0x3462 286 #define EGL_FEATURE_BUG_ANGLE 0x3463 287 #define EGL_FEATURE_STATUS_ANGLE 0x3464 288 #define EGL_FEATURE_COUNT_ANGLE 0x3465 289 #define EGL_FEATURE_OVERRIDES_ENABLED_ANGLE 0x3466 290 #define EGL_FEATURE_OVERRIDES_DISABLED_ANGLE 0x3467 291 #define EGL_FEATURE_CONDITION_ANGLE 0x3468 292 #define EGL_FEATURE_ALL_DISABLED_ANGLE 0x3469 293 typedef const char *(EGLAPIENTRYP PFNEGLQUERYSTRINGIANGLEPROC) (EGLDisplay dpy, EGLint name, EGLint index); 294 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDISPLAYATTRIBANGLEPROC) (EGLDisplay dpy, EGLint attribute, EGLAttrib *value); 295 #ifdef EGL_EGLEXT_PROTOTYPES 296 EGLAPI const char *EGLAPIENTRY eglQueryStringiANGLE(EGLDisplay dpy, EGLint name, EGLint index); 297 EGLAPI EGLBoolean EGLAPIENTRY eglQueryDisplayAttribANGLE(EGLDisplay dpy, EGLint attribute, EGLAttrib *value); 298 #endif 299 #endif /* EGL_ANGLE_feature_control */ 300 301 #ifndef EGL_ANGLE_image_d3d11_texture 302 #define EGL_D3D11_TEXTURE_ANGLE 0x3484 303 #define EGL_TEXTURE_INTERNAL_FORMAT_ANGLE 0x345D 304 #endif /* EGL_ANGLE_image_d3d11_texture */ 305 306 #ifndef EGL_ANGLE_create_context_backwards_compatible 307 #define EGL_ANGLE_create_context_backwards_compatible 1 308 #define EGL_CONTEXT_OPENGL_BACKWARDS_COMPATIBLE_ANGLE 0x3483 309 #endif /* EGL_ANGLE_create_context_backwards_compatible */ 310 311 #ifndef EGL_ANGLE_device_cgl 312 #define EGL_ANGLE_device_cgl 1 313 #define EGL_CGL_CONTEXT_ANGLE 0x3485 314 #define EGL_CGL_PIXEL_FORMAT_ANGLE 0x3486 315 #endif 316 317 #ifndef EGL_ANGLE_ggp_stream_descriptor 318 #define EGL_ANGLE_ggp_stream_descriptor 1 319 #define EGL_GGP_STREAM_DESCRIPTOR_ANGLE 0x348B 320 #endif /* EGL_ANGLE_ggp_stream_descriptor */ 321 322 #ifndef EGL_ANGLE_swap_with_frame_token 323 #define EGL_ANGLE_swap_with_frame_token 1 324 typedef khronos_uint64_t EGLFrameTokenANGLE; 325 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHFRAMETOKENANGLEPROC)(EGLDisplay dpy, EGLSurface surface, EGLFrameTokenANGLE frametoken); 326 #ifdef EGL_EGLEXT_PROTOTYPES 327 EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersWithFrameTokenANGLE(EGLDisplay dpy, EGLSurface surface, EGLFrameTokenANGLE frametoken); 328 #endif 329 #endif /* EGL_ANGLE_swap_with_frame_token */ 330 331 #ifndef EGL_ANGLE_device_eagl 332 #define EGL_ANGLE_device_eagl 1 333 #define EGL_EAGL_CONTEXT_ANGLE 0x348C 334 #endif 335 336 #ifndef EGL_ANGLE_device_metal 337 #define EGL_ANGLE_device_metal 1 338 #define EGL_METAL_DEVICE_ANGLE 0x34A6 339 #endif /* EGL_ANGLE_device_metal */ 340 341 #ifndef EGL_ANGLE_display_semaphore_share_group 342 #define EGL_ANGLE_display_semaphore_share_group 1 343 #define EGL_DISPLAY_SEMAPHORE_SHARE_GROUP_ANGLE 0x348D 344 #endif /* EGL_ANGLE_display_semaphore_share_group */ 345 346 #ifndef EGL_ANGLE_external_context_and_surface 347 #define EGL_ANGLE_external_context_and_surface 1 348 #define EGL_EXTERNAL_CONTEXT_ANGLE 0x348E 349 #define EGL_EXTERNAL_SURFACE_ANGLE 0x348F 350 #define EGL_EXTERNAL_CONTEXT_SAVE_STATE_ANGLE 0x3490 351 #endif /* EGL_ANGLE_external_context_and_surface */ 352 353 #ifndef EGL_ANGLE_create_surface_swap_interval 354 #define EGL_ANGLE_create_surface_swap_interval 1 355 #define EGL_SWAP_INTERVAL_ANGLE 0x322F 356 #endif /* EGL_ANGLE_create_surface_swap_interval */ 357 358 #ifndef EGL_ANGLE_device_vulkan 359 #define EGL_ANGLE_device_vulkan 1 360 #define EGL_VULKAN_VERSION_ANGLE 0x34A8 361 #define EGL_VULKAN_INSTANCE_ANGLE 0x34A9 362 #define EGL_VULKAN_INSTANCE_EXTENSIONS_ANGLE 0x34AA 363 #define EGL_VULKAN_PHYSICAL_DEVICE_ANGLE 0x34AB 364 #define EGL_VULKAN_DEVICE_ANGLE 0x34AC 365 #define EGL_VULKAN_DEVICE_EXTENSIONS_ANGLE 0x34AD 366 #define EGL_VULKAN_FEATURES_ANGLE 0x34AE 367 #define EGL_VULKAN_QUEUE_ANGLE 0x34AF 368 #define EGL_VULKAN_QUEUE_FAMILIY_INDEX_ANGLE 0x34D0 369 #define EGL_VULKAN_GET_INSTANCE_PROC_ADDR 0x34D1 370 #endif /* EGL_ANGLE_device_vulkan */ 371 372 #ifndef EGL_ANGLE_vulkan_image 373 #define EGL_ANGLE_vulkan_image 374 typedef EGLBoolean (EGLAPIENTRYP PFNEGLEXPORTVKIMAGEANGLEPROC)(EGLDisplay dpy, EGLImage image, void* vk_image, void* vk_image_create_info); 375 #endif /* EGL_ANGLE_vulkan_image */ 376 377 // clang-format on 378 379 #endif // INCLUDE_EGL_EGLEXT_ANGLE_ 380