Mesa (gallium-resources): util: more transfer helpers
Keith Whitwell
keithw at kemper.freedesktop.org
Sun Mar 14 14:01:38 PDT 2010
Module: Mesa
Branch: gallium-resources
Commit: 102aca688b95c976b7178b84092fba7d041ff9d2
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=102aca688b95c976b7178b84092fba7d041ff9d2
Author: Keith Whitwell <keithw at vmware.com>
Date: Sun Mar 14 21:00:41 2010 +0000
util: more transfer helpers
---
src/gallium/auxiliary/util/u_transfer.c | 6 ++++++
src/gallium/auxiliary/util/u_transfer.h | 3 +++
2 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/src/gallium/auxiliary/util/u_transfer.c b/src/gallium/auxiliary/util/u_transfer.c
index 869b186..24a7873 100644
--- a/src/gallium/auxiliary/util/u_transfer.c
+++ b/src/gallium/auxiliary/util/u_transfer.c
@@ -52,6 +52,12 @@ out:
}
+boolean u_default_resource_get_handle(struct pipe_screen *screen,
+ struct pipe_resource *resource,
+ struct winsys_handle *handle)
+{
+ return FALSE;
+}
diff --git a/src/gallium/auxiliary/util/u_transfer.h b/src/gallium/auxiliary/util/u_transfer.h
index 0e4a829..4d67b85 100644
--- a/src/gallium/auxiliary/util/u_transfer.h
+++ b/src/gallium/auxiliary/util/u_transfer.h
@@ -9,6 +9,9 @@
struct pipe_context;
+boolean u_default_resource_get_handle(struct pipe_screen *screen,
+ struct pipe_resource *resource,
+ struct winsys_handle *handle);
void u_default_transfer_inline_write( struct pipe_context *pipe,
struct pipe_resource *resource,
More information about the mesa-commit
mailing list