dri/android: Fix MSAA resolve
authorRob Clark <robdclark@chromium.org>
Wed, 26 Apr 2023 17:37:58 +0000 (10:37 -0700)
committerMarge Bot <emma+marge@anholt.net>
Thu, 27 Apr 2023 19:05:44 +0000 (19:05 +0000)
commit08ffa8e0d28316d810caf548d7dfefb73107b9c2
treefdd6297ec7898a475845aa47558bfc00a76bb442
parent5969541123dbfe1ac339284911a83af712fdcc25
dri/android: Fix MSAA resolve

Commit f9a074dd550 ("dri2/android: Bypass throttling") dropped
unnecessary throtting in the SwapBuffers() path for android.  But
unfortunately MSAA resolve got tangled up in the throttle reason
flag.  So add a new flag that indicates "no throttingling, but yes
please do MSAA resolve".

Fixes: f9a074dd550 ("dri2/android: Bypass throttling")
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22719>
include/GL/internal/dri_interface.h
src/egl/drivers/dri2/platform_android.c
src/gallium/frontends/dri/dri_drawable.c