summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/bufferobj.h
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2014-03-25 17:02:48 -0400
committerIlia Mirkin <[email protected]>2014-03-31 21:21:11 -0400
commitf5ba1a1f7f6c50c2c1f3544555f419a0e7216a94 (patch)
treeb7b89de7a7b319231939be63d266421315af12fa /src/mesa/main/bufferobj.h
parent24b86cb3047507078ae8d0e2e8943586ee85ede5 (diff)
mesa/st: Accelerate ARB_clear_buffer_object with clear_buffer
Signed-off-by: Ilia Mirkin <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/main/bufferobj.h')
-rw-r--r--src/mesa/main/bufferobj.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/main/bufferobj.h b/src/mesa/main/bufferobj.h
index 9814552eb96..c08c4fdf2af 100644
--- a/src/mesa/main/bufferobj.h
+++ b/src/mesa/main/bufferobj.h
@@ -115,6 +115,13 @@ extern void
_mesa_buffer_unmap_all_mappings(struct gl_context *ctx,
struct gl_buffer_object *bufObj);
+extern void
+_mesa_buffer_clear_subdata(struct gl_context *ctx,
+ GLintptr offset, GLsizeiptr size,
+ const GLvoid *clearValue,
+ GLsizeiptr clearValueSize,
+ struct gl_buffer_object *bufObj);
+
/*
* API functions
*/