dri: Add __DRI_IMAGE_FORMAT_SABGR8
authorTapani Pälli <tapani.palli@intel.com>
Mon, 19 Mar 2018 11:41:44 +0000 (13:41 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Tue, 24 Apr 2018 11:55:18 +0000 (14:55 +0300)
commitfa4d4d97f3c968f3c8dce728c12f9e8597c93530
tree38cbb34654a9959679b87ca2a12213ee1bfa95bd
parent4559aefb5cee5878198f8491680abe47df3e3250
dri: Add __DRI_IMAGE_FORMAT_SABGR8

Add format definition and required plumbing to create images.
Note that there is no match to drm_fourcc definition, just like
with existing _DRI_IMAGE_FOURCC_SARGB8888.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
include/GL/internal/dri_interface.h
src/loader/loader_dri3_helper.c
src/mesa/drivers/dri/common/dri_util.c
src/mesa/drivers/dri/common/utils.c