| Index: ui/gl/android/surface_texture.h
|
| diff --git a/ui/gl/android/surface_texture.h b/ui/gl/android/surface_texture.h
|
| index 8484b73d649aa989229840dea7b1faeb51b242b3..e55316b23553dac36e01bd5a40f083fdce65c373 100644
|
| --- a/ui/gl/android/surface_texture.h
|
| +++ b/ui/gl/android/surface_texture.h
|
| @@ -57,6 +57,11 @@ class GL_EXPORT SurfaceTexture
|
| // by calling ANativeWindow_release().
|
| ANativeWindow* CreateSurface();
|
|
|
| + // Release the SurfaceTexture back buffers. The SurfaceTexture is no longer
|
| + // usable after calling this. Note that this is not called 'Release', like
|
| + // the android API, because scoped_refptr<> calls that quite a bit.
|
| + void ReleaseSurfaceTexture();
|
| +
|
| const base::android::JavaRef<jobject>& j_surface_texture() const {
|
| return j_surface_texture_;
|
| }
|
|
|