mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -05:00
5e45dc15b6
We need to call eglBindAPI() with GLES before we setup the secondary GPU blit. We've been lucky not really needing this, as it has been GLES default, which is what the secondary blit uses, in order to not depend on the default, or if we want to create the secondary blit objects after initializing cogl, we must make sure to bind the right API at the right time. As we need to bind the GLES API when setting up the secondary blit, we need to make sure that cogl gets the right API bound when that's done, so Cogl can continue working. For this, add a "bind_api()" method on the CoglRenderer object, that will know what API is correct to bind. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1828> |
||
---|---|---|
.. | ||
cogl | ||
cogl-pango | ||
test-fixtures | ||
tests | ||
.gitignore | ||
cogl-config.h.meson | ||
cogl-mutter-config.h.in | ||
config-custom.h | ||
meson.build |