glx: Pull get_proc_address out of the context vtable
authorAdam Jackson <ajax@redhat.com>
Thu, 18 Mar 2021 15:36:12 +0000 (11:36 -0400)
committerAdam Jackson <ajax@redhat.com>
Fri, 19 Mar 2021 15:13:07 +0000 (11:13 -0400)
commit621b3a40417429b7ea740735dc69453bbc18ad9f
treeeba053b7241cde58973156cfb0bb746fbca844f9
parentcba1d6de221e33b4a00b88c6a9ddcd1b332ffba6
glx: Pull get_proc_address out of the context vtable

One, only applegl needs this. Two, this isn't a function of the context
in any way so it doesn't belong in the context vtable. Just special-case
applegl for now, we can revisit applegl's dispatch later.

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9690>
src/glx/applegl_glx.c
src/glx/dri2_glx.c
src/glx/dri3_glx.c
src/glx/drisw_glx.c
src/glx/driwindows_glx.c
src/glx/glxclient.h
src/glx/glxcmds.c
src/glx/indirect_glx.c