summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/bufferobj.c
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-02-02 20:47:31 +0100
committerNicolai Hähnle <[email protected]>2017-04-05 10:31:01 +0200
commitd085c7ce7c7da3441ea6320c4eb690d665d8c8dc (patch)
treea9a189e9e5ecec864f1015a1a5f1b32575f9d799 /src/mesa/main/bufferobj.c
parenta0970de8398fa292299f42c2664b59f58ee61aa2 (diff)
mesa: Add GL_ARB_sparse_buffer boilerplate
Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/main/bufferobj.c')
-rw-r--r--src/mesa/main/bufferobj.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c
index eca86aae98c..cbd92289b64 100644
--- a/src/mesa/main/bufferobj.c
+++ b/src/mesa/main/bufferobj.c
@@ -4043,3 +4043,15 @@ _mesa_InvalidateBufferData(GLuint buffer)
if (ctx->Driver.InvalidateBufferSubData)
ctx->Driver.InvalidateBufferSubData(ctx, bufObj, 0, bufObj->Size);
}
+
+void GLAPIENTRY
+_mesa_BufferPageCommitmentARB(GLenum target, GLintptr offset, GLsizeiptr size,
+ GLboolean commit)
+{
+}
+
+void GLAPIENTRY
+_mesa_NamedBufferPageCommitmentARB(GLuint buffer, GLintptr offset,
+ GLsizeiptr size, GLboolean commit)
+{
+}