14f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#ifndef __eglext_h_ 24f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define __eglext_h_ 34f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com 44f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#ifdef __cplusplus 54f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.comextern "C" { 64f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#endif 74f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com 84f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com/* 98983cbc5a99003ff5b5e4b1cd02e73ab1b1cbd8edaniel@transgaming.com** Copyright (c) 2007-2012 The Khronos Group Inc. 104f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com** 114f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com** Permission is hereby granted, free of charge, to any person obtaining a 124f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com** copy of this software and/or associated documentation files (the 134f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com** "Materials"), to deal in the Materials without restriction, including 144f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com** without limitation the rights to use, copy, modify, merge, publish, 154f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com** distribute, sublicense, and/or sell copies of the Materials, and to 164f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com** permit persons to whom the Materials are furnished to do so, subject to 174f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com** the following conditions: 184f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com** 194f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com** The above copyright notice and this permission notice shall be included 204f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com** in all copies or substantial portions of the Materials. 214f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com** 224f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 234f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 244f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 254f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 264f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 274f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 284f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. 294f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com*/ 304f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com 314f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#include <EGL/eglplatform.h> 324f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com 334f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com/*************************************************************/ 344f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com 354f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com/* Header file version number */ 364f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com/* Current version at http://www.khronos.org/registry/egl/ */ 378983cbc5a99003ff5b5e4b1cd02e73ab1b1cbd8edaniel@transgaming.com/* $Revision: 16473 $ on $Date: 2012-01-04 02:20:48 -0800 (Wed, 04 Jan 2012) $ */ 388983cbc5a99003ff5b5e4b1cd02e73ab1b1cbd8edaniel@transgaming.com#define EGL_EGLEXT_VERSION 11 394f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com 404f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#ifndef EGL_KHR_config_attribs 414f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_KHR_config_attribs 1 424f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_CONFORMANT_KHR 0x3042 /* EGLConfig attribute */ 434f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_VG_COLORSPACE_LINEAR_BIT_KHR 0x0020 /* EGL_SURFACE_TYPE bitfield */ 444f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_VG_ALPHA_FORMAT_PRE_BIT_KHR 0x0040 /* EGL_SURFACE_TYPE bitfield */ 454f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#endif 464f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com 474f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#ifndef EGL_KHR_lock_surface 484f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_KHR_lock_surface 1 494f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_READ_SURFACE_BIT_KHR 0x0001 /* EGL_LOCK_USAGE_HINT_KHR bitfield */ 504f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_WRITE_SURFACE_BIT_KHR 0x0002 /* EGL_LOCK_USAGE_HINT_KHR bitfield */ 514f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_LOCK_SURFACE_BIT_KHR 0x0080 /* EGL_SURFACE_TYPE bitfield */ 524f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_OPTIMAL_FORMAT_BIT_KHR 0x0100 /* EGL_SURFACE_TYPE bitfield */ 534f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_MATCH_FORMAT_KHR 0x3043 /* EGLConfig attribute */ 544f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_FORMAT_RGB_565_EXACT_KHR 0x30C0 /* EGL_MATCH_FORMAT_KHR value */ 554f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_FORMAT_RGB_565_KHR 0x30C1 /* EGL_MATCH_FORMAT_KHR value */ 564f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_FORMAT_RGBA_8888_EXACT_KHR 0x30C2 /* EGL_MATCH_FORMAT_KHR value */ 574f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_FORMAT_RGBA_8888_KHR 0x30C3 /* EGL_MATCH_FORMAT_KHR value */ 584f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_MAP_PRESERVE_PIXELS_KHR 0x30C4 /* eglLockSurfaceKHR attribute */ 594f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_LOCK_USAGE_HINT_KHR 0x30C5 /* eglLockSurfaceKHR attribute */ 604f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_BITMAP_POINTER_KHR 0x30C6 /* eglQuerySurface attribute */ 614f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_BITMAP_PITCH_KHR 0x30C7 /* eglQuerySurface attribute */ 624f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_BITMAP_ORIGIN_KHR 0x30C8 /* eglQuerySurface attribute */ 634f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_BITMAP_PIXEL_RED_OFFSET_KHR 0x30C9 /* eglQuerySurface attribute */ 644f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_BITMAP_PIXEL_GREEN_OFFSET_KHR 0x30CA /* eglQuerySurface attribute */ 654f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_BITMAP_PIXEL_BLUE_OFFSET_KHR 0x30CB /* eglQuerySurface attribute */ 664f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_BITMAP_PIXEL_ALPHA_OFFSET_KHR 0x30CC /* eglQuerySurface attribute */ 674f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_BITMAP_PIXEL_LUMINANCE_OFFSET_KHR 0x30CD /* eglQuerySurface attribute */ 684f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_LOWER_LEFT_KHR 0x30CE /* EGL_BITMAP_ORIGIN_KHR value */ 694f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_UPPER_LEFT_KHR 0x30CF /* EGL_BITMAP_ORIGIN_KHR value */ 704f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#ifdef EGL_EGLEXT_PROTOTYPES 714f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.comEGLAPI EGLBoolean EGLAPIENTRY eglLockSurfaceKHR (EGLDisplay display, EGLSurface surface, const EGLint *attrib_list); 724f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.comEGLAPI EGLBoolean EGLAPIENTRY eglUnlockSurfaceKHR (EGLDisplay display, EGLSurface surface); 734f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#endif /* EGL_EGLEXT_PROTOTYPES */ 744f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.comtypedef EGLBoolean (EGLAPIENTRYP PFNEGLLOCKSURFACEKHRPROC) (EGLDisplay display, EGLSurface surface, const EGLint *attrib_list); 754f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.comtypedef EGLBoolean (EGLAPIENTRYP PFNEGLUNLOCKSURFACEKHRPROC) (EGLDisplay display, EGLSurface surface); 764f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#endif 774f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com 784f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#ifndef EGL_KHR_image 794f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_KHR_image 1 804f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_NATIVE_PIXMAP_KHR 0x30B0 /* eglCreateImageKHR target */ 814f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.comtypedef void *EGLImageKHR; 824f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_NO_IMAGE_KHR ((EGLImageKHR)0) 834f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#ifdef EGL_EGLEXT_PROTOTYPES 844f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.comEGLAPI EGLImageKHR EGLAPIENTRY eglCreateImageKHR (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list); 854f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.comEGLAPI EGLBoolean EGLAPIENTRY eglDestroyImageKHR (EGLDisplay dpy, EGLImageKHR image); 864f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#endif /* EGL_EGLEXT_PROTOTYPES */ 874f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.comtypedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEIMAGEKHRPROC) (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list); 884f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.comtypedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYIMAGEKHRPROC) (EGLDisplay dpy, EGLImageKHR image); 894f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#endif 904f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com 914f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#ifndef EGL_KHR_vg_parent_image 924f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_KHR_vg_parent_image 1 934f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_VG_PARENT_IMAGE_KHR 0x30BA /* eglCreateImageKHR target */ 944f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#endif 954f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com 964f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#ifndef EGL_KHR_gl_texture_2D_image 974f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_KHR_gl_texture_2D_image 1 984f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_GL_TEXTURE_2D_KHR 0x30B1 /* eglCreateImageKHR target */ 994f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_GL_TEXTURE_LEVEL_KHR 0x30BC /* eglCreateImageKHR attribute */ 1004f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#endif 1014f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com 1024f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#ifndef EGL_KHR_gl_texture_cubemap_image 1034f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_KHR_gl_texture_cubemap_image 1 1044f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X_KHR 0x30B3 /* eglCreateImageKHR target */ 1054f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X_KHR 0x30B4 /* eglCreateImageKHR target */ 1064f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y_KHR 0x30B5 /* eglCreateImageKHR target */ 1074f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_KHR 0x30B6 /* eglCreateImageKHR target */ 1084f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z_KHR 0x30B7 /* eglCreateImageKHR target */ 1094f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_KHR 0x30B8 /* eglCreateImageKHR target */ 1104f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#endif 1114f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com 1124f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#ifndef EGL_KHR_gl_texture_3D_image 1134f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_KHR_gl_texture_3D_image 1 1144f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_GL_TEXTURE_3D_KHR 0x30B2 /* eglCreateImageKHR target */ 1154f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_GL_TEXTURE_ZOFFSET_KHR 0x30BD /* eglCreateImageKHR attribute */ 1164f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#endif 1174f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com 1184f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#ifndef EGL_KHR_gl_renderbuffer_image 1194f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_KHR_gl_renderbuffer_image 1 1204f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_GL_RENDERBUFFER_KHR 0x30B9 /* eglCreateImageKHR target */ 1214f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#endif 1224f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com 1238518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#if KHRONOS_SUPPORT_INT64 /* EGLTimeKHR requires 64-bit uint support */ 124fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#ifndef EGL_KHR_reusable_sync 125fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#define EGL_KHR_reusable_sync 1 126fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com 127fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.comtypedef void* EGLSyncKHR; 128fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.comtypedef khronos_utime_nanoseconds_t EGLTimeKHR; 129fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com 130fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#define EGL_SYNC_STATUS_KHR 0x30F1 131fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#define EGL_SIGNALED_KHR 0x30F2 132fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#define EGL_UNSIGNALED_KHR 0x30F3 133fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#define EGL_TIMEOUT_EXPIRED_KHR 0x30F5 134fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#define EGL_CONDITION_SATISFIED_KHR 0x30F6 135fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#define EGL_SYNC_TYPE_KHR 0x30F7 136fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#define EGL_SYNC_REUSABLE_KHR 0x30FA 137fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#define EGL_SYNC_FLUSH_COMMANDS_BIT_KHR 0x0001 /* eglClientWaitSyncKHR <flags> bitfield */ 138fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#define EGL_FOREVER_KHR 0xFFFFFFFFFFFFFFFFull 139fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#define EGL_NO_SYNC_KHR ((EGLSyncKHR)0) 140fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#ifdef EGL_EGLEXT_PROTOTYPES 141fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.comEGLAPI EGLSyncKHR EGLAPIENTRY eglCreateSyncKHR(EGLDisplay dpy, EGLenum type, const EGLint *attrib_list); 142fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.comEGLAPI EGLBoolean EGLAPIENTRY eglDestroySyncKHR(EGLDisplay dpy, EGLSyncKHR sync); 143fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.comEGLAPI EGLint EGLAPIENTRY eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout); 144fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.comEGLAPI EGLBoolean EGLAPIENTRY eglSignalSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode); 145fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.comEGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttribKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value); 146fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#endif /* EGL_EGLEXT_PROTOTYPES */ 147fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.comtypedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESYNCKHRPROC) (EGLDisplay dpy, EGLenum type, const EGLint *attrib_list); 148fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.comtypedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync); 149fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.comtypedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout); 150fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.comtypedef EGLBoolean (EGLAPIENTRYP PFNEGLSIGNALSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode); 151fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.comtypedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value); 152fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#endif 1538518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#endif 154fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com 1554f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#ifndef EGL_KHR_image_base 1564f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_KHR_image_base 1 1574f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com/* Most interfaces defined by EGL_KHR_image_pixmap above */ 1584f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_IMAGE_PRESERVED_KHR 0x30D2 /* eglCreateImageKHR attribute */ 1594f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#endif 1604f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com 1614f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#ifndef EGL_KHR_image_pixmap 1624f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#define EGL_KHR_image_pixmap 1 1634f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com/* Interfaces defined by EGL_KHR_image above */ 1644f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#endif 1654f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com 166fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#ifndef EGL_IMG_context_priority 167fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#define EGL_IMG_context_priority 1 168fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#define EGL_CONTEXT_PRIORITY_LEVEL_IMG 0x3100 169fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#define EGL_CONTEXT_PRIORITY_HIGH_IMG 0x3101 170fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#define EGL_CONTEXT_PRIORITY_MEDIUM_IMG 0x3102 171fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#define EGL_CONTEXT_PRIORITY_LOW_IMG 0x3103 172fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#endif 173fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com 1748518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#ifndef EGL_KHR_lock_surface2 1758518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#define EGL_KHR_lock_surface2 1 1768518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#define EGL_BITMAP_PIXEL_SIZE_KHR 0x3110 1778518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#endif 1788518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com 179fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#ifndef EGL_NV_coverage_sample 180fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#define EGL_NV_coverage_sample 1 1818983cbc5a99003ff5b5e4b1cd02e73ab1b1cbd8edaniel@transgaming.com#define EGL_COVERAGE_BUFFERS_NV 0x30E0 1828983cbc5a99003ff5b5e4b1cd02e73ab1b1cbd8edaniel@transgaming.com#define EGL_COVERAGE_SAMPLES_NV 0x30E1 183fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#endif 184fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com 185fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#ifndef EGL_NV_depth_nonlinear 186fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#define EGL_NV_depth_nonlinear 1 1878983cbc5a99003ff5b5e4b1cd02e73ab1b1cbd8edaniel@transgaming.com#define EGL_DEPTH_ENCODING_NV 0x30E2 188fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#define EGL_DEPTH_ENCODING_NONE_NV 0 1898983cbc5a99003ff5b5e4b1cd02e73ab1b1cbd8edaniel@transgaming.com#define EGL_DEPTH_ENCODING_NONLINEAR_NV 0x30E3 190fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#endif 191fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com 1928518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#if KHRONOS_SUPPORT_INT64 /* EGLTimeNV requires 64-bit uint support */ 193fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#ifndef EGL_NV_sync 194fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#define EGL_NV_sync 1 195fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#define EGL_SYNC_PRIOR_COMMANDS_COMPLETE_NV 0x30E6 196fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#define EGL_SYNC_STATUS_NV 0x30E7 197fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#define EGL_SIGNALED_NV 0x30E8 198fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#define EGL_UNSIGNALED_NV 0x30E9 199fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#define EGL_SYNC_FLUSH_COMMANDS_BIT_NV 0x0001 200fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#define EGL_FOREVER_NV 0xFFFFFFFFFFFFFFFFull 201fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#define EGL_ALREADY_SIGNALED_NV 0x30EA 202fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#define EGL_TIMEOUT_EXPIRED_NV 0x30EB 203fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#define EGL_CONDITION_SATISFIED_NV 0x30EC 204fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#define EGL_SYNC_TYPE_NV 0x30ED 205fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#define EGL_SYNC_CONDITION_NV 0x30EE 206fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#define EGL_SYNC_FENCE_NV 0x30EF 207fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#define EGL_NO_SYNC_NV ((EGLSyncNV)0) 208fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.comtypedef void* EGLSyncNV; 2098518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.comtypedef khronos_utime_nanoseconds_t EGLTimeNV; 210fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#ifdef EGL_EGLEXT_PROTOTYPES 211fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.comEGLSyncNV eglCreateFenceSyncNV (EGLDisplay dpy, EGLenum condition, const EGLint *attrib_list); 212fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.comEGLBoolean eglDestroySyncNV (EGLSyncNV sync); 213fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.comEGLBoolean eglFenceNV (EGLSyncNV sync); 214fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.comEGLint eglClientWaitSyncNV (EGLSyncNV sync, EGLint flags, EGLTimeNV timeout); 215fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.comEGLBoolean eglSignalSyncNV (EGLSyncNV sync, EGLenum mode); 216fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.comEGLBoolean eglGetSyncAttribNV (EGLSyncNV sync, EGLint attribute, EGLint *value); 217fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#endif /* EGL_EGLEXT_PROTOTYPES */ 218fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.comtypedef EGLSyncNV (EGLAPIENTRYP PFNEGLCREATEFENCESYNCNVPROC) (EGLDisplay dpy, EGLenum condition, const EGLint *attrib_list); 219fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.comtypedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSYNCNVPROC) (EGLSyncNV sync); 220fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.comtypedef EGLBoolean (EGLAPIENTRYP PFNEGLFENCENVPROC) (EGLSyncNV sync); 221fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.comtypedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCNVPROC) (EGLSyncNV sync, EGLint flags, EGLTimeNV timeout); 222fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.comtypedef EGLBoolean (EGLAPIENTRYP PFNEGLSIGNALSYNCNVPROC) (EGLSyncNV sync, EGLenum mode); 223fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.comtypedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBNVPROC) (EGLSyncNV sync, EGLint attribute, EGLint *value); 224fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com#endif 2258518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#endif 2268518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com 2278518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#if KHRONOS_SUPPORT_INT64 /* Dependent on EGL_KHR_reusable_sync which requires 64-bit uint support */ 2288518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#ifndef EGL_KHR_fence_sync 2298518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#define EGL_KHR_fence_sync 1 2308518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com/* Reuses most tokens and entry points from EGL_KHR_reusable_sync */ 2318518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#define EGL_SYNC_PRIOR_COMMANDS_COMPLETE_KHR 0x30F0 2328518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#define EGL_SYNC_CONDITION_KHR 0x30F8 2338518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#define EGL_SYNC_FENCE_KHR 0x30F9 2348518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#endif 2358518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#endif 2368518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com 2378518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#ifndef EGL_HI_clientpixmap 2388518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#define EGL_HI_clientpixmap 1 2398518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com 2408518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com/* Surface Attribute */ 2418518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#define EGL_CLIENT_PIXMAP_POINTER_HI 0x8F74 2428518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com/* 2438518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com * Structure representing a client pixmap 2448518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com * (pixmap's data is in client-space memory). 2458518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com */ 2468518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.comstruct EGLClientPixmapHI 2478518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com{ 2488518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com void* pData; 2498518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com EGLint iWidth; 2508518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com EGLint iHeight; 2518518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com EGLint iStride; 2528518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com}; 2538518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com 2548518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#ifdef EGL_EGLEXT_PROTOTYPES 2558518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.comEGLAPI EGLSurface EGLAPIENTRY eglCreatePixmapSurfaceHI(EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI* pixmap); 2568518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#endif /* EGL_EGLEXT_PROTOTYPES */ 2578518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.comtypedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPIXMAPSURFACEHIPROC) (EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI* pixmap); 2588518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#endif /* EGL_HI_clientpixmap */ 2598518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com 2608518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#ifndef EGL_HI_colorformats 2618518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#define EGL_HI_colorformats 1 2628518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com/* Config Attribute */ 2638518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#define EGL_COLOR_FORMAT_HI 0x8F70 2648518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com/* Color Formats */ 2658518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#define EGL_COLOR_RGB_HI 0x8F71 2668518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#define EGL_COLOR_RGBA_HI 0x8F72 2678518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#define EGL_COLOR_ARGB_HI 0x8F73 2688518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#endif /* EGL_HI_colorformats */ 2698518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com 2708518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#ifndef EGL_MESA_drm_image 2718518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#define EGL_MESA_drm_image 1 2728518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#define EGL_DRM_BUFFER_FORMAT_MESA 0x31D0 /* CreateDRMImageMESA attribute */ 2738518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#define EGL_DRM_BUFFER_USE_MESA 0x31D1 /* CreateDRMImageMESA attribute */ 2748518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#define EGL_DRM_BUFFER_FORMAT_ARGB32_MESA 0x31D2 /* EGL_IMAGE_FORMAT_MESA attribute value */ 2758518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#define EGL_DRM_BUFFER_MESA 0x31D3 /* eglCreateImageKHR target */ 2768518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#define EGL_DRM_BUFFER_STRIDE_MESA 0x31D4 2778518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#define EGL_DRM_BUFFER_USE_SCANOUT_MESA 0x00000001 /* EGL_DRM_BUFFER_USE_MESA bits */ 2788518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#define EGL_DRM_BUFFER_USE_SHARE_MESA 0x00000002 /* EGL_DRM_BUFFER_USE_MESA bits */ 2798518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#ifdef EGL_EGLEXT_PROTOTYPES 2808518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.comEGLAPI EGLImageKHR EGLAPIENTRY eglCreateDRMImageMESA (EGLDisplay dpy, const EGLint *attrib_list); 2818518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.comEGLAPI EGLBoolean EGLAPIENTRY eglExportDRMImageMESA (EGLDisplay dpy, EGLImageKHR image, EGLint *name, EGLint *handle, EGLint *stride); 2828518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#endif /* EGL_EGLEXT_PROTOTYPES */ 2838518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.comtypedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEDRMIMAGEMESAPROC) (EGLDisplay dpy, const EGLint *attrib_list); 2848518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.comtypedef EGLBoolean (EGLAPIENTRYP PFNEGLEXPORTDRMIMAGEMESAPROC) (EGLDisplay dpy, EGLImageKHR image, EGLint *name, EGLint *handle, EGLint *stride); 2858518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#endif 2868518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com 2878518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#ifndef EGL_NV_post_sub_buffer 2888518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#define EGL_NV_post_sub_buffer 1 2898518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#define EGL_POST_SUB_BUFFER_SUPPORTED_NV 0x30BE 2908518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#ifdef EGL_EGLEXT_PROTOTYPES 2918518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.comEGLAPI EGLBoolean EGLAPIENTRY eglPostSubBufferNV (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height); 2928518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#endif /* EGL_EGLEXT_PROTOTYPES */ 2938518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.comtypedef EGLBoolean (EGLAPIENTRYP PFNEGLPOSTSUBBUFFERNVPROC) (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height); 2948518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#endif 295fe110ab75414bd085c4f5f6579f4a0dea3728712daniel@transgaming.com 296721b7f267502e01728d1676cd69765ba28c68dc3vladimirv@gmail.com#ifndef EGL_ANGLE_query_surface_pointer 297721b7f267502e01728d1676cd69765ba28c68dc3vladimirv@gmail.com#define EGL_ANGLE_query_surface_pointer 1 298721b7f267502e01728d1676cd69765ba28c68dc3vladimirv@gmail.com#ifdef EGL_EGLEXT_PROTOTYPES 299721b7f267502e01728d1676cd69765ba28c68dc3vladimirv@gmail.comEGLAPI EGLBoolean eglQuerySurfacePointerANGLE(EGLDisplay dpy, EGLSurface surface, EGLint attribute, void **value); 300721b7f267502e01728d1676cd69765ba28c68dc3vladimirv@gmail.com#endif 301721b7f267502e01728d1676cd69765ba28c68dc3vladimirv@gmail.comtypedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSURFACEPOINTERANGLEPROC) (EGLDisplay dpy, EGLSurface surface, EGLint attribute, void **value); 302721b7f267502e01728d1676cd69765ba28c68dc3vladimirv@gmail.com#endif 303721b7f267502e01728d1676cd69765ba28c68dc3vladimirv@gmail.com 30484d7cbc3b1cf664ef9340ad28755f2851f5040dcjbauman@chromium.org#ifndef EGL_ANGLE_software_display 3058518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#define EGL_ANGLE_software_display 1 30684d7cbc3b1cf664ef9340ad28755f2851f5040dcjbauman@chromium.org#define EGL_SOFTWARE_DISPLAY_ANGLE ((EGLNativeDisplayType)-1) 30784d7cbc3b1cf664ef9340ad28755f2851f5040dcjbauman@chromium.org#endif 30884d7cbc3b1cf664ef9340ad28755f2851f5040dcjbauman@chromium.org 30986cfba18f4da4398e0b6adea35c757eac76a3edfshannonwoods@chromium.org#ifndef EGL_ANGLE_direct3d_display 31086cfba18f4da4398e0b6adea35c757eac76a3edfshannonwoods@chromium.org#define EGL_ANGLE_direct3d_display 1 31186cfba18f4da4398e0b6adea35c757eac76a3edfshannonwoods@chromium.org#define EGL_D3D11_ELSE_D3D9_DISPLAY_ANGLE ((EGLNativeDisplayType)-2) 31286cfba18f4da4398e0b6adea35c757eac76a3edfshannonwoods@chromium.org#define EGL_D3D11_ONLY_DISPLAY_ANGLE ((EGLNativeDisplayType)-3) 31386cfba18f4da4398e0b6adea35c757eac76a3edfshannonwoods@chromium.org#endif 31486cfba18f4da4398e0b6adea35c757eac76a3edfshannonwoods@chromium.org 3158983cbc5a99003ff5b5e4b1cd02e73ab1b1cbd8edaniel@transgaming.com#ifndef EGL_ANGLE_surface_d3d_texture_2d_share_handle 3168983cbc5a99003ff5b5e4b1cd02e73ab1b1cbd8edaniel@transgaming.com#define EGL_ANGLE_surface_d3d_texture_2d_share_handle 1 3178983cbc5a99003ff5b5e4b1cd02e73ab1b1cbd8edaniel@transgaming.com#define EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE 0x3200 3188983cbc5a99003ff5b5e4b1cd02e73ab1b1cbd8edaniel@transgaming.com#endif 3198983cbc5a99003ff5b5e4b1cd02e73ab1b1cbd8edaniel@transgaming.com 3208518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#ifndef EGL_NV_coverage_sample_resolve 3218518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#define EGL_NV_coverage_sample_resolve 1 3228518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#define EGL_COVERAGE_SAMPLE_RESOLVE_NV 0x3131 3238518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#define EGL_COVERAGE_SAMPLE_RESOLVE_DEFAULT_NV 0x3132 3248518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#define EGL_COVERAGE_SAMPLE_RESOLVE_NONE_NV 0x3133 3258518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#endif 3268518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com 3278518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#if KHRONOS_SUPPORT_INT64 /* EGLTimeKHR requires 64-bit uint support */ 3288518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#ifndef EGL_NV_system_time 3298518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#define EGL_NV_system_time 1 3308518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com 3318518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.comtypedef khronos_utime_nanoseconds_t EGLuint64NV; 3328518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com 3338518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#ifdef EGL_EGLEXT_PROTOTYPES 3348518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.comEGLAPI EGLuint64NV EGLAPIENTRY eglGetSystemTimeFrequencyNV(void); 3358518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.comEGLAPI EGLuint64NV EGLAPIENTRY eglGetSystemTimeNV(void); 3368518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#endif /* EGL_EGLEXT_PROTOTYPES */ 3378518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.comtypedef EGLuint64NV (EGLAPIENTRYP PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC) (void); 3388518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.comtypedef EGLuint64NV (EGLAPIENTRYP PFNEGLGETSYSTEMTIMENVPROC) (void); 3398518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#endif 3408518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com#endif 3418518910d29c6442da0ec8b3068e1e5414a0c074ddaniel@transgaming.com 3428983cbc5a99003ff5b5e4b1cd02e73ab1b1cbd8edaniel@transgaming.com#ifndef EGL_EXT_create_context_robustness 3438983cbc5a99003ff5b5e4b1cd02e73ab1b1cbd8edaniel@transgaming.com#define EGL_EXT_create_context_robustness 1 3448983cbc5a99003ff5b5e4b1cd02e73ab1b1cbd8edaniel@transgaming.com#define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT 0x30BF 3458983cbc5a99003ff5b5e4b1cd02e73ab1b1cbd8edaniel@transgaming.com#define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_EXT 0x3138 3468983cbc5a99003ff5b5e4b1cd02e73ab1b1cbd8edaniel@transgaming.com#define EGL_NO_RESET_NOTIFICATION_EXT 0x31BE 3478983cbc5a99003ff5b5e4b1cd02e73ab1b1cbd8edaniel@transgaming.com#define EGL_LOSE_CONTEXT_ON_RESET_EXT 0x31BF 3488983cbc5a99003ff5b5e4b1cd02e73ab1b1cbd8edaniel@transgaming.com#endif 3498983cbc5a99003ff5b5e4b1cd02e73ab1b1cbd8edaniel@transgaming.com 3504f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#ifdef __cplusplus 3514f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com} 3524f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#endif 3534f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com 3544f39fd99568ce175f04b5ed72062bfed0fa41803daniel@transgaming.com#endif 355