Home
last modified time | relevance | path

Searched refs:mapi_table (Results 1 – 11 of 11) sorted by relevance

/external/mesa3d/src/mapi/mapi/
Du_current.c102 __thread struct mapi_table *u_current_table
104 = (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()
Du_current.h10 #define mapi_table _glapi_table macro
29 struct mapi_table;
33 extern __thread struct mapi_table *u_current_table
41 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 *
Dmapi.h46 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);
Dmapi.c141 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()
Dtable.h46 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()
Dentry.c55 static INLINE const struct mapi_table *
Dmapi_glapi.c68 u_current_set((const struct mapi_table *) dispatch); in _glapi_set_dispatch()
/external/mesa3d/src/gallium/state_trackers/vega/
Dapi.h38 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);
Dapi.c44 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()
Dvg_context.h45 struct mapi_table;
97 struct mapi_table *dispatch;
/external/mesa3d/src/mapi/glapi/
Dglapi.c64 u_current_set((const struct mapi_table *) dispatch); in _glapi_set_dispatch()