weston/libweston/renderer-gl
Pekka Paalanen 7cb7a6781f gl-renderer: remove EGLConfig attributes from API
Now that all backends pass in a list of acceptable DRM formats, that is used to
determine if the EGLConfig has an alpha channel or not. Therefore the
opaque_attribs and alpha_attribs are now useless, and we can remove the whole
config_attribs argument from the API.

gl_renderer_get_egl_config() uses an internal attrib list that matches at least
the union of the opaque_attribs and alpha_attribs matches.

Overall, behaviour should remain unchanged.

The new attribute array becomes variable in the future, so it is left
non-const.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
2019-10-04 12:17:18 +03:00
..
egl-glue.c gl-renderer: remove EGLConfig attributes from API 2019-10-04 12:17:18 +03:00
gl-renderer-internal.h gl-renderer: remove EGLConfig attributes from API 2019-10-04 12:17:18 +03:00
gl-renderer.c gl-renderer: remove EGLConfig attributes from API 2019-10-04 12:17:18 +03:00
gl-renderer.h gl-renderer: remove EGLConfig attributes from API 2019-10-04 12:17:18 +03:00
meson.build gl-renderer: move into egl-glue.c 2019-10-04 12:17:18 +03:00