[Mesa-dev] [PATCH 5/5] i965: Use _mesa_meta_TexSubImage for PBO's and cases where the texture is busy

Jason Ekstrand jason at jlekstrand.net
Fri Jan 9 14:40:19 PST 2015


On Fri, Jan 9, 2015 at 11:39 AM, Neil Roberts <neil at linux.intel.com> wrote:

> Jason Ekstrand <jason at jlekstrand.net> writes:
>
> > This improves texture upload performance on the PBO upload test available
> > at http://www.songho.ca/opengl/gl_pbo.html by 80% for the non-PBO case
> (due
> > to avoiding a buffer stall) and 500% for the PBO case.
>
> Just for reference, if I run this branch against the little test case I
> wrote to test my patches I see a 275% increase in frame rate. This is a
> somewhat less than what I was seeing with the blorp blitter which gave a
> 350% increase.
>

That doesn't surprise me.  I was looking at it with Kristian, and we're
seeing about 18 us/call of overhead just from setting up meta.  This tells
us something we already knew: meta is a pig.  If we could avoid that with
blorp, it would be nice.


> The blorp patches don't work with the pboUnpack test case because that
> ends up doing a conversion from BGRA to RGBA. However I suppose there's
> no reason why the blorp blitter can't do a conversion as well if we
> remove the restriction.
>

Yeah, that should be possible
--Jason


>
> Regards,
> - Neil
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150109/96c7a39a/attachment.html>


More information about the mesa-dev mailing list