From cbad976b2a36a0895ca94510d5208a86f66cf596 Mon Sep 17 00:00:00 2001 From: Jeff Brown Date: Tue, 4 Sep 2012 21:57:59 -0700 Subject: Add support for Wifi display. Change-Id: I99693786cf9d07d07d3400046c55eb4933730b80 --- include/android_runtime/android_view_Surface.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/android_runtime') 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 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 android_view_Surface_getSurface(JNIEnv* env, jobject surfaceObj); +/* Creates a Surface from an ISurfaceTexture. */ +extern jobject android_view_Surface_createFromISurfaceTexture(JNIEnv* env, + const sp& surfaceTexture); + } // namespace android #endif // _ANDROID_VIEW_SURFACE_H -- cgit v1.1