Re: [Mesa-dev] [PATCH] egl: check if colorspace/surface type is supported

2018-05-02 Thread Tapani Pälli
We will need to handle this on other backends as well, dri2 and wayland at least would stumble to same issue, maybe fix them all in one go? Looks like android, surfaceless and drm backends check the returned config already. On 04/30/2018 02:51 PM, Juan A. Suarez Romero wrote: According to

[Mesa-dev] [PATCH] egl: check if colorspace/surface type is supported

2018-04-30 Thread Juan A. Suarez Romero
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