summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2010-03-14 11:32:13 +0000
committerKeith Whitwell <keithw@vmware.com>2010-03-14 11:32:13 +0000
commita0543b13c042e3c1142522d9d136f16fd4cabf78 (patch)
tree8352f5defde2879650d2f6bd5a930a1e1d691c4b /src/gallium/auxiliary
parentce418533be752dbeb164e7ff82a99483048e482b (diff)
util: noop implementation of transfer_flush_region
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/util/u_transfer.c8
-rw-r--r--src/gallium/auxiliary/util/u_transfer.h4
2 files changed, 12 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_transfer.c b/src/gallium/auxiliary/util/u_transfer.c
index d0ea89f32d..f82b03121f 100644
--- a/src/gallium/auxiliary/util/u_transfer.c
+++ b/src/gallium/auxiliary/util/u_transfer.c
@@ -96,3 +96,11 @@ out:
pipe_transfer_destroy(pipe, transfer);
}
+
+void u_transfer_flush_region_noop( struct pipe_context *pipe,
+ struct pipe_transfer *transfer,
+ const struct pipe_box *box)
+{
+ /* This is a no-op implementation, nothing to do.
+ */
+}
diff --git a/src/gallium/auxiliary/util/u_transfer.h b/src/gallium/auxiliary/util/u_transfer.h
index eeef88de98..2e1ad31c4b 100644
--- a/src/gallium/auxiliary/util/u_transfer.h
+++ b/src/gallium/auxiliary/util/u_transfer.h
@@ -22,4 +22,8 @@ void u_transfer_inline_read( struct pipe_context *pipe,
enum pipe_transfer_usage usage,
const struct pipe_box *box,
void *data );
+
+void u_transfer_flush_region_noop( struct pipe_context *pipe,
+ struct pipe_transfer *transfer,
+ const struct pipe_box *box);
#endif