diff options
author | Emma Anholt <emma@anholt.net> | 2023-02-14 10:32:57 -0800 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2023-02-15 19:17:07 +0000 |
commit | 6de8b9a65b9b3b06836ddba05ddd3b4a58c674ab (patch) | |
tree | 8631d6081b1a10ca79ee20412dee21bfba6c1871 /src/glx | |
parent | 53780b7a3acd5b080cafa11ff3e974de99d6198c (diff) | |
download | mesa-6de8b9a65b9b3b06836ddba05ddd3b4a58c674ab.tar.gz mesa-6de8b9a65b9b3b06836ddba05ddd3b4a58c674ab.tar.bz2 mesa-6de8b9a65b9b3b06836ddba05ddd3b4a58c674ab.zip |
egl/kopper: Pass ancillary invalidate flush flags down to gallium.
We can just add the flags to the kopper interface, since it's private to
Mesa. This gets us depth/stencil invalidation on swapbuffers, which is
critical for tiler performance.
glmark2-es2 -b texture (windowed) goes from 1650 to 1930 fps on
zink+turnip with ZINK_DEBUG=rp.
Part of #7321 (we're still a little behind freedreno's 2180 fps)
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21317>
Diffstat (limited to 'src/glx')
-rw-r--r-- | src/glx/drisw_glx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/drisw_glx.c b/src/glx/drisw_glx.c index 0e41f8560a9..b69eb7c84a1 100644 --- a/src/glx/drisw_glx.c +++ b/src/glx/drisw_glx.c @@ -752,7 +752,7 @@ driswSwapBuffers(__GLXDRIdrawable * pdraw, } if (psc->kopper) - return psc->kopper->swapBuffers (pdp->driDrawable); + return psc->kopper->swapBuffers (pdp->driDrawable, 0); psc->core->swapBuffers(pdp->driDrawable); |