mesa: Expose texture buffer objects when the context is GL 3.1 core.
authorEric Anholt <eric@anholt.net>
Thu, 26 Jul 2012 22:10:04 +0000 (15:10 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 29 Aug 2012 22:09:36 +0000 (15:09 -0700)
commitbb4a39ec951a696efa07a120c9446b677703abab
tree793d16ecf01a6f2caab64c6c067e3dc1203948b4
parent1b86a91c643fdd4c3de1a2f5e84f94e812105766
mesa: Expose texture buffer objects when the context is GL 3.1 core.

v2: Use API_OPENGL_CORE.

v3: Only require desktop GL.  If a driver can't support TexBOs in a non-core
context, it should not enable them.

Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/get.c
src/mesa/main/teximage.c