From 409620e47748479aaef593dc9bec0d6dd520e14a Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Thu, 26 Jul 2012 19:18:58 -0700 Subject: [PATCH] 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 Reviewed-by: Kenneth Graunke Reviewed-by: Jordan Justen --- src/mesa/main/APIspec.xml | 203 -------------------------------------- src/mesa/main/teximage.c | 94 ++++++++++++++++++ src/mesa/main/teximage.h | 4 + 3 files changed, 98 insertions(+), 203 deletions(-) diff --git a/src/mesa/main/APIspec.xml b/src/mesa/main/APIspec.xml index 1c5be8c2eba..ffc384c8756 100644 --- a/src/mesa/main/APIspec.xml +++ b/src/mesa/main/APIspec.xml @@ -241,148 +241,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -