i965/screen: Add XRGB2101010 and ARGB2101010 support for DRI3.
authorMario Kleiner <mario.kleiner.de@gmail.com>
Fri, 15 Dec 2017 22:04:52 +0000 (23:04 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 3 Jan 2018 21:57:56 +0000 (22:57 +0100)
commit87faa8b1e844cab92c6e9c83233bb156c02f734f
tree68acb5d67b8e1e22687c314de039508ade1c1d70
parent304f363a961fed3c1f8c351a21d49c46cea02b49
i965/screen: Add XRGB2101010 and ARGB2101010 support for DRI3.

Allow DRI3/Present buffer sharing for 10 bpc buffers.
Otherwise composited desktops under DRI3 will only display
black client areas for redirected windows.

Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/drivers/dri/i965/intel_screen.c