Re: [Mesa-dev] vbo code and flush explicit mapping

2013-04-30 Thread Brian Paul
On 04/30/2013 09:03 AM, Jose Fonseca wrote: - Original Message - On Mon, Apr 29, 2013 at 2:52 PM, Dave Airlie wrote: I've been playing with a gallium driver, and started looking at some wierd gears behaviour, The vbo code maps the buffer with GL_MAP_FLUSH_EXPLICIT_BIT which to me requ

Re: [Mesa-dev] vbo code and flush explicit mapping

2013-04-30 Thread Jose Fonseca
- Original Message - > On Mon, Apr 29, 2013 at 2:52 PM, Dave Airlie wrote: > > I've been playing with a gallium driver, and started looking at some > > wierd gears behaviour, > > > > The vbo code maps the buffer with GL_MAP_FLUSH_EXPLICIT_BIT which to > > me requires that at some point > >

Re: [Mesa-dev] vbo code and flush explicit mapping

2013-04-29 Thread Dave Airlie
On Mon, Apr 29, 2013 at 2:52 PM, Dave Airlie wrote: > I've been playing with a gallium driver, and started looking at some > wierd gears behaviour, > > The vbo code maps the buffer with GL_MAP_FLUSH_EXPLICIT_BIT which to > me requires that at some point > we call ctx->Driver.FlushMappedBufferRange

[Mesa-dev] vbo code and flush explicit mapping

2013-04-28 Thread Dave Airlie
I've been playing with a gallium driver, and started looking at some wierd gears behaviour, The vbo code maps the buffer with GL_MAP_FLUSH_EXPLICIT_BIT which to me requires that at some point we call ctx->Driver.FlushMappedBufferRange. Now the code attempts to call it in vbo_exec_vtx_unmap but fro