aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/bufferobj.h
diff options
context:
space:
mode:
authorLaura Ekstrand <[email protected]>2015-01-14 17:01:20 -0800
committerLaura Ekstrand <[email protected]>2015-03-17 10:18:34 -0700
commitee5fae6e897a38f5104859851eb8fba84180cfa8 (patch)
tree7da4a96c94a1e3ce4683ada70f5ddfdde5829486 /src/mesa/main/bufferobj.h
parentf7f5df99542d6492fffd803d77d5f7d2f44d08c9 (diff)
main: Refactor FlushMappedBufferRange.
v2:-Remove "_mesa" from in front of static software fallback. -Split out the refactor from the addition of the DSA entry points. Reviewed-by: Fredrik Höglund <[email protected]>
Diffstat (limited to 'src/mesa/main/bufferobj.h')
-rw-r--r--src/mesa/main/bufferobj.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/main/bufferobj.h b/src/mesa/main/bufferobj.h
index 40bd9fc7dc9..f51bf366502 100644
--- a/src/mesa/main/bufferobj.h
+++ b/src/mesa/main/bufferobj.h
@@ -162,6 +162,12 @@ _mesa_map_buffer_range(struct gl_context *ctx,
GLbitfield access, const char *func);
extern void
+_mesa_flush_mapped_buffer_range(struct gl_context *ctx,
+ struct gl_buffer_object *bufObj,
+ GLintptr offset, GLsizeiptr length,
+ const char *func);
+
+extern void
_mesa_ClearBufferSubData_sw(struct gl_context *ctx,
GLintptr offset, GLsizeiptr size,
const GLvoid *clearValue,