[Mesa-dev] [PATCH 06/13] mesa: allow buffers mapped with the persistent flag to be used by the GPU

Fredrik Höglund fredrik at kde.org
Thu Jan 30 14:33:53 PST 2014


On Thursday 30 January 2014, Chris Forbes wrote:
> Marek,
> 
> I think there's an interaction with software primitive restart here.
> 
> The primitive restart path maps the index buffer (and the indirect
> buffer, for indirect draws), and relies on these checks to guarantee
> that's possible.
> 
> That may not be an issue for your driver, though -- I don't know.

This is also an issue with display list compilation and PBO fallbacks,
which is relevant for the gallium state tracker.

I'm not sure how to best deal with it.  Maybe we need another driver
hook that can create a private mapping of an already mapped buffer
object.

Fredrik



More information about the mesa-dev mailing list