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

Roland Scheidegger sroland at vmware.com
Tue May 12 14:34:51 PDT 2015


I like faster!

I don't really understand though where the wins come from.
softpipe can't have much pending work in the first place (maybe tile
cache?), llvmpipe potentially has the rasterizer threads I guess but I'm
not quite sure how this works...
Though I'm not really too familiar with the dri interaction bits, but
I'm really wondering why it gets so much faster.

Roland

Am 12.05.2015 um 17:54 schrieb Adam Jackson:
> 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
>  };
>  
> 



More information about the mesa-dev mailing list