eglext.h 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337
  1. #ifndef __eglext_h_
  2. #define __eglext_h_
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. /*
  7. ** Copyright (c) 2007-2010 The Khronos Group Inc.
  8. **
  9. ** Permission is hereby granted, free of charge, to any person obtaining a
  10. ** copy of this software and/or associated documentation files (the
  11. ** "Materials"), to deal in the Materials without restriction, including
  12. ** without limitation the rights to use, copy, modify, merge, publish,
  13. ** distribute, sublicense, and/or sell copies of the Materials, and to
  14. ** permit persons to whom the Materials are furnished to do so, subject to
  15. ** the following conditions:
  16. **
  17. ** The above copyright notice and this permission notice shall be included
  18. ** in all copies or substantial portions of the Materials.
  19. **
  20. ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  21. ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  22. ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  23. ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
  24. ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  25. ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
  26. ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
  27. */
  28. #include <EGL/eglplatform.h>
  29. /*************************************************************/
  30. /* Header file version number */
  31. /* Current version at http://www.khronos.org/registry/egl/ */
  32. /* $Revision: 15052 $ on $Date: 2011-07-06 17:43:46 -0700 (Wed, 06 Jul 2011) $ */
  33. #define EGL_EGLEXT_VERSION 10
  34. #ifndef EGL_KHR_config_attribs
  35. #define EGL_KHR_config_attribs 1
  36. #define EGL_CONFORMANT_KHR 0x3042 /* EGLConfig attribute */
  37. #define EGL_VG_COLORSPACE_LINEAR_BIT_KHR 0x0020 /* EGL_SURFACE_TYPE bitfield */
  38. #define EGL_VG_ALPHA_FORMAT_PRE_BIT_KHR 0x0040 /* EGL_SURFACE_TYPE bitfield */
  39. #endif
  40. #ifndef EGL_KHR_lock_surface
  41. #define EGL_KHR_lock_surface 1
  42. #define EGL_READ_SURFACE_BIT_KHR 0x0001 /* EGL_LOCK_USAGE_HINT_KHR bitfield */
  43. #define EGL_WRITE_SURFACE_BIT_KHR 0x0002 /* EGL_LOCK_USAGE_HINT_KHR bitfield */
  44. #define EGL_LOCK_SURFACE_BIT_KHR 0x0080 /* EGL_SURFACE_TYPE bitfield */
  45. #define EGL_OPTIMAL_FORMAT_BIT_KHR 0x0100 /* EGL_SURFACE_TYPE bitfield */
  46. #define EGL_MATCH_FORMAT_KHR 0x3043 /* EGLConfig attribute */
  47. #define EGL_FORMAT_RGB_565_EXACT_KHR 0x30C0 /* EGL_MATCH_FORMAT_KHR value */
  48. #define EGL_FORMAT_RGB_565_KHR 0x30C1 /* EGL_MATCH_FORMAT_KHR value */
  49. #define EGL_FORMAT_RGBA_8888_EXACT_KHR 0x30C2 /* EGL_MATCH_FORMAT_KHR value */
  50. #define EGL_FORMAT_RGBA_8888_KHR 0x30C3 /* EGL_MATCH_FORMAT_KHR value */
  51. #define EGL_MAP_PRESERVE_PIXELS_KHR 0x30C4 /* eglLockSurfaceKHR attribute */
  52. #define EGL_LOCK_USAGE_HINT_KHR 0x30C5 /* eglLockSurfaceKHR attribute */
  53. #define EGL_BITMAP_POINTER_KHR 0x30C6 /* eglQuerySurface attribute */
  54. #define EGL_BITMAP_PITCH_KHR 0x30C7 /* eglQuerySurface attribute */
  55. #define EGL_BITMAP_ORIGIN_KHR 0x30C8 /* eglQuerySurface attribute */
  56. #define EGL_BITMAP_PIXEL_RED_OFFSET_KHR 0x30C9 /* eglQuerySurface attribute */
  57. #define EGL_BITMAP_PIXEL_GREEN_OFFSET_KHR 0x30CA /* eglQuerySurface attribute */
  58. #define EGL_BITMAP_PIXEL_BLUE_OFFSET_KHR 0x30CB /* eglQuerySurface attribute */
  59. #define EGL_BITMAP_PIXEL_ALPHA_OFFSET_KHR 0x30CC /* eglQuerySurface attribute */
  60. #define EGL_BITMAP_PIXEL_LUMINANCE_OFFSET_KHR 0x30CD /* eglQuerySurface attribute */
  61. #define EGL_LOWER_LEFT_KHR 0x30CE /* EGL_BITMAP_ORIGIN_KHR value */
  62. #define EGL_UPPER_LEFT_KHR 0x30CF /* EGL_BITMAP_ORIGIN_KHR value */
  63. #ifdef EGL_EGLEXT_PROTOTYPES
  64. EGLAPI EGLBoolean EGLAPIENTRY eglLockSurfaceKHR (EGLDisplay display, EGLSurface surface, const EGLint *attrib_list);
  65. EGLAPI EGLBoolean EGLAPIENTRY eglUnlockSurfaceKHR (EGLDisplay display, EGLSurface surface);
  66. #endif /* EGL_EGLEXT_PROTOTYPES */
  67. typedef EGLBoolean (EGLAPIENTRYP PFNEGLLOCKSURFACEKHRPROC) (EGLDisplay display, EGLSurface surface, const EGLint *attrib_list);
  68. typedef EGLBoolean (EGLAPIENTRYP PFNEGLUNLOCKSURFACEKHRPROC) (EGLDisplay display, EGLSurface surface);
  69. #endif
  70. #ifndef EGL_KHR_image
  71. #define EGL_KHR_image 1
  72. #define EGL_NATIVE_PIXMAP_KHR 0x30B0 /* eglCreateImageKHR target */
  73. typedef void *EGLImageKHR;
  74. #define EGL_NO_IMAGE_KHR ((EGLImageKHR)0)
  75. #ifdef EGL_EGLEXT_PROTOTYPES
  76. EGLAPI EGLImageKHR EGLAPIENTRY eglCreateImageKHR (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list);
  77. EGLAPI EGLBoolean EGLAPIENTRY eglDestroyImageKHR (EGLDisplay dpy, EGLImageKHR image);
  78. #endif /* EGL_EGLEXT_PROTOTYPES */
  79. typedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEIMAGEKHRPROC) (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list);
  80. typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYIMAGEKHRPROC) (EGLDisplay dpy, EGLImageKHR image);
  81. #endif
  82. #ifndef EGL_KHR_vg_parent_image
  83. #define EGL_KHR_vg_parent_image 1
  84. #define EGL_VG_PARENT_IMAGE_KHR 0x30BA /* eglCreateImageKHR target */
  85. #endif
  86. #ifndef EGL_KHR_gl_texture_2D_image
  87. #define EGL_KHR_gl_texture_2D_image 1
  88. #define EGL_GL_TEXTURE_2D_KHR 0x30B1 /* eglCreateImageKHR target */
  89. #define EGL_GL_TEXTURE_LEVEL_KHR 0x30BC /* eglCreateImageKHR attribute */
  90. #endif
  91. #ifndef EGL_KHR_gl_texture_cubemap_image
  92. #define EGL_KHR_gl_texture_cubemap_image 1
  93. #define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X_KHR 0x30B3 /* eglCreateImageKHR target */
  94. #define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X_KHR 0x30B4 /* eglCreateImageKHR target */
  95. #define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y_KHR 0x30B5 /* eglCreateImageKHR target */
  96. #define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_KHR 0x30B6 /* eglCreateImageKHR target */
  97. #define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z_KHR 0x30B7 /* eglCreateImageKHR target */
  98. #define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_KHR 0x30B8 /* eglCreateImageKHR target */
  99. #endif
  100. #ifndef EGL_KHR_gl_texture_3D_image
  101. #define EGL_KHR_gl_texture_3D_image 1
  102. #define EGL_GL_TEXTURE_3D_KHR 0x30B2 /* eglCreateImageKHR target */
  103. #define EGL_GL_TEXTURE_ZOFFSET_KHR 0x30BD /* eglCreateImageKHR attribute */
  104. #endif
  105. #ifndef EGL_KHR_gl_renderbuffer_image
  106. #define EGL_KHR_gl_renderbuffer_image 1
  107. #define EGL_GL_RENDERBUFFER_KHR 0x30B9 /* eglCreateImageKHR target */
  108. #endif
  109. #if KHRONOS_SUPPORT_INT64 /* EGLTimeKHR requires 64-bit uint support */
  110. #ifndef EGL_KHR_reusable_sync
  111. #define EGL_KHR_reusable_sync 1
  112. typedef void* EGLSyncKHR;
  113. typedef khronos_utime_nanoseconds_t EGLTimeKHR;
  114. #define EGL_SYNC_STATUS_KHR 0x30F1
  115. #define EGL_SIGNALED_KHR 0x30F2
  116. #define EGL_UNSIGNALED_KHR 0x30F3
  117. #define EGL_TIMEOUT_EXPIRED_KHR 0x30F5
  118. #define EGL_CONDITION_SATISFIED_KHR 0x30F6
  119. #define EGL_SYNC_TYPE_KHR 0x30F7
  120. #define EGL_SYNC_REUSABLE_KHR 0x30FA
  121. #define EGL_SYNC_FLUSH_COMMANDS_BIT_KHR 0x0001 /* eglClientWaitSyncKHR <flags> bitfield */
  122. #define EGL_FOREVER_KHR 0xFFFFFFFFFFFFFFFFull
  123. #define EGL_NO_SYNC_KHR ((EGLSyncKHR)0)
  124. #ifdef EGL_EGLEXT_PROTOTYPES
  125. EGLAPI EGLSyncKHR EGLAPIENTRY eglCreateSyncKHR(EGLDisplay dpy, EGLenum type, const EGLint *attrib_list);
  126. EGLAPI EGLBoolean EGLAPIENTRY eglDestroySyncKHR(EGLDisplay dpy, EGLSyncKHR sync);
  127. EGLAPI EGLint EGLAPIENTRY eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout);
  128. EGLAPI EGLBoolean EGLAPIENTRY eglSignalSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode);
  129. EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttribKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value);
  130. #endif /* EGL_EGLEXT_PROTOTYPES */
  131. typedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESYNCKHRPROC) (EGLDisplay dpy, EGLenum type, const EGLint *attrib_list);
  132. typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync);
  133. typedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout);
  134. typedef EGLBoolean (EGLAPIENTRYP PFNEGLSIGNALSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode);
  135. typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value);
  136. #endif
  137. #endif
  138. #ifndef EGL_KHR_image_base
  139. #define EGL_KHR_image_base 1
  140. /* Most interfaces defined by EGL_KHR_image_pixmap above */
  141. #define EGL_IMAGE_PRESERVED_KHR 0x30D2 /* eglCreateImageKHR attribute */
  142. #endif
  143. #ifndef EGL_KHR_image_pixmap
  144. #define EGL_KHR_image_pixmap 1
  145. /* Interfaces defined by EGL_KHR_image above */
  146. #endif
  147. #ifndef EGL_IMG_context_priority
  148. #define EGL_IMG_context_priority 1
  149. #define EGL_CONTEXT_PRIORITY_LEVEL_IMG 0x3100
  150. #define EGL_CONTEXT_PRIORITY_HIGH_IMG 0x3101
  151. #define EGL_CONTEXT_PRIORITY_MEDIUM_IMG 0x3102
  152. #define EGL_CONTEXT_PRIORITY_LOW_IMG 0x3103
  153. #endif
  154. #ifndef EGL_KHR_lock_surface2
  155. #define EGL_KHR_lock_surface2 1
  156. #define EGL_BITMAP_PIXEL_SIZE_KHR 0x3110
  157. #endif
  158. #ifndef EGL_NV_coverage_sample
  159. #define EGL_NV_coverage_sample 1
  160. #define EGL_COVERAGE_BUFFERS_NV 0x30E0
  161. #define EGL_COVERAGE_SAMPLES_NV 0x30E1
  162. #endif
  163. #ifndef EGL_NV_depth_nonlinear
  164. #define EGL_NV_depth_nonlinear 1
  165. #define EGL_DEPTH_ENCODING_NV 0x30E2
  166. #define EGL_DEPTH_ENCODING_NONE_NV 0
  167. #define EGL_DEPTH_ENCODING_NONLINEAR_NV 0x30E3
  168. #endif
  169. #if KHRONOS_SUPPORT_INT64 /* EGLTimeNV requires 64-bit uint support */
  170. #ifndef EGL_NV_sync
  171. #define EGL_NV_sync 1
  172. #define EGL_SYNC_PRIOR_COMMANDS_COMPLETE_NV 0x30E6
  173. #define EGL_SYNC_STATUS_NV 0x30E7
  174. #define EGL_SIGNALED_NV 0x30E8
  175. #define EGL_UNSIGNALED_NV 0x30E9
  176. #define EGL_SYNC_FLUSH_COMMANDS_BIT_NV 0x0001
  177. #define EGL_FOREVER_NV 0xFFFFFFFFFFFFFFFFull
  178. #define EGL_ALREADY_SIGNALED_NV 0x30EA
  179. #define EGL_TIMEOUT_EXPIRED_NV 0x30EB
  180. #define EGL_CONDITION_SATISFIED_NV 0x30EC
  181. #define EGL_SYNC_TYPE_NV 0x30ED
  182. #define EGL_SYNC_CONDITION_NV 0x30EE
  183. #define EGL_SYNC_FENCE_NV 0x30EF
  184. #define EGL_NO_SYNC_NV ((EGLSyncNV)0)
  185. typedef void* EGLSyncNV;
  186. typedef khronos_utime_nanoseconds_t EGLTimeNV;
  187. #ifdef EGL_EGLEXT_PROTOTYPES
  188. EGLSyncNV eglCreateFenceSyncNV (EGLDisplay dpy, EGLenum condition, const EGLint *attrib_list);
  189. EGLBoolean eglDestroySyncNV (EGLSyncNV sync);
  190. EGLBoolean eglFenceNV (EGLSyncNV sync);
  191. EGLint eglClientWaitSyncNV (EGLSyncNV sync, EGLint flags, EGLTimeNV timeout);
  192. EGLBoolean eglSignalSyncNV (EGLSyncNV sync, EGLenum mode);
  193. EGLBoolean eglGetSyncAttribNV (EGLSyncNV sync, EGLint attribute, EGLint *value);
  194. #endif /* EGL_EGLEXT_PROTOTYPES */
  195. typedef EGLSyncNV (EGLAPIENTRYP PFNEGLCREATEFENCESYNCNVPROC) (EGLDisplay dpy, EGLenum condition, const EGLint *attrib_list);
  196. typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSYNCNVPROC) (EGLSyncNV sync);
  197. typedef EGLBoolean (EGLAPIENTRYP PFNEGLFENCENVPROC) (EGLSyncNV sync);
  198. typedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCNVPROC) (EGLSyncNV sync, EGLint flags, EGLTimeNV timeout);
  199. typedef EGLBoolean (EGLAPIENTRYP PFNEGLSIGNALSYNCNVPROC) (EGLSyncNV sync, EGLenum mode);
  200. typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBNVPROC) (EGLSyncNV sync, EGLint attribute, EGLint *value);
  201. #endif
  202. #endif
  203. #if KHRONOS_SUPPORT_INT64 /* Dependent on EGL_KHR_reusable_sync which requires 64-bit uint support */
  204. #ifndef EGL_KHR_fence_sync
  205. #define EGL_KHR_fence_sync 1
  206. /* Reuses most tokens and entry points from EGL_KHR_reusable_sync */
  207. #define EGL_SYNC_PRIOR_COMMANDS_COMPLETE_KHR 0x30F0
  208. #define EGL_SYNC_CONDITION_KHR 0x30F8
  209. #define EGL_SYNC_FENCE_KHR 0x30F9
  210. #endif
  211. #endif
  212. #ifndef EGL_HI_clientpixmap
  213. #define EGL_HI_clientpixmap 1
  214. /* Surface Attribute */
  215. #define EGL_CLIENT_PIXMAP_POINTER_HI 0x8F74
  216. /*
  217. * Structure representing a client pixmap
  218. * (pixmap's data is in client-space memory).
  219. */
  220. struct EGLClientPixmapHI
  221. {
  222. void* pData;
  223. EGLint iWidth;
  224. EGLint iHeight;
  225. EGLint iStride;
  226. };
  227. #ifdef EGL_EGLEXT_PROTOTYPES
  228. EGLAPI EGLSurface EGLAPIENTRY eglCreatePixmapSurfaceHI(EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI* pixmap);
  229. #endif /* EGL_EGLEXT_PROTOTYPES */
  230. typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPIXMAPSURFACEHIPROC) (EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI* pixmap);
  231. #endif /* EGL_HI_clientpixmap */
  232. #ifndef EGL_HI_colorformats
  233. #define EGL_HI_colorformats 1
  234. /* Config Attribute */
  235. #define EGL_COLOR_FORMAT_HI 0x8F70
  236. /* Color Formats */
  237. #define EGL_COLOR_RGB_HI 0x8F71
  238. #define EGL_COLOR_RGBA_HI 0x8F72
  239. #define EGL_COLOR_ARGB_HI 0x8F73
  240. #endif /* EGL_HI_colorformats */
  241. #ifndef EGL_MESA_drm_image
  242. #define EGL_MESA_drm_image 1
  243. #define EGL_DRM_BUFFER_FORMAT_MESA 0x31D0 /* CreateDRMImageMESA attribute */
  244. #define EGL_DRM_BUFFER_USE_MESA 0x31D1 /* CreateDRMImageMESA attribute */
  245. #define EGL_DRM_BUFFER_FORMAT_ARGB32_MESA 0x31D2 /* EGL_IMAGE_FORMAT_MESA attribute value */
  246. #define EGL_DRM_BUFFER_MESA 0x31D3 /* eglCreateImageKHR target */
  247. #define EGL_DRM_BUFFER_STRIDE_MESA 0x31D4
  248. #define EGL_DRM_BUFFER_USE_SCANOUT_MESA 0x00000001 /* EGL_DRM_BUFFER_USE_MESA bits */
  249. #define EGL_DRM_BUFFER_USE_SHARE_MESA 0x00000002 /* EGL_DRM_BUFFER_USE_MESA bits */
  250. #ifdef EGL_EGLEXT_PROTOTYPES
  251. EGLAPI EGLImageKHR EGLAPIENTRY eglCreateDRMImageMESA (EGLDisplay dpy, const EGLint *attrib_list);
  252. EGLAPI EGLBoolean EGLAPIENTRY eglExportDRMImageMESA (EGLDisplay dpy, EGLImageKHR image, EGLint *name, EGLint *handle, EGLint *stride);
  253. #endif /* EGL_EGLEXT_PROTOTYPES */
  254. typedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEDRMIMAGEMESAPROC) (EGLDisplay dpy, const EGLint *attrib_list);
  255. typedef EGLBoolean (EGLAPIENTRYP PFNEGLEXPORTDRMIMAGEMESAPROC) (EGLDisplay dpy, EGLImageKHR image, EGLint *name, EGLint *handle, EGLint *stride);
  256. #endif
  257. #ifndef EGL_NV_post_sub_buffer
  258. #define EGL_NV_post_sub_buffer 1
  259. #define EGL_POST_SUB_BUFFER_SUPPORTED_NV 0x30BE
  260. #ifdef EGL_EGLEXT_PROTOTYPES
  261. EGLAPI EGLBoolean EGLAPIENTRY eglPostSubBufferNV (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height);
  262. #endif /* EGL_EGLEXT_PROTOTYPES */
  263. typedef EGLBoolean (EGLAPIENTRYP PFNEGLPOSTSUBBUFFERNVPROC) (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height);
  264. #endif
  265. #ifndef EGL_ANGLE_query_surface_pointer
  266. #define EGL_ANGLE_query_surface_pointer 1
  267. #ifdef EGL_EGLEXT_PROTOTYPES
  268. EGLAPI EGLBoolean eglQuerySurfacePointerANGLE(EGLDisplay dpy, EGLSurface surface, EGLint attribute, void **value);
  269. #endif
  270. typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSURFACEPOINTERANGLEPROC) (EGLDisplay dpy, EGLSurface surface, EGLint attribute, void **value);
  271. #endif
  272. #ifndef EGL_ANGLE_surface_d3d_texture_2d_share_handle
  273. #define EGL_ANGLE_surface_d3d_texture_2d_share_handle 1
  274. #define EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE 0x3200
  275. #endif
  276. #ifndef EGL_NV_coverage_sample_resolve
  277. #define EGL_NV_coverage_sample_resolve 1
  278. #define EGL_COVERAGE_SAMPLE_RESOLVE_NV 0x3131
  279. #define EGL_COVERAGE_SAMPLE_RESOLVE_DEFAULT_NV 0x3132
  280. #define EGL_COVERAGE_SAMPLE_RESOLVE_NONE_NV 0x3133
  281. #endif
  282. #if KHRONOS_SUPPORT_INT64 /* EGLTimeKHR requires 64-bit uint support */
  283. #ifndef EGL_NV_system_time
  284. #define EGL_NV_system_time 1
  285. typedef khronos_utime_nanoseconds_t EGLuint64NV;
  286. #ifdef EGL_EGLEXT_PROTOTYPES
  287. EGLAPI EGLuint64NV EGLAPIENTRY eglGetSystemTimeFrequencyNV(void);
  288. EGLAPI EGLuint64NV EGLAPIENTRY eglGetSystemTimeNV(void);
  289. #endif /* EGL_EGLEXT_PROTOTYPES */
  290. typedef EGLuint64NV (EGLAPIENTRYP PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC) (void);
  291. typedef EGLuint64NV (EGLAPIENTRYP PFNEGLGETSYSTEMTIMENVPROC) (void);
  292. #endif
  293. #endif
  294. #include <EGL/eglmesaext.h>
  295. #ifdef __cplusplus
  296. }
  297. #endif
  298. #endif