From 050316184b01c0d1a01c46afae7429b89a27c31b Mon Sep 17 00:00:00 2001 From: tedbo Date: Mon, 6 Jun 2011 16:02:47 -0700 Subject: Add ParcelSurfaceTexture Java class to enable ISurfaceTexture sharing via Binder. This adds a new ParcelSurfaceTexture.java class that can be instantiated with a SurfaceTexture and used to send the corresponding ISurfaceTexture interface to another process via Binder. The ParcelSurfaceTexture java object can then be used to create an ANativeWindow based on the SurfaceTextureClient interface. Change-Id: Ie38ea948b866e52f36a6d0f6cde19b54a8546817 --- include/android_runtime/android_graphics_SurfaceTexture.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/android_runtime/android_graphics_SurfaceTexture.h') diff --git a/include/android_runtime/android_graphics_SurfaceTexture.h b/include/android_runtime/android_graphics_SurfaceTexture.h index 8e6fc6e..acf1ca8 100644 --- a/include/android_runtime/android_graphics_SurfaceTexture.h +++ b/include/android_runtime/android_graphics_SurfaceTexture.h @@ -25,6 +25,8 @@ namespace android { extern sp android_SurfaceTexture_getNativeWindow( JNIEnv* env, jobject thiz); +extern bool android_SurfaceTexture_isInstanceOf(JNIEnv* env, jobject thiz); + } // namespace android -- cgit v1.1