mesa/src/mapi
Kyle Brenneman de936892db mapi: Make _glapi_get_stub work with "gl" or "mgl" prefix.
When USE_MGL_NAMESPACE is defined, _glapi_get_stub will check for the "m"
prefix before trying to skip it, so that "glFoo" and "mglFoo" are
equivalent.

This should let it work with all the places where something calls
_glapi_get_proc_offset with a hard-coded name that starts with the normal
"gl" prefix.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=55552
Signed-off-by: Kyle Brenneman <kbrenneman@nvidia.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Cc: "10.6 11.0" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit 798f260a2f)
2015-10-07 14:48:41 +01:00
..
es1api mapi: Inline es1api/Makefile. 2014-08-18 18:25:02 -07:00
es2api mapi: Inline es2api/Makefile. 2014-08-18 18:25:29 -07:00
glapi mapi: automake: rework the source generation rules 2015-09-11 19:19:30 +01:00
shared-glapi Fix invalid extern "C" around header inclusion. 2015-03-05 10:21:40 -08:00
.gitignore mapi: add glapi-test and shared-glapi-test to .gitignore 2014-12-16 13:51:09 +02:00
Android.mk android: fix the building rules for Android 5.0 2015-04-22 15:53:35 +01:00
entry.c mapi: remove u_macros.h 2015-03-05 06:59:43 -07:00
entry.h mapi: remove u_compiler.h 2015-03-04 08:33:48 -07:00
entry_x86-64_tls.h mapi: remove u_macros.h 2015-03-05 06:59:43 -07:00
entry_x86_tls.h mapi: remove u_macros.h 2015-03-05 06:59:43 -07:00
entry_x86_tsd.h mapi: remove u_macros.h 2015-03-05 06:59:43 -07:00
Makefile.am mapi: automake: rework the *api/glapi_mapi_tmp.h rules 2015-09-11 19:19:30 +01:00
Makefile.sources mapi: remove u_thread.h 2015-03-05 06:59:43 -07:00
mapi.c mapi: remove u_thread.h 2015-03-05 06:59:43 -07:00
mapi.h mapi: remove u_compiler.h 2015-03-04 08:33:48 -07:00
mapi_abi.py st/vega: Remove. 2015-03-04 11:01:45 +00:00
mapi_glapi.c mapi: Make _glapi_get_stub work with "gl" or "mgl" prefix. 2015-10-07 14:48:41 +01:00
mapi_tmp.h mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
stub.c mapi: Make private copies of name strings provided by client. 2015-03-23 22:17:03 +00:00
stub.h mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
table.c mapi: add new _glapi_new_nop_table() and _glapi_set_nop_handler() 2015-03-18 09:01:50 -06:00
table.h mapi: add new _glapi_new_nop_table() and _glapi_set_nop_handler() 2015-03-18 09:01:50 -06:00
u_current.c mapi: remove u_thread.h 2015-03-05 06:59:43 -07:00
u_current.h mapi: remove u_compiler.h 2015-03-04 08:33:48 -07:00
u_execmem.c mapi: remove u_thread.h 2015-03-05 06:59:43 -07:00
u_execmem.h build: Move src/mapi/mapi/* to src/mapi/ 2013-04-15 12:04:25 -07:00