void st_init_driver_functions(struct dd_function_table *functions) { _mesa_init_shader_object_functions(functions); _mesa_init_sampler_object_functions(functions); functions->Accum = _mesa_accum; st_init_blit_functions(functions); st_init_bufferobject_functions(functions); st_init_clear_functions(functions); st_init_bitmap_functions(functions); st_init_drawpixels_functions(functions); st_init_rasterpos_functions(functions); st_init_drawtex_functions(functions); st_init_eglimage_functions(functions); st_init_fbo_functions(functions); st_init_feedback_functions(functions); st_init_program_functions(functions); st_init_query_functions(functions); st_init_cond_render_functions(functions); st_init_readpixels_functions(functions); st_init_texture_functions(functions); st_init_texture_barrier_functions(functions); st_init_flush_functions(functions); st_init_string_functions(functions); st_init_viewport_functions(functions); st_init_xformfb_functions(functions); st_init_syncobj_functions(functions); functions->UpdateState = st_invalidate_state; }
void st_init_driver_functions(struct pipe_screen *screen, struct dd_function_table *functions) { _mesa_init_shader_object_functions(functions); _mesa_init_sampler_object_functions(functions); st_init_blit_functions(functions); st_init_bufferobject_functions(screen, functions); st_init_clear_functions(functions); st_init_bitmap_functions(functions); st_init_copy_image_functions(functions); st_init_drawpixels_functions(functions); st_init_rasterpos_functions(functions); st_init_drawtex_functions(functions); st_init_eglimage_functions(functions); st_init_fbo_functions(functions); st_init_feedback_functions(functions); st_init_msaa_functions(functions); st_init_perfmon_functions(functions); st_init_program_functions(functions); st_init_query_functions(functions); st_init_cond_render_functions(functions); st_init_readpixels_functions(functions); st_init_texture_functions(functions); st_init_texture_barrier_functions(functions); st_init_flush_functions(screen, functions); st_init_string_functions(functions); st_init_viewport_functions(functions); st_init_compute_functions(functions); st_init_xformfb_functions(functions); st_init_syncobj_functions(functions); st_init_vdpau_functions(functions); if (screen->get_param(screen, PIPE_CAP_STRING_MARKER)) functions->EmitStringMarker = st_emit_string_marker; functions->Enable = st_Enable; functions->UpdateState = st_invalidate_state; functions->QueryMemoryInfo = st_query_memory_info; }