summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2012-09-04 21:57:59 -0700
committerJeff Brown <jeffbrown@google.com>2012-09-07 13:26:31 -0700
commitcbad976b2a36a0895ca94510d5208a86f66cf596 (patch)
tree06422b1c420f27faede921f0813dbfc228ca030d /include
parent14c625188affcce2e6db3c8b2f96b63eeb0f10a0 (diff)
downloadframeworks_base-cbad976b2a36a0895ca94510d5208a86f66cf596.zip
frameworks_base-cbad976b2a36a0895ca94510d5208a86f66cf596.tar.gz
frameworks_base-cbad976b2a36a0895ca94510d5208a86f66cf596.tar.bz2
Add support for Wifi display.
Change-Id: I99693786cf9d07d07d3400046c55eb4933730b80
Diffstat (limited to 'include')
-rw-r--r--include/android_runtime/android_view_Surface.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/android_runtime/android_view_Surface.h b/include/android_runtime/android_view_Surface.h
index e50186d..df0fe72 100644
--- a/include/android_runtime/android_view_Surface.h
+++ b/include/android_runtime/android_view_Surface.h
@@ -24,6 +24,7 @@
namespace android {
class Surface;
+class ISurfaceTexture;
/* Gets the underlying ANativeWindow for a Surface. */
extern sp<ANativeWindow> android_view_Surface_getNativeWindow(
@@ -35,6 +36,10 @@ extern bool android_view_Surface_isInstanceOf(JNIEnv* env, jobject obj);
/* Gets the underlying Surface from a Surface Java object. */
extern sp<Surface> android_view_Surface_getSurface(JNIEnv* env, jobject surfaceObj);
+/* Creates a Surface from an ISurfaceTexture. */
+extern jobject android_view_Surface_createFromISurfaceTexture(JNIEnv* env,
+ const sp<ISurfaceTexture>& surfaceTexture);
+
} // namespace android
#endif // _ANDROID_VIEW_SURFACE_H