From 08be1d288f216232d3974f5997b266a8dd720928 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Fri, 27 Jul 2012 11:56:42 -0700 Subject: [PATCH] mesa/es: Validate glEnable cap in Mesa code rather than the ES wrapper Also handle glDisable, glIsEnabled, glEnableClientState, and glDisableClientState. v2: Add proper core-profile and GLES3 filtering. Signed-off-by: Ian Romanick --- src/mesa/main/APIspec.xml | 177 --------------------------- src/mesa/main/enable.c | 302 +++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 296 insertions(+), 183 deletions(-) diff --git a/src/mesa/main/APIspec.xml b/src/mesa/main/APIspec.xml index bfd56137b8c..55e418a07fe 100644 --- a/src/mesa/main/APIspec.xml +++ b/src/mesa/main/APIspec.xml @@ -482,56 +482,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -540,56 +490,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -