mesa/src/gbm/backends/dri
Kevin Strasser 7b4ed2b513 egl: Convert configs to use shifts and sizes instead of masks
Change dri2_add_config to take arrays of shifts and sizes, and compare with
those set in the dri config. Convert all platform driver masks
to shifts and sizes.

In order to handle older drivers, where shift attributes aren't available,
we fall back to the mask attributes and compute the shifts with ffs.

Signed-off-by: Kevin Strasser <kevin.strasser@intel.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
2019-08-21 18:36:57 +00:00
..
gbm_dri.c egl: Convert configs to use shifts and sizes instead of masks 2019-08-21 18:36:57 +00:00
gbm_driint.h egl: Convert configs to use shifts and sizes instead of masks 2019-08-21 18:36:57 +00:00