mesa/es: Validate glTexImage format, type, and internalFormat in Mesa code rather...
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 27 Jul 2012 02:18:58 +0000 (19:18 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 23 Aug 2012 17:15:31 +0000 (10:15 -0700)
commit409620e47748479aaef593dc9bec0d6dd520e14a
treeea178aa35db5e586e0161d1aa094fff3154be351
parent0686ccac950bac1a650400b29c47ddaafea22fa9
mesa/es: Validate glTexImage format, type, and internalFormat in Mesa code rather than the ES wrapper

v2: Add proper GLES3 filtering.

v3: Collapse ALPHA, LUMINANCE, and LUMINANCE_ALPHA cases per review
comment from Ken.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/main/APIspec.xml
src/mesa/main/teximage.c
src/mesa/main/teximage.h