summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/egl/common/native_helper.h
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2011-02-04 12:25:04 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2011-02-07 13:55:29 +0100
commit464cb3a09ea61b6e7fe7f5d2a69e3cdab210da8f (patch)
tree5754873ce6d4a02038d05af0a3dfe38e7f93c1a4 /src/gallium/state_trackers/egl/common/native_helper.h
parent214fc6e85057bc4661b76ae3f3c22733910da69c (diff)
st/egl: native_helper: Add resource_surface_import_resource
Diffstat (limited to 'src/gallium/state_trackers/egl/common/native_helper.h')
-rw-r--r--src/gallium/state_trackers/egl/common/native_helper.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/egl/common/native_helper.h b/src/gallium/state_trackers/egl/common/native_helper.h
index d1569ac3ea..03995de19a 100644
--- a/src/gallium/state_trackers/egl/common/native_helper.h
+++ b/src/gallium/state_trackers/egl/common/native_helper.h
@@ -51,6 +51,11 @@ resource_surface_add_resources(struct resource_surface *rsurf,
uint resource_mask);
void
+resource_surface_import_resource(struct resource_surface *rsurf,
+ enum native_attachment which,
+ struct pipe_resource *pres);
+
+void
resource_surface_get_resources(struct resource_surface *rsurf,
struct pipe_resource **resources,
uint resource_mask);