summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util/u_transfer.h
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2011-02-09 01:10:11 +0100
committerMarek Olšák <maraeo@gmail.com>2011-02-14 21:50:08 +0100
commit588fa884d212eba5ffbc69fda75db37d7c77214c (patch)
treef4dc1e90823d07aa1be7bfadc3376599dbf459e3 /src/gallium/auxiliary/util/u_transfer.h
parent2a904fd6a0cb80eec6dec2bae07fd8778b04caf3 (diff)
gallium: notify drivers about possible changes in user buffer contents
Also implement the redefine_user_buffer hook in the drivers.
Diffstat (limited to 'src/gallium/auxiliary/util/u_transfer.h')
-rw-r--r--src/gallium/auxiliary/util/u_transfer.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/gallium/auxiliary/util/u_transfer.h b/src/gallium/auxiliary/util/u_transfer.h
index 52191512ac..8cf9c418b0 100644
--- a/src/gallium/auxiliary/util/u_transfer.h
+++ b/src/gallium/auxiliary/util/u_transfer.h
@@ -136,11 +136,9 @@ void u_transfer_inline_write_vtbl( struct pipe_context *rm_ctx,
unsigned stride,
unsigned layer_stride);
-
-
-
-
-
-
+void u_default_redefine_user_buffer(struct pipe_context *ctx,
+ struct pipe_resource *resource,
+ unsigned offset,
+ unsigned size);
#endif