diff options
author | Juan A. Suarez Romero <[email protected]> | 2018-05-02 16:20:16 +0000 |
---|---|---|
committer | Juan A. Suarez Romero <[email protected]> | 2018-05-03 12:26:12 +0200 |
commit | fd4eba4929e0e87f71b3b72a4e9fa5ac4abae52c (patch) | |
tree | 7f9a8e35ef25ad4fff1b71ce192328a5d779955b /meson.build | |
parent | 0ba0ac815e078185c1f408ec7078fd1efac1a634 (diff) |
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 <[email protected]>
Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'meson.build')
0 files changed, 0 insertions, 0 deletions