On 8 February 2018 at 14:05, Daniel Stone <dani...@collabora.com> wrote: > Extend the visual map from only containing names and bitmasks, to also > carrying the three format enums we need. These are the DRIImage format > tokens for internal allocation, FourCC codes for wl_drm and dmabuf > protocol, and wl_shm codes for swrast drivers. > > We will later use these formats to eliminate a bunch of open-coded > conversions. > At some point i was drawing some plans about making the (2?) odd wl_shm format like their WL_DRM/DRI_IMAGE/drm_fourcc brethren. Until (if even since it's fiddly) that happens having all the bits in one place is a great step.
Thanks Emil _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev