From 7009955281260fbb488736706679eb9fa73493d4 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Mon, 22 May 2017 11:14:32 -0700 Subject: mesa: Remove GL_APPLE_vertex_array_object stubs Mark the functions 'exec="skip"' in the XML instead. libGL will still have the functions, but the driver won't try to use them. I verified that this commit works with piglit's 'object-namespace-pollution glClear vertex-array' on x64 with a driver built from mesa-12.0.3 tag. In fairness, this test also works with a libGL built from 7927d03. I believe it continues to work because on non-Windows platforms we generate some extra, dummy dispatch functions that can be used when a driver requests a function unknown to libGL. This was done to provide some "forward" compatibility with drivers that need more functions. This doesn't work on Windows because the Windows calling convention is for the callee to clean up the stack. That's the theory anyway. Signed-off-by: Ian Romanick Reviewed-by: Timothy Arceri --- src/mapi/glapi/gen/APPLE_vertex_array_object.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mapi/glapi/gen/APPLE_vertex_array_object.xml') diff --git a/src/mapi/glapi/gen/APPLE_vertex_array_object.xml b/src/mapi/glapi/gen/APPLE_vertex_array_object.xml index 7312f9b35f0..daf6990ea8a 100644 --- a/src/mapi/glapi/gen/APPLE_vertex_array_object.xml +++ b/src/mapi/glapi/gen/APPLE_vertex_array_object.xml @@ -5,21 +5,21 @@ - + - + - + - + -- cgit v1.2.3