egl: Convert configs to use shifts and sizes instead of masks
[mesa.git] / src / gbm / backends / dri / gbm_driint.h
index 8497be3e8f6dd976838a9ae6b46cf735be532501..75299bdb84698642994d57e02c3d1f40c8da2109 100644 (file)
@@ -44,11 +44,17 @@ struct gbm_dri_visual {
    uint32_t gbm_format;
    int dri_image_format;
    struct {
-      uint32_t red;
-      uint32_t green;
-      uint32_t blue;
-      uint32_t alpha;
-   } rgba_masks;
+      int red;
+      int green;
+      int blue;
+      int alpha;
+   } rgba_shifts;
+   struct {
+      unsigned int red;
+      unsigned int green;
+      unsigned int blue;
+      unsigned int alpha;
+   } rgba_sizes;
 };
 
 struct gbm_dri_device {