[Mesa-dev] [PATCH] vbo: unmap vertex store before executing lists

Brian Paul brianp at vmware.com
Tue Feb 7 14:22:01 PST 2012


On 02/07/2012 03:18 PM, Eric Anholt wrote:
> On Tue,  7 Feb 2012 13:10:46 -0700, Brian Paul<brianp at vmware.com>  wrote:
>> We don't want our VBOs mapped when we're drawing.  This change checks
>> if the vertex store VBO is mapped before we execute a list, unmaps it,
>> then remaps it after drawing.  This situation pops up when building a
>> nested display list in GL_COMPILE_AND_EXECUTE mode.
>
> Do we have any test for this?

The legacy conform dlist.c test hit it.

It's a pretty unusual case anyway.


> Anyway,
>
> Reviewed-by: Eric Anholt<eric at anholt.net>

-Brian


More information about the mesa-dev mailing list