mesa/src/egl
Juan A. Suarez Romero fd4eba4929 egl: check if colorspace/surface type is supported
According to EGL 1.4 spec, section 3.5.1 ("Creating On-Screen Rendering
Surfaces"), if config does not support the colorspace or alpha format
attributes specified in attrib_list (as defined for
eglCreateWindowSurface), an EGL_BAD_MATCH error is generated.

This fixes dEQP-EGL.functional.wide_color.*_888_colorspace_srgb (still
not merged,
https://android-review.googlesource.com/c/platform/external/deqp/+/667322),
which is crashing when trying to create a windows surface with RGB888
configuration and sRGB colorspace.

v2: Handle the fix in other backends (Tapani)

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
2018-05-03 12:26:12 +02:00
..
drivers egl: check if colorspace/surface type is supported 2018-05-03 12:26:12 +02:00
generate egl: Add dma_buf_import_modifiers for glvnd 2017-08-21 12:13:50 +01:00
main egl: remove duplicated initialization 2018-03-05 15:55:53 +02:00
wayland wayland-drm: do not distribute generated sources 2018-03-23 11:27:12 +01:00
.gitignore egl: add gitignore 2017-04-22 00:42:38 +01:00
Android.mk Android: egl: add dependency on libnativewindow 2017-10-26 16:06:53 -05:00
egl-entrypoint-check check: add support for running test as standalone 2017-02-26 13:39:45 +00:00
egl-symbols-check *-symbol-check: use correct nm path when cross-compiling 2018-02-26 13:50:59 +00:00
Makefile.am wayland-drm: do not distribute generated sources 2018-03-23 11:27:12 +01:00
Makefile.sources egl: remove suprous header eglcompiler.h 2017-05-08 15:33:59 +01:00
meson.build meson: Use include directory variables instead of traversing 2018-03-07 13:30:53 -08:00
SConscript egl+glx: turn LIBGL_ALWAYS_SOFTWARE into a boolean 2017-09-12 13:53:11 +01:00