aboutsummaryrefslogtreecommitdiffstats
path: root/src/egl/drivers/dri2/platform_device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/egl/drivers/dri2/platform_device.c')
-rw-r--r--src/egl/drivers/dri2/platform_device.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/egl/drivers/dri2/platform_device.c b/src/egl/drivers/dri2/platform_device.c
index 9d3dbd5857f..9bd7a93270d 100644
--- a/src/egl/drivers/dri2/platform_device.c
+++ b/src/egl/drivers/dri2/platform_device.c
@@ -191,6 +191,8 @@ device_add_configs_for_visuals(_EGLDriver *drv, _EGLDisplay *disp)
int rgba_shifts[4];
unsigned int rgba_sizes[4];
} visuals[] = {
+ { "A2RGB10", { 20, 10, 0, 30 }, { 10, 10, 10, 2 } },
+ { "X2RGB10", { 20, 10, 0, -1 }, { 10, 10, 10, 0 } },
{ "ARGB8888", { 16, 8, 0, 24 }, { 8, 8, 8, 8 } },
{ "RGB888", { 16, 8, 0, -1 }, { 8, 8, 8, 0 } },
{ "RGB565", { 11, 5, 0, -1 }, { 5, 6, 5, 0 } },