From fef6e36e0736a68e24d7844bae65a01de8359214 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 10 May 2010 21:11:21 -0600 Subject: mesa: more transform feedback infrastructure Includes GL_ARB_transform_feedback2 which encapsulates transform feedback state in objects. --- src/mesa/state_tracker/st_context.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/mesa/state_tracker/st_context.c') diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c index e8a3926e6db..93406141f65 100644 --- a/src/mesa/state_tracker/st_context.c +++ b/src/mesa/state_tracker/st_context.c @@ -54,6 +54,9 @@ #include "st_cb_queryobj.h" #include "st_cb_readpixels.h" #include "st_cb_texture.h" +#if FEATURE_EXT_transform_feedback +#include "st_cb_xformfb.h" +#endif #include "st_cb_flush.h" #include "st_cb_strings.h" #include "st_atom.h" @@ -335,5 +338,9 @@ void st_init_driver_functions(struct dd_function_table *functions) st_init_flush_functions(functions); st_init_string_functions(functions); +#if FEATURE_EXT_transform_feedback + st_init_xformfb_functions(functions); +#endif + functions->UpdateState = st_invalidate_state; } -- cgit v1.2.3