diff options
author | Nicolai Hähnle <[email protected]> | 2017-02-02 23:24:35 +0100 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2017-04-05 10:31:02 +0200 |
commit | 4e6feacf6aa589574da3b70f32ed4e87494c7000 (patch) | |
tree | 5856d4a251ac2f184ee2528926de39b95b9283e0 /src/mesa/main/dd.h | |
parent | d6fcbe1c2a88a33128bdf3ae02705d65dd9a3e8e (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.h | 10 |
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); + /*@}*/ }; |