diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/android_runtime/android_graphics_SurfaceTexture.h | 6 | ||||
-rw-r--r-- | include/android_runtime/android_view_Surface.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/include/android_runtime/android_graphics_SurfaceTexture.h b/include/android_runtime/android_graphics_SurfaceTexture.h index badf22c..77ccd2a 100644 --- a/include/android_runtime/android_graphics_SurfaceTexture.h +++ b/include/android_runtime/android_graphics_SurfaceTexture.h @@ -23,14 +23,14 @@ namespace android { -class SurfaceTexture; +class GLConsumer; 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); +/* Gets the underlying GLConsumer from a SurfaceTexture Java object. */ +extern sp<GLConsumer> SurfaceTexture_getSurfaceTexture(JNIEnv* env, jobject thiz); } // namespace android diff --git a/include/android_runtime/android_view_Surface.h b/include/android_runtime/android_view_Surface.h index df0fe72..b56aff8 100644 --- a/include/android_runtime/android_view_Surface.h +++ b/include/android_runtime/android_view_Surface.h @@ -24,7 +24,7 @@ namespace android { class Surface; -class ISurfaceTexture; +class IGraphicBufferProducer; /* Gets the underlying ANativeWindow for a Surface. */ extern sp<ANativeWindow> android_view_Surface_getNativeWindow( @@ -36,9 +36,9 @@ 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. */ +/* Creates a Surface from an IGraphicBufferProducer. */ extern jobject android_view_Surface_createFromISurfaceTexture(JNIEnv* env, - const sp<ISurfaceTexture>& surfaceTexture); + const sp<IGraphicBufferProducer>& bufferProducer); } // namespace android |