Skip to content

render/egl: explicit client extension handling

Simon Ser requested to merge github/fork/emersion/egl-client-exts into master

Prior to this commit, wlr_egl_init seemed to assume the extension string queried via EGL_NO_DISPLAY was a subset of the extension string queried via an initialized display. This isn't correct.

EGL_EXT_client_extensions 1 defines two types of extensions: client extensions and display extensions. The set of supported client and display extensions are disjoint (ie. an extension is either a client or a display extension, not both). Client extensions are queried via EGL_NO_DISPLAY, display extensions are queried via an initialized display.

Rename the variables to make this clear. Remove the misleading comment. Log both client and display extensions.

Merge request reports