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 558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
569 #define EGL_SAMPLE_RANGE_HINT_EXT 0x327C | 569 #define EGL_SAMPLE_RANGE_HINT_EXT 0x327C |
570 #define EGL_YUV_CHROMA_HORIZONTAL_SITING_HINT_EXT 0x327D | 570 #define EGL_YUV_CHROMA_HORIZONTAL_SITING_HINT_EXT 0x327D |
571 #define EGL_YUV_CHROMA_VERTICAL_SITING_HINT_EXT 0x327E | 571 #define EGL_YUV_CHROMA_VERTICAL_SITING_HINT_EXT 0x327E |
572 #define EGL_ITU_REC601_EXT 0x327F | 572 #define EGL_ITU_REC601_EXT 0x327F |
573 #define EGL_ITU_REC709_EXT 0x3280 | 573 #define EGL_ITU_REC709_EXT 0x3280 |
574 #define EGL_ITU_REC2020_EXT 0x3281 | 574 #define EGL_ITU_REC2020_EXT 0x3281 |
575 #define EGL_YUV_FULL_RANGE_EXT 0x3282 | 575 #define EGL_YUV_FULL_RANGE_EXT 0x3282 |
576 #define EGL_YUV_NARROW_RANGE_EXT 0x3283 | 576 #define EGL_YUV_NARROW_RANGE_EXT 0x3283 |
577 #define EGL_YUV_CHROMA_SITING_0_EXT 0x3284 | 577 #define EGL_YUV_CHROMA_SITING_0_EXT 0x3284 |
578 #define EGL_YUV_CHROMA_SITING_0_5_EXT 0x3285 | 578 #define EGL_YUV_CHROMA_SITING_0_5_EXT 0x3285 |
579 // TODO(hshi): remove the old EGL_LINUX_DRM_PLANE*_MODIFIERS* tokens | |
580 // after chrome uprevs and corresponding driver updates are complete | |
579 #define EGL_LINUX_DRM_PLANE0_MODIFIER0_EXT 0x3286 | 581 #define EGL_LINUX_DRM_PLANE0_MODIFIER0_EXT 0x3286 |
580 #define EGL_LINUX_DRM_PLANE0_MODIFIER1_EXT 0x3287 | 582 #define EGL_LINUX_DRM_PLANE0_MODIFIER1_EXT 0x3287 |
581 #define EGL_LINUX_DRM_PLANE1_MODIFIER0_EXT 0x3288 | 583 #define EGL_LINUX_DRM_PLANE1_MODIFIER0_EXT 0x3288 |
582 #define EGL_LINUX_DRM_PLANE1_MODIFIER1_EXT 0x3289 | 584 #define EGL_LINUX_DRM_PLANE1_MODIFIER1_EXT 0x3289 |
583 #define EGL_LINUX_DRM_PLANE2_MODIFIER0_EXT 0x328a | 585 #define EGL_LINUX_DRM_PLANE2_MODIFIER0_EXT 0x328a |
584 #define EGL_LINUX_DRM_PLANE2_MODIFIER1_EXT 0x328b | 586 #define EGL_LINUX_DRM_PLANE2_MODIFIER1_EXT 0x328b |
585 #endif | 587 #endif |
586 | 588 |
589 #ifndef EGL_EXT_image_dma_buf_import_modifiers | |
Ken Russell (switch to Gerrit)
2016/10/20 20:55:09
Please coordinate with Khronos to get these change
hshi1
2016/10/20 21:18:09
Acknowledged.
| |
590 #define EGL_EXT_image_dma_buf_import_modifiers | |
591 #define EGL_DMA_BUF_PLANE0_MODIFIER_LO_EXT 0x3443 | |
592 #define EGL_DMA_BUF_PLANE0_MODIFIER_HI_EXT 0x3444 | |
593 #define EGL_DMA_BUF_PLANE1_MODIFIER_LO_EXT 0x3445 | |
594 #define EGL_DMA_BUF_PLANE1_MODIFIER_HI_EXT 0x3446 | |
595 #define EGL_DMA_BUF_PLANE2_MODIFIER_LO_EXT 0x3447 | |
596 #define EGL_DMA_BUF_PLANE2_MODIFIER_HI_EXT 0x3448 | |
597 #define EGL_DMA_BUF_PLANE3_FD_EXT 0x3440 | |
598 #define EGL_DMA_BUF_PLANE3_OFFSET_EXT 0x3441 | |
599 #define EGL_DMA_BUF_PLANE3_PITCH_EXT 0x3442 | |
600 #define EGL_DMA_BUF_PLANE3_MODIFIER_LO_EXT 0x3449 | |
601 #define EGL_DMA_BUF_PLANE3_MODIFIER_HI_EXT 0x344A | |
602 #endif /* EGL_EXT_image_dma_buf_import_modifiers */ | |
603 | |
587 #ifndef EGL_ARM_implicit_external_sync | 604 #ifndef EGL_ARM_implicit_external_sync |
588 #define EGL_ARM_implicit_external_sync 1 | 605 #define EGL_ARM_implicit_external_sync 1 |
589 #define EGL_SYNC_PRIOR_COMMANDS_IMPLICIT_EXTERNAL_ARM 0x328A | 606 #define EGL_SYNC_PRIOR_COMMANDS_IMPLICIT_EXTERNAL_ARM 0x328A |
590 #endif /* EGL_ARM_implicit_external_sync */ | 607 #endif /* EGL_ARM_implicit_external_sync */ |
591 | 608 |
592 #ifndef EGL_EXT_image_flush_external | 609 #ifndef EGL_EXT_image_flush_external |
593 #define EGL_EXT_image_flush_external 1 | 610 #define EGL_EXT_image_flush_external 1 |
594 #ifdef EGL_EGLEXT_PROTOTYPES | 611 #ifdef EGL_EGLEXT_PROTOTYPES |
595 EGLAPI EGLBoolean EGLAPIENTRY | 612 EGLAPI EGLBoolean EGLAPIENTRY |
596 eglImageFlushExternalEXT(EGLDisplay dpy, | 613 eglImageFlushExternalEXT(EGLDisplay dpy, |
597 EGLImageKHR image, | 614 EGLImageKHR image, |
598 const EGLint* attrib_list); | 615 const EGLint* attrib_list); |
599 #else | 616 #else |
600 typedef EGLBoolean(EGLAPIENTRYP PFNGLEGLIMAGEFLUSHEXTERNALEXT)( | 617 typedef EGLBoolean(EGLAPIENTRYP PFNGLEGLIMAGEFLUSHEXTERNALEXT)( |
601 EGLDisplay dpy, | 618 EGLDisplay dpy, |
602 EGLImageKHR image, | 619 EGLImageKHR image, |
603 const EGLint* attrib_list); | 620 const EGLint* attrib_list); |
604 #endif | 621 #endif |
605 #endif | 622 #endif |
606 | 623 |
607 #ifdef __cplusplus | 624 #ifdef __cplusplus |
608 } | 625 } |
609 #endif | 626 #endif |
610 | 627 |
611 #endif /* __eglext_h_ */ | 628 #endif /* __eglext_h_ */ |
OLD | NEW |