summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/state_tracker/st_cb_bufferobjects.c13
-rw-r--r--src/mesa/state_tracker/st_cb_bufferobjects.h6
2 files changed, 0 insertions, 19 deletions
diff --git a/src/mesa/state_tracker/st_cb_bufferobjects.c b/src/mesa/state_tracker/st_cb_bufferobjects.c
index 68ec2501015..c19830d9c91 100644
--- a/src/mesa/state_tracker/st_cb_bufferobjects.c
+++ b/src/mesa/state_tracker/st_cb_bufferobjects.c
@@ -548,19 +548,6 @@ st_clear_buffer_subdata(struct gl_context *ctx,
clearValue, clearValueSize);
}
-
-/* TODO: if buffer wasn't created with appropriate usage flags, need
- * to recreate it now and copy contents -- or possibly create a
- * gallium entrypoint to extend the usage flags and let the driver
- * decide if a copy is necessary.
- */
-void
-st_bufferobj_validate_usage(struct st_context *st,
- struct st_buffer_object *obj,
- unsigned usage)
-{
-}
-
static void
st_bufferobj_page_commitment(struct gl_context *ctx,
struct gl_buffer_object *bufferObj,
diff --git a/src/mesa/state_tracker/st_cb_bufferobjects.h b/src/mesa/state_tracker/st_cb_bufferobjects.h
index 54e6a21ce57..b9f91b07481 100644
--- a/src/mesa/state_tracker/st_cb_bufferobjects.h
+++ b/src/mesa/state_tracker/st_cb_bufferobjects.h
@@ -57,12 +57,6 @@ 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 pipe_screen *screen,
struct dd_function_table *functions);