mesa: Add a _BoundTextures field in gl_texture_unit
authorFredrik Höglund <fredrik@kde.org>
Tue, 12 Nov 2013 16:28:12 +0000 (17:28 +0100)
committerFredrik Höglund <fredrik@kde.org>
Fri, 2 May 2014 00:53:25 +0000 (02:53 +0200)
commit4bd82720880bef34895f34ac8141d0d9246b2b6d
treed84a2a117882038956f8c0f404b240da90a61491
parent6bf8ac846aeb8b6e53b4a3545ee5f8ce94055ae7
mesa: Add a _BoundTextures field in gl_texture_unit

This will be used by glBindTextures() when unbinding textures,
to avoid having to loop over all the targets.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/mtypes.h
src/mesa/main/texobj.c
src/mesa/main/texstate.c