0032-dri-add-missing-__DRI_IMAGE_COMPONENTS-define-for-EG.patch 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. From 01febf756ccf6ffd8a8a0a16a465f755c32fc2de Mon Sep 17 00:00:00 2001
  2. From: Frank Binns <frank.binns@imgtec.com>
  3. Date: Fri, 2 Feb 2018 16:59:52 +0000
  4. Subject: [PATCH] dri: add missing __DRI_IMAGE_COMPONENTS define for
  5. EGL_TEXTURE_EXTERNAL_WL
  6. The __DRI_IMAGE_COMPONENTS defines have been re-ordered, to make it
  7. less likely that new defines will be added with the same values as
  8. existing ones.
  9. ---
  10. include/GL/internal/dri_interface.h | 5 +++--
  11. 1 file changed, 3 insertions(+), 2 deletions(-)
  12. diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h
  13. index 62517e4..6490f6e 100644
  14. --- a/include/GL/internal/dri_interface.h
  15. +++ b/include/GL/internal/dri_interface.h
  16. @@ -1461,11 +1461,12 @@ struct __DRIdri2ExtensionRec {
  17. #define __DRI_IMAGE_COMPONENTS_Y_U_V 0x3003
  18. #define __DRI_IMAGE_COMPONENTS_Y_UV 0x3004
  19. #define __DRI_IMAGE_COMPONENTS_Y_XUXV 0x3005
  20. +#define __DRI_IMAGE_COMPONENTS_R 0x3006
  21. +#define __DRI_IMAGE_COMPONENTS_RG 0x3007
  22. #define __DRI_IMAGE_COMPONENTS_Y_UXVX 0x3008
  23. #define __DRI_IMAGE_COMPONENTS_AYUV 0x3009
  24. #define __DRI_IMAGE_COMPONENTS_XYUV 0x300A
  25. -#define __DRI_IMAGE_COMPONENTS_R 0x3006
  26. -#define __DRI_IMAGE_COMPONENTS_RG 0x3007
  27. +#define __DRI_IMAGE_COMPONENTS_EXTERNAL 0x300B
  28. /**