summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/dd.h
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-02-02 23:24:35 +0100
committerNicolai Hähnle <[email protected]>2017-04-05 10:31:02 +0200
commit4e6feacf6aa589574da3b70f32ed4e87494c7000 (patch)
tree5856d4a251ac2f184ee2528926de39b95b9283e0 /src/mesa/main/dd.h
parentd6fcbe1c2a88a33128bdf3ae02705d65dd9a3e8e (diff)
mesa: implement sparse buffer commitment
Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/main/dd.h')
-rw-r--r--src/mesa/main/dd.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index b3a85f19857..3f3102546df 100644
--- a/src/mesa/main/dd.h
+++ b/src/mesa/main/dd.h
@@ -1040,6 +1040,16 @@ struct dd_function_table {
* Mesa will only call this function if GL multithreading is enabled.
*/
void (*SetBackgroundContext)(struct gl_context *ctx);
+
+ /**
+ * \name GL_ARB_sparse_buffer interface
+ */
+ /*@{*/
+ void (*BufferPageCommitment)(struct gl_context *ctx,
+ struct gl_buffer_object *bufferObj,
+ GLintptr offset, GLsizeiptr size,
+ GLboolean commit);
+ /*@}*/
};