History log of /external/mesa3d/src/mapi/mapi_glapi.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
798f260a2f553e339d7f5fc5120bb627893dc740 28-Sep-2015 Kyle Brenneman <kbrenneman@nvidia.com> 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>
/external/mesa3d/src/mapi/mapi_glapi.c
201e36e77d6ca616f75f14d5f1c31f0062ae4366 13-Mar-2015 Brian Paul <brianp@vmware.com> mapi: add new _glapi_new_nop_table() and _glapi_set_nop_handler()

_glapi_new_nop_table() creates a new dispatch table populated with
pointers to no-op functions.

_glapi_set_nop_handler() is used to register a callback function which
will be called from each of the no-op functions.

Now we always generate a separate no-op function for each GL entrypoint.
This allows us to do proper stack clean-up for Windows __stdcall and
lets us report the actual function name in error messages. Before this
change, for non-Windows release builds we used a single no-op function
for all entrypoints.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mapi/mapi_glapi.c
6757ec3f8edd7ac509a1ec30d3d8c49462ade545 14-Mar-2014 Brian Paul <brianp@vmware.com> glapi: restore _glthread_GetID() function

This partially reverts patch 02cb04c68f. This fixes an unresolved
symbol error when using older builds of libGL.

Tested-by: Chia-I Wu <olv@lunarg.com>
/external/mesa3d/src/mapi/mapi_glapi.c
846a7e86309ab3877af6b7d3a63880468dfacbd3 05-Mar-2014 Brian Paul <brianp@vmware.com> glapi: rename u_current dispatch table functions

Put "table" in the names to make things more understandable.

Reviewed-by: Chia-I Wu <olv@lunarg.com>
/external/mesa3d/src/mapi/mapi_glapi.c
280e0657072459804896e4c05d45d1cf8bfc97c4 05-Mar-2014 Brian Paul <brianp@vmware.com> glapi: replace 'user' with 'context' in u_current.[ch] code

To make the functions more understandable.

Reviewed-by: Chia-I Wu <olv@lunarg.com>
/external/mesa3d/src/mapi/mapi_glapi.c
02cb04c68ffbdaffaf7513ddc951584cac29f209 04-Mar-2014 Brian Paul <brianp@vmware.com> mesa: remove remaining uses of _glthread_GetID()

It was really only used in the radeon driver for a debug printf.
And evidently, libGL.so referenced it just to work around some sort
of linker issue.

This patch removes the two calls to the function and the function
itself.

Fixes undefined _glthread_GetID symbol in libGL reported by 'nm'.
Though, the missing symbol doesn't cause any issues on my system but
it does cause glxinfo to fail on one of our test systems.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mapi/mapi_glapi.c
3998cfa933dcd9134b75d9f0ae2c9cfcd6f2ee45 05-Jun-2013 Rico Schüller <kgbricola@web.de> mesa: remove outdated version lines in comments

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mapi/mapi_glapi.c
d5e9426b9605264608e0b1204ebf818103f1f011 21-Jan-2013 Matt Turner <mattst88@gmail.com> build: Move src/mapi/mapi/* to src/mapi/

Tested-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-and-Tested-by: Andreas Boll <andreas.boll.dev@gmail.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mapi/mapi_glapi.c