summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_context.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-05-10 21:11:21 -0600
committerBrian Paul <[email protected]>2010-05-10 21:11:25 -0600
commitfef6e36e0736a68e24d7844bae65a01de8359214 (patch)
treee5d9abc8125f9166c55efe22dc11309099e1394c /src/mesa/state_tracker/st_context.c
parent12bc39f30c2cc27fe9bc4d33c7c79919d895537d (diff)
mesa: more transform feedback infrastructure
Includes GL_ARB_transform_feedback2 which encapsulates transform feedback state in objects.
Diffstat (limited to 'src/mesa/state_tracker/st_context.c')
-rw-r--r--src/mesa/state_tracker/st_context.c7
1 files changed, 7 insertions, 0 deletions
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;
}