[Mesa-dev] [PATCH 8/9] drisw: Enable flush control for llvmpipe and softpipe

Adam Jackson ajax at redhat.com
Tue May 12 08:54:49 PDT 2015


Hilariously this is a fairly big win.  Neil's multi-context-test
improves from ~24 to ~36 fps with llvmpipe on a Core i5-3317U.
softpipe also improves, from about 2.25 to 3.09 fps (when it's that
slow, you're allowed to be that precise).

I'd have added it to swrast classic, but the testcase wants GL 3.0 and
shaders, and that's not a thing classic has, so I figured making it work
on softpipe was crime enough.

Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 src/gallium/state_trackers/dri/drisw.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/state_trackers/dri/drisw.c b/src/gallium/state_trackers/dri/drisw.c
index 4a2c1bb..a025d67 100644
--- a/src/gallium/state_trackers/dri/drisw.c
+++ b/src/gallium/state_trackers/dri/drisw.c
@@ -334,6 +334,7 @@ static const __DRIextension *drisw_screen_extensions[] = {
    &driTexBufferExtension.base,
    &dri2RendererQueryExtension.base,
    &dri2ConfigQueryExtension.base,
+   &dri2FlushControlExtension.base,
    NULL
 };
 
-- 
2.4.0



More information about the mesa-dev mailing list