summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/dd.h
diff options
context:
space:
mode:
authorNicolai Hähnle <nicolai.haehnle@amd.com>2016-01-09 17:53:07 -0500
committerNicolai Hähnle <nicolai.haehnle@amd.com>2016-01-14 09:39:30 -0500
commit6f4ae810056a1f3c53efe6f0576b9b9c4e847a80 (patch)
tree6618bc23287eae6828022083ed30f0ba8dcdada7 /src/mesa/main/dd.h
parent53c77494aa7362d390b09351f831713519064ccc (diff)
downloadexternal_mesa3d-6f4ae810056a1f3c53efe6f0576b9b9c4e847a80.zip
external_mesa3d-6f4ae810056a1f3c53efe6f0576b9b9c4e847a80.tar.gz
external_mesa3d-6f4ae810056a1f3c53efe6f0576b9b9c4e847a80.tar.bz2
mesa: add Driver.InvalidateBufferSubData
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'src/mesa/main/dd.h')
-rw-r--r--src/mesa/main/dd.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index e5281ce..70ed563 100644
--- a/src/mesa/main/dd.h
+++ b/src/mesa/main/dd.h
@@ -634,6 +634,11 @@ struct dd_function_table {
GLintptr readOffset, GLintptr writeOffset,
GLsizeiptr size );
+ void (*InvalidateBufferSubData)( struct gl_context *ctx,
+ struct gl_buffer_object *obj,
+ GLintptr offset,
+ GLsizeiptr length );
+
/* Returns pointer to the start of the mapped range.
* May return NULL if MESA_MAP_NOWAIT_BIT is set in access:
*/