OSDN Git Service

mesa: separate exec allocation from initialization
authorJordan Justen <jordan.l.justen@intel.com>
Fri, 16 Nov 2012 18:27:13 +0000 (10:27 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Sun, 16 Dec 2012 23:30:27 +0000 (15:30 -0800)
commitd44014953835e9180eeb54a7969470396d7f3fd0
treed4dfec92f530f834f2d02fdb0870b02396669516
parentfa5078c255b5b57514ae854ecd6264379641c924
mesa: separate exec allocation from initialization

In glapi/gl_genexec.py:
* Remove _mesa_alloc_dispatch_table call

In glapi/gl_genexec.py and api_exec.h:
* Rename _mesa_create_exec_table to _mesa_initialize_exec_table

In context.c:
* Call _mesa_alloc_dispatch_table instead of _mesa_create_exec_table
* Call _mesa_initialize_exec_table (this is temporary)

Once all drivers have been modified to call
_mesa_initialize_exec_table, then the call to
_mesa_initialize_context can be removed from context.c.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mapi/glapi/gen/gl_genexec.py
src/mesa/main/api_exec.h
src/mesa/main/context.c