From 530c9d764b84035728a28ee2db996fffe49125ce Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Thu, 26 Jul 2012 10:39:45 -0700 Subject: [PATCH] mesa/es: Validate tex image targets in Mesa code rather than the ES wrapper This should take care of all the TexImage, TexSubImage, CopyTexImage, CompressedTexImage3DOES, and CopyTexSubImage type paths. v2: Add proper core-profile and GLES3 filtering. v3: Squash the CompressedTexImage3DOES patch per review comment from Ken. Signed-off-by: Ian Romanick Reviewed-by: Kenneth Graunke Reviewed-by: Jordan Justen --- src/mesa/main/APIspec.xml | 116 -------------------------------------- src/mesa/main/teximage.c | 43 +++++++++----- 2 files changed, 29 insertions(+), 130 deletions(-) diff --git a/src/mesa/main/APIspec.xml b/src/mesa/main/APIspec.xml index 1306ac7a971..b08f2b420f2 100644 --- a/src/mesa/main/APIspec.xml +++ b/src/mesa/main/APIspec.xml @@ -265,22 +265,6 @@ - - - - - - - - - - - - - - - - @@ -1620,22 +1604,6 @@ - - - - - - - - - - - - - - - - @@ -1661,22 +1629,6 @@ - - - - - - - - - - - - - - - -