Skip to content
Snippets Groups Projects
Commit 791d06b2 authored by Adam Jackson's avatar Adam Jackson :headphones:
Browse files

drisw: Enable flush control for llvmpipe and softpipe


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: default avatarMarek Olšák <marek.olsak@amd.com>
Reviewed-by: default avatarNicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: default avatarEmil Velikov <emil.velikov@collabora.com>
Signed-off-by: Adam Jackson's avatarAdam Jackson <ajax@redhat.com>
parent 5cc06bec
No related branches found
No related tags found
Loading
......@@ -381,6 +381,7 @@ static const __DRIextension *drisw_screen_extensions[] = {
&dri2FenceExtension.base,
&dri2NoErrorExtension.base,
&driSWImageExtension.base,
&dri2FlushControlExtension.base,
NULL
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment