Searched refs:mapi_table (Results 1 – 11 of 11) sorted by relevance
102 __thread struct mapi_table *u_current_table104 = (struct mapi_table *) table_noop_array;111 struct mapi_table *u_current_table =112 (struct mapi_table *) table_noop_array;233 u_current_set(const struct mapi_table *tbl) in u_current_set()240 tbl = (const struct mapi_table *) table_noop_array; in u_current_set()243 u_current_table = (struct mapi_table *) tbl; in u_current_set()248 u_current_table = (struct mapi_table *) tbl; in u_current_set()255 struct mapi_table *261 return (struct mapi_table *) ((ThreadSafe) ? in u_current_get_internal()
10 #define mapi_table _glapi_table macro29 struct mapi_table;33 extern __thread struct mapi_table *u_current_table41 extern struct mapi_table *u_current_table;55 u_current_set(const struct mapi_table *tbl);57 struct mapi_table *66 static INLINE const struct mapi_table *
46 struct mapi_table;54 MAPI_EXPORT struct mapi_table *58 mapi_table_destroy(struct mapi_table *tbl);61 mapi_table_fill(struct mapi_table *tbl, const mapi_proc *procs);64 mapi_table_make_current(const struct mapi_table *tbl);
141 struct mapi_table *144 const struct mapi_table *noop = table_get_noop(); in mapi_table_create()145 struct mapi_table *tbl; in mapi_table_create()158 mapi_table_destroy(struct mapi_table *tbl) in mapi_table_destroy()168 mapi_table_fill(struct mapi_table *tbl, const mapi_proc *procs) in mapi_table_fill()170 const struct mapi_table *noop = table_get_noop(); in mapi_table_fill()188 mapi_table_make_current(const struct mapi_table *tbl) in mapi_table_make_current()
46 static INLINE const struct mapi_table *49 return (const struct mapi_table *) table_noop_array; in table_get_noop()56 table_set_func(struct mapi_table *tbl, int slot, mapi_func func) in table_set_func()66 table_get_func(const struct mapi_table *tbl, int slot) in table_get_func()
55 static INLINE const struct mapi_table *
68 u_current_set((const struct mapi_table *) dispatch); in _glapi_set_dispatch()
38 struct mapi_table;40 struct mapi_table *api_create_dispatch(void);42 void api_destroy_dispatch(struct mapi_table *tbl);44 void api_make_dispatch_current(const struct mapi_table *tbl);
44 struct mapi_table *api_create_dispatch(void) in api_create_dispatch()46 struct mapi_table *tbl; in api_create_dispatch()57 void api_destroy_dispatch(struct mapi_table *tbl) in api_destroy_dispatch()62 void api_make_dispatch_current(const struct mapi_table *tbl) in api_make_dispatch_current()
45 struct mapi_table;97 struct mapi_table *dispatch;
64 u_current_set((const struct mapi_table *) dispatch); in _glapi_set_dispatch()