diff options
Diffstat (limited to 'include/android_runtime')
-rw-r--r-- | include/android_runtime/android_graphics_ParcelSurfaceTexture.h | 5 | ||||
-rw-r--r-- | include/android_runtime/android_graphics_SurfaceTexture.h | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/include/android_runtime/android_graphics_ParcelSurfaceTexture.h b/include/android_runtime/android_graphics_ParcelSurfaceTexture.h index 22f1c12..b94ac9b 100644 --- a/include/android_runtime/android_graphics_ParcelSurfaceTexture.h +++ b/include/android_runtime/android_graphics_ParcelSurfaceTexture.h @@ -23,10 +23,15 @@ namespace android { +class ISurfaceTexture; + extern sp<ANativeWindow> android_ParcelSurfaceTexture_getNativeWindow( JNIEnv* env, jobject thiz); extern bool android_ParcelSurfaceTexture_isInstanceOf(JNIEnv* env, jobject thiz); +/* Gets the underlying ISurfaceTexture from a ParcelSurfaceTexture Java object. */ +extern sp<ISurfaceTexture> ParcelSurfaceTexture_getISurfaceTexture(JNIEnv* env, jobject thiz); + } // namespace android #endif // _ANDROID_GRAPHICS_PARCELSURFACETEXTURE_H diff --git a/include/android_runtime/android_graphics_SurfaceTexture.h b/include/android_runtime/android_graphics_SurfaceTexture.h index acf1ca8..badf22c 100644 --- a/include/android_runtime/android_graphics_SurfaceTexture.h +++ b/include/android_runtime/android_graphics_SurfaceTexture.h @@ -23,10 +23,14 @@ namespace android { +class SurfaceTexture; + extern sp<ANativeWindow> android_SurfaceTexture_getNativeWindow( JNIEnv* env, jobject thiz); extern bool android_SurfaceTexture_isInstanceOf(JNIEnv* env, jobject thiz); +/* Gets the underlying SurfaceTexture from a SurfaceTexture Java object. */ +extern sp<SurfaceTexture> SurfaceTexture_getSurfaceTexture(JNIEnv* env, jobject thiz); } // namespace android |