mesa/src/egl
Yiwei Zhang f61337b549 egl/android: check front rendering support for cros gralloc
Enable EGL_KHR_mutable_render_buffer when below conditions are met:
1. Driver part implementation of this extension is available
2. Loader part implementation of this extension is available
3. ClientAPIs must be OpenGL ES bits (ES, ES2 or ES3)
4. Gralloc is cros gralloc and it supports front render usage query

(4) is optional as long as another gralloc supports similar query.

Upon window surface creation, if the surface type has mutable render
buffer, then append the cached front rendering usage to the existing
usage and properly set to the ANativeWindow.

Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10685>
2021-05-26 00:05:33 +00:00
..
drivers egl/android: check front rendering support for cros gralloc 2021-05-26 00:05:33 +00:00
generate Add EGL xcb platform 2020-11-12 16:39:47 +00:00
main egl: support no error attribute set to false with ES 1.1 2021-04-09 08:02:21 +03:00
wayland egl/wayland: add a NULL guard for the authenticate callback 2020-12-16 13:48:48 +00:00
Android.mk egl: Build surfaceless platform on Android 2020-07-13 08:46:55 +00:00
egl-entrypoint-check.py egl/entrypoint-check: add check that GLVND and plain EGL have the same entrypoints 2020-08-08 13:45:06 +00:00
egl-glvnd-symbols.txt egl: add glvnd symbols check 2019-07-10 11:27:51 +00:00
egl-symbols.txt egl: use new symbols check script 2019-07-10 11:27:51 +00:00
Makefile.sources egl: drop now empty egldriver.c 2020-08-16 13:49:18 +00:00
meson.build meson: Make the glvnd vendor name configurable 2020-12-03 22:36:27 +00:00