virgl: Add driconf tweak for emulating BGRA surfaces on GLES
authorGert Wollny <gert.wollny@collabora.com>
Mon, 27 May 2019 14:31:17 +0000 (16:31 +0200)
committerGert Wollny <gert.wollny@collabora.com>
Thu, 20 Jun 2019 06:50:38 +0000 (08:50 +0200)
commitb79366344929c6e477c64a63f246c6db0766a71c
treede30a029eddea8e99a5b8d2726ddb7a2ea8f2dc7
parent13d4a34c4463c8c68553b8ce18cb1aa76d567ecb
virgl: Add driconf tweak for emulating BGRA surfaces on GLES

These tweaks are used to fix rendering issues with Valve games and
at least also "The Raven Remastered" when run on a GLES host.

v2: Fix type in define and remove virgl from driconf option (Emil)
v3: Encode tweak binary instead of using strings (Gurchetan)

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
src/gallium/drivers/virgl/virgl_context.c
src/gallium/drivers/virgl/virgl_protocol.h
src/gallium/drivers/virgl/virgl_screen.c
src/util/00-mesa-defaults.conf
src/util/xmlpool/t_options.h