OLD | NEW |
1 #ifndef __eglext_h_ | 1 #ifndef __eglext_h_ |
2 #define __eglext_h_ | 2 #define __eglext_h_ |
3 | 3 |
4 #ifdef __cplusplus | 4 #ifdef __cplusplus |
5 extern "C" { | 5 extern "C" { |
6 #endif | 6 #endif |
7 | 7 |
8 /* | 8 /* |
9 ** Copyright (c) 2007-2013 The Khronos Group Inc. | 9 ** Copyright (c) 2007-2013 The Khronos Group Inc. |
10 ** | 10 ** |
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
438 #define EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR 0x00000001 | 438 #define EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR 0x00000001 |
439 #define EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR 0x00000002 | 439 #define EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR 0x00000002 |
440 #define EGL_OPENGL_ES3_BIT_KHR 0x00000040 | 440 #define EGL_OPENGL_ES3_BIT_KHR 0x00000040 |
441 #endif | 441 #endif |
442 | 442 |
443 #ifndef EGL_KHR_surfaceless_context | 443 #ifndef EGL_KHR_surfaceless_context |
444 #define EGL_KHR_surfaceless_context 1 | 444 #define EGL_KHR_surfaceless_context 1 |
445 /* No tokens/entry points, just relaxes an error condition */ | 445 /* No tokens/entry points, just relaxes an error condition */ |
446 #endif | 446 #endif |
447 | 447 |
| 448 #ifndef EGL_KHR_swap_buffers_with_damage |
| 449 #define EGL_KHR_swap_buffers_with_damage 1 |
| 450 typedef EGLBoolean(EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC)( |
| 451 EGLDisplay dpy, |
| 452 EGLSurface surface, |
| 453 EGLint* rects, |
| 454 EGLint n_rects); |
| 455 #ifdef EGL_EGLEXT_PROTOTYPES |
| 456 EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersWithDamageKHR(EGLDisplay dpy, |
| 457 EGLSurface surface, |
| 458 EGLint* rects, |
| 459 EGLint n_rects); |
| 460 #endif |
| 461 #endif /* EGL_KHR_swap_buffers_with_damage */ |
| 462 |
448 #ifdef EGL_KHR_stream /* Requires KHR_stream extension */ | 463 #ifdef EGL_KHR_stream /* Requires KHR_stream extension */ |
449 #ifndef EGL_KHR_stream_cross_process_fd | 464 #ifndef EGL_KHR_stream_cross_process_fd |
450 #define EGL_KHR_stream_cross_process_fd 1 | 465 #define EGL_KHR_stream_cross_process_fd 1 |
451 typedef int EGLNativeFileDescriptorKHR; | 466 typedef int EGLNativeFileDescriptorKHR; |
452 #define EGL_NO_FILE_DESCRIPTOR_KHR ((EGLNativeFileDescriptorKHR)(-1
)) | 467 #define EGL_NO_FILE_DESCRIPTOR_KHR ((EGLNativeFileDescriptorKHR)(-1
)) |
453 #ifdef EGL_EGLEXT_PROTOTYPES | 468 #ifdef EGL_EGLEXT_PROTOTYPES |
454 EGLAPI EGLNativeFileDescriptorKHR EGLAPIENTRY eglGetStreamFileDescriptorKHR(EGLD
isplay dpy, EGLStreamKHR stream); | 469 EGLAPI EGLNativeFileDescriptorKHR EGLAPIENTRY eglGetStreamFileDescriptorKHR(EGLD
isplay dpy, EGLStreamKHR stream); |
455 EGLAPI EGLStreamKHR EGLAPIENTRY eglCreateStreamFromFileDescriptorKHR(EGLDisplay
dpy, EGLNativeFileDescriptorKHR file_descriptor); | 470 EGLAPI EGLStreamKHR EGLAPIENTRY eglCreateStreamFromFileDescriptorKHR(EGLDisplay
dpy, EGLNativeFileDescriptorKHR file_descriptor); |
456 #endif /* EGL_EGLEXT_PROTOTYPES */ | 471 #endif /* EGL_EGLEXT_PROTOTYPES */ |
457 typedef EGLNativeFileDescriptorKHR (EGLAPIENTRYP PFNEGLGETSTREAMFILEDESCRIPTORKH
RPROC)(EGLDisplay dpy, EGLStreamKHR stream); | 472 typedef EGLNativeFileDescriptorKHR (EGLAPIENTRYP PFNEGLGETSTREAMFILEDESCRIPTORKH
RPROC)(EGLDisplay dpy, EGLStreamKHR stream); |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
587 EGLImageKHR image, | 602 EGLImageKHR image, |
588 const EGLint* attrib_list); | 603 const EGLint* attrib_list); |
589 #endif | 604 #endif |
590 #endif | 605 #endif |
591 | 606 |
592 #ifdef __cplusplus | 607 #ifdef __cplusplus |
593 } | 608 } |
594 #endif | 609 #endif |
595 | 610 |
596 #endif /* __eglext_h_ */ | 611 #endif /* __eglext_h_ */ |
OLD | NEW |