From 6de8b9a65b9b3b06836ddba05ddd3b4a58c674ab Mon Sep 17 00:00:00 2001 From: Emma Anholt Date: Tue, 14 Feb 2023 10:32:57 -0800 Subject: 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 Reviewed-by: Adam Jackson Part-of: --- src/glx/drisw_glx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/glx') 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); -- cgit v1.2.3