glx: Convert generated code function pointer thunking

We're meant not to call these by name due to ABI.  Rather than try to
generate a bunch of little stub functions that do the lookup, just
inline it all directly into the calling function.

This does not cache results.  That's fine, this is not a performance
path, and if we're atop WGL then we effectively have to do this every
time anyway because wglGetProcAddress results are context-dependent.

Signed-off-by: Adam Jackson <ajax@redhat.com>
Jon TURNEY <jon.turney@dronecode.org.uk>
This commit is contained in:
Adam Jackson 2013-12-03 12:40:24 -05:00 committed by Keith Packard
parent f69f4f417c
commit c4567a3760
2 changed files with 989 additions and 556 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff