summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-04-16 09:15:11 -0600
committerBrian Paul <brianp@vmware.com>2010-04-16 09:27:58 -0600
commit1f67782afab8dcc77e9507a92c8f4a3bf896b9a0 (patch)
treefaf36fda593a9149663d554b8f0fa0c7f739ec56 /src/mesa
parent08e91bbfa135c2943a1b6633440c4025e9fac684 (diff)
st/mesa: add prototype for st_bufferobj_validate_usage()
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/state_tracker/st_cb_bufferobjects.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_cb_bufferobjects.h b/src/mesa/state_tracker/st_cb_bufferobjects.h
index 955673ceb66..a27daac2bf0 100644
--- a/src/mesa/state_tracker/st_cb_bufferobjects.h
+++ b/src/mesa/state_tracker/st_cb_bufferobjects.h
@@ -53,6 +53,12 @@ st_buffer_object(struct gl_buffer_object *obj)
extern void
+st_bufferobj_validate_usage(struct st_context *st,
+ struct st_buffer_object *obj,
+ unsigned usage);
+
+
+extern void
st_init_bufferobject_functions(struct dd_function_table *functions);