i965: expose MESA_FORMAT_R8G8B8A8_SRGB visual
authorTapani Pälli <tapani.palli@intel.com>
Mon, 19 Mar 2018 11:41:45 +0000 (13:41 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Tue, 24 Apr 2018 11:55:18 +0000 (14:55 +0300)
commitc2e159d050817991c4fb5d771586e206fbaa5b45
tree88635c565f9068ada78f4c89fa02aa95a3321758
parentfa4d4d97f3c968f3c8dce728c12f9e8597c93530
i965: expose MESA_FORMAT_R8G8B8A8_SRGB visual

Exposing the visual makes following dEQP tests pass on Android:

   dEQP-EGL.functional.wide_color.window_8888_colorspace_srgb
   dEQP-EGL.functional.wide_color.pbuffer_8888_colorspace_srgb

Visual is exposed only when DRI_LOADER_CAP_RGBA_ORDERING is set.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/intel_screen.c