Re: [Mesa-dev] [PATCH] Add missing map range bits to the state tracker.

2010-11-29 Thread Jose Fonseca
Brian Paul Cc: mesa-dev@lists.freedesktop.org Subject: Re: [Mesa-dev] [PATCH] Add missing map range bits to the state tracker. Hi, On Friday, November 26, 2010 22:06:47 Brian Paul wrote: > We don't have a gallium flag that directly corresponds to > GL_MAP_INVALIDATE_BUFFER_BIT but using

Re: [Mesa-dev] [PATCH] Add missing map range bits to the state tracker.

2010-11-26 Thread Mathias Fröhlich
Hi, On Friday, November 26, 2010 22:06:47 Brian Paul wrote: > We don't have a gallium flag that directly corresponds to > GL_MAP_INVALIDATE_BUFFER_BIT but using PIPE_TRANSFER_DISCARD is > acceptable. I'll commit the patch. Thanks! That's what it looked to me too. Thanks! Mathias _

Re: [Mesa-dev] [PATCH] Add missing map range bits to the state tracker.

2010-11-26 Thread Brian Paul
2010/11/25 Mathias Fröhlich : > > Hi, > > I am not exactly sure about this one. > But at least the the OpenGL state stracker misses the translation of the > GL_MAP_INVALIDATE_*_BITs. > I would guess that the attached patch is an appropriate tranlsation of these > into the PIPE_TRANSFER_DISCARD flag

[Mesa-dev] [PATCH] Add missing map range bits to the state tracker.

2010-11-25 Thread Mathias Fröhlich
Hi, I am not exactly sure about this one. But at least the the OpenGL state stracker misses the translation of the GL_MAP_INVALIDATE_*_BITs. I would guess that the attached patch is an appropriate tranlsation of these into the PIPE_TRANSFER_DISCARD flag. Please review/apply. Thanks! Mathias