glx/apple: locate dispatch table functions to wrap by name
authorJon Turney <jon.turney@dronecode.org.uk>
Tue, 16 Jan 2018 16:26:57 +0000 (16:26 +0000)
committerJon Turney <jon.turney@dronecode.org.uk>
Thu, 1 Feb 2018 15:14:08 +0000 (15:14 +0000)
commitd3540b405b975450b9c2f9d8eb273be062cbf73a
tree7e0032980416f8116872b3e44b5f436846d03e48
parentb37b7b42dcc33d636c3db0558d032d7d95664c56
glx/apple: locate dispatch table functions to wrap by name

Avoid reaching into the dispatch table internals (and thus having to deal
with the complexities of remap etc.) by identifying functions to wrap by
name.

See:
https://lists.freedesktop.org/archives/mesa-dev/2015-June/086721.html et seq.
https://bugs.freedesktop.org/show_bug.cgi?id=90311

Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/glx/apple/apple_glapi.c
src/mapi/glapi/gen/gl_gentable.py
src/mapi/glapi/glapi.h