mesa/src
Brian Paul 4bdbb588a9 mesa: reimplement dispatch table no-op function handling
Use the new _glapi_new_nop_table() and _glapi_set_nop_handler() to
improve how we handle calling no-op GL functions.

If there's a current context for the calling thread, generate a
GL_INVALID_OPERATION error.  This will happen if the app calls an
unimplemented extension function or it calls an illegal function
between glBegin/glEnd.

If there's no current context, print an error to stdout if it's a debug
build.

The dispatch_sanity.cpp file has some previous checks removed since
the _mesa_generic_nop() function no longer exists.

This fixes the piglit gl-1.0-dlist-begin-end and gl-1.0-beginend-coverage
tests on Windows.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
2015-03-18 09:01:50 -06:00
..
egl egl: Remove eglQueryString virtual dispatch. 2015-03-17 14:09:56 -07:00
gallium freedreno/ir3: fix infinite recursion in sched 2015-03-18 10:42:33 -04:00
gbm gbm: Define _DEFAULT_SOURCE to avoid warning 2015-01-16 21:54:54 -08:00
getopt
glsl nir/peephole_select: Allow uniform/input loads and load_const 2015-03-17 17:11:05 -07:00
glx glx: Handle out-of-sequence swap completion events correctly. (v2) 2015-03-17 23:54:02 +00:00
gtest gtest: Add headers to distribution. 2014-12-12 12:11:46 -08:00
hgl hgl: traverse add-on entries 2014-12-10 14:01:01 +00:00
loader loader: include <sys/stat.h> for non-sysfs builds 2015-03-16 20:48:07 +00:00
mapi mapi: add new _glapi_new_nop_table() and _glapi_set_nop_handler() 2015-03-18 09:01:50 -06:00
mesa mesa: reimplement dispatch table no-op function handling 2015-03-18 09:01:50 -06:00
util Add macro for unused function attribute. 2015-03-09 17:28:39 -07:00
Makefile.am glsl: Build a libglsl_util library. 2015-01-23 14:28:44 -08:00
SConscript st/vega: Remove. 2015-03-04 11:01:45 +00:00