On 11/19/2012 05:01 PM, Jordan Justen wrote:
GLES3 support requires that the version be computed before the exec table is initialized.For main exec table initialization (api_exec.c): * Rename _mesa_create_exec_table to _mesa_initialize_exec_table * _mesa_initialize_context allocates the exec table, and sets entries to nop, but leaves functions otherwise uninitialized * Drivers must now call _mesa_compute_version and then _mesa_initialize_exec_table Similarly for VBO: * _vbo_CreateContext no longer initializes VBO vtxfmt functions * _mesa_initialize_vbo_vtxfmt was added, and drivers must now call this function after computing the version v3: * VBO vtxfmt function programming must also be delayed until the version in computed. * Combined all driver changes into a single patch
Looks okay, though I've never quite understood how the vtxfmt stuff gets set up.
Reviewed-by: Kenneth Graunke <[email protected]> _______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
