mesa: Move vbo draw functions into dd_function_table.
Move vbo draw functions into struct dd_function_table. For now just wrap the underlying vbo functions. Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
This commit is contained in:

committed by
Mathias Fröhlich

parent
23100acc8f
commit
6307d1be0a
@@ -752,6 +752,10 @@ st_init_driver_functions(struct pipe_screen *screen,
|
||||
if (screen->get_param(screen, PIPE_CAP_STRING_MARKER))
|
||||
functions->EmitStringMarker = st_emit_string_marker;
|
||||
|
||||
/* For now call through these into the vbo_set_draw_func... */
|
||||
functions->Draw = _vbo_draw;
|
||||
functions->DrawIndirect = _vbo_draw_indirect;
|
||||
|
||||
functions->Enable = st_Enable;
|
||||
functions->UpdateState = st_invalidate_state;
|
||||
functions->QueryMemoryInfo = st_query_memory_info;
|
||||
|
Reference in New Issue
Block a user