egl: reenable partial redraw with a warning when using gallium hud
authorItalo Nicola <italonicola@collabora.com>
Tue, 6 Jun 2023 05:25:46 +0000 (02:25 -0300)
committerMarge Bot <emma+marge@anholt.net>
Tue, 15 Aug 2023 08:18:52 +0000 (08:18 +0000)
commit2edf222abdc3d01aacdf9995c5a70bf944dc38f0
tree3f92804ff201625cd08b34ae4bf045de9ef4cf0e
parentd0f4333fcad81ee2f5849ab9e9f45f5d99fe38b5
egl: reenable partial redraw with a warning when using gallium hud

Partial revert of e516a0a94f ("egl: disable partial redraw when gallium
hud is active").

We shouldn't change the behavior of the application when the hud is
enabled, doing so could make it harder do diagnose issues. Instead, now
we warn and ask the user to manually disable the extension if he
considers it to be worth it.

Fixes: e516a0a94f ("egl: disable partial redraw when gallium hud is active")
Signed-off-by: Italo Nicola <italonicola@collabora.com>
Reviewed-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23456>
src/egl/main/eglapi.c
src/egl/main/egldisplay.h
src/egl/main/eglsurface.c