From 791d06b23bba7d8a785a89b86af6ccf03e1271ba Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Wed, 4 Feb 2015 13:04:26 -0500 Subject: [PATCH] drisw: Enable flush control for llvmpipe and softpipe MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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. Reviewed-by: Marek Olšák Reviewed-by: Nicolai Hähnle Reviewed-by: Emil Velikov Signed-off-by: Adam Jackson --- 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 9466cfd..eb57523 100644 --- a/src/gallium/state_trackers/dri/drisw.c +++ b/src/gallium/state_trackers/dri/drisw.c @@ -381,6 +381,7 @@ static const __DRIextension *drisw_screen_extensions[] = { &dri2FenceExtension.base, &dri2NoErrorExtension.base, &driSWImageExtension.base, + &dri2FlushControlExtension.base, NULL }; -- 2.7.4