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

2012-02-07 Thread Brian Paul
On 02/07/2012 03:18 PM, Eric Anholt wrote: On Tue, 7 Feb 2012 13:10:46 -0700, Brian Paul 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 whe

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

2012-02-07 Thread Eric Anholt
On Tue, 7 Feb 2012 13:10:46 -0700, Brian Paul 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

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

2012-02-07 Thread Brian Paul
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. --- src/mesa/vbo/vbo_save.h |