mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-24 19:30:05 +01:00
glx: Add _glapi_create_table_from_handle
_glapi_create_table_from_handle was recently added to mesa to ease creation of
a _glapi_table. This commit brings this API over to xserver for use in
XQuartz (next commit).
The API was generated with scripts from current mesa followed by various
script-foo to remove entries that are not in the server and add those which
are still in the server but not in mesa (CullParameterdvEXT and
CullParameterfvEXT)
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
(cherry picked from commit ecec578e35)
This commit is contained in:
parent
b9e5f94e3c
commit
830239ae42
3 changed files with 7587 additions and 0 deletions
|
|
@ -43,6 +43,7 @@ glapi_sources = \
|
|||
glapitable.h \
|
||||
glapi.c \
|
||||
glapi.h \
|
||||
glapi_gentable.c \
|
||||
glapioffsets.h \
|
||||
glprocs.h \
|
||||
glthread.c \
|
||||
|
|
|
|||
|
|
@ -140,4 +140,7 @@ _glapi_add_dispatch( const char * const * function_names,
|
|||
extern _glapi_proc
|
||||
_glapi_get_proc_address(const char *funcName);
|
||||
|
||||
extern struct _glapi_table *
|
||||
_glapi_create_table_from_handle(void *handle, const char *symbol_prefix);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
7583
glx/glapi_gentable.c
Normal file
7583
glx/glapi_gentable.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue