Re: [Mesa-dev] [PATCH 02/19] mesa: Add a _BoundTextures field in gl_texture_unit

2014-04-29 Thread Fredrik Höglund
On Monday 28 April 2014, Ian Romanick wrote: > On 04/21/2014 02:57 PM, Fredrik Höglund wrote: > > This will be used by glBindTextures() when unbinding textures, > > to avoid having to loop over all the targets. > > --- > > > > v2: Use &= ~(1 << index) to clear bits > > > > src/mesa/main/mtypes.h

Re: [Mesa-dev] [PATCH 02/19] mesa: Add a _BoundTextures field in gl_texture_unit

2014-04-28 Thread Ian Romanick
On 04/21/2014 02:57 PM, Fredrik Höglund wrote: > This will be used by glBindTextures() when unbinding textures, > to avoid having to loop over all the targets. > --- > > v2: Use &= ~(1 << index) to clear bits > > src/mesa/main/mtypes.h | 6 +- > src/mesa/main/texobj.c | 6 ++ > src/m

[Mesa-dev] [PATCH 02/19] mesa: Add a _BoundTextures field in gl_texture_unit

2014-04-21 Thread Fredrik Höglund
This will be used by glBindTextures() when unbinding textures, to avoid having to loop over all the targets. --- v2: Use &= ~(1 << index) to clear bits src/mesa/main/mtypes.h | 6 +- src/mesa/main/texobj.c | 6 ++ src/mesa/main/texstate.c | 3 +++ 3 files changed, 14 insertions(+), 1