mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 11:00:11 +01:00
egl: Enable 10bpc EGLConfigs for platform_{device,surfaceless}
It's somewhat annoying that these are so similar for so little benefit. Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
This commit is contained in:
parent
95927c414f
commit
9acb94b623
2 changed files with 4 additions and 0 deletions
|
|
@ -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 } },
|
||||
|
|
|
|||
|
|
@ -185,6 +185,8 @@ surfaceless_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 } },
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue