diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2019-01-29 11:52:33 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2019-01-29 11:52:33 +0000 |
commit | 37bbf6a1792773f11c15a4da1588a7520ee2fb4e (patch) | |
tree | 64944d4aa665a1e479cfc004e446593062254550 /lib/mesa/src/gbm/backends/dri/gbm_driint.h | |
parent | 6b139c2063623e9310025247cd966490b9aa57ea (diff) |
Merge Mesa 18.3.2
Diffstat (limited to 'lib/mesa/src/gbm/backends/dri/gbm_driint.h')
-rw-r--r-- | lib/mesa/src/gbm/backends/dri/gbm_driint.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/mesa/src/gbm/backends/dri/gbm_driint.h b/lib/mesa/src/gbm/backends/dri/gbm_driint.h index db9038a62..8497be3e8 100644 --- a/lib/mesa/src/gbm/backends/dri/gbm_driint.h +++ b/lib/mesa/src/gbm/backends/dri/gbm_driint.h @@ -40,6 +40,17 @@ struct gbm_dri_surface; struct gbm_dri_bo; +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; +}; + struct gbm_dri_device { struct gbm_device base; @@ -97,6 +108,9 @@ struct gbm_dri_device { void *loaderPrivate); struct wl_drm *wl_drm; + + const struct gbm_dri_visual *visual_table; + int num_visuals; }; struct gbm_dri_bo { |