diff options
author | Kristian Høgsberg <[email protected]> | 2010-04-22 12:40:47 -0400 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2010-04-22 13:43:28 -0400 |
commit | fa416106307dc193e2133aa6a29b9bcfc91f8b39 (patch) | |
tree | 6669b9d7b0c9299143341050bbd58482dd4e51e0 /src/mesa/main/api_exec.h | |
parent | ade150d66724259119012420068fa930807311c2 (diff) |
mesa: Move struct _glapi_table allocation out of context.c
We now allocate the table from api_exec.c and dlist.c where we fill out
the table. This way, context.c doesn't need to know the actual contents
of struct _glapi_table.
Diffstat (limited to 'src/mesa/main/api_exec.h')
-rw-r--r-- | src/mesa/main/api_exec.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/main/api_exec.h b/src/mesa/main/api_exec.h index 4bd715053ab..dd8d500865b 100644 --- a/src/mesa/main/api_exec.h +++ b/src/mesa/main/api_exec.h @@ -29,9 +29,11 @@ struct _glapi_table; +extern struct _glapi_table * +_mesa_alloc_dispatch_table(int size); -extern void -_mesa_init_exec_table(struct _glapi_table *exec); +extern struct _glapi_table * +_mesa_create_exec_table(void); #endif |