Index: ui/gl/android/surface_texture.h |
diff --git a/ui/gl/android/surface_texture.h b/ui/gl/android/surface_texture.h |
index b22e5c4bc3b024971021bd90e7f8c0d7ae174207..c6ae70490120ccbaf35a807d8ad9a398aa5d4b4c 100644 |
--- a/ui/gl/android/surface_texture.h |
+++ b/ui/gl/android/surface_texture.h |
@@ -23,8 +23,6 @@ class GL_EXPORT SurfaceTexture |
public: |
static scoped_refptr<SurfaceTexture> Create(int texture_id); |
- static scoped_refptr<SurfaceTexture> CreateSingleBuffered(int texture_id); |
- |
// Set the listener callback, which will be invoked on the same thread that |
// is being called from here for registration. |
// Note: Since callbacks come in from Java objects that might outlive objects |
@@ -35,13 +33,6 @@ class GL_EXPORT SurfaceTexture |
// Update the texture image to the most recent frame from the image stream. |
void UpdateTexImage(); |
- // Release the texture content. This is needed only in single buffered mode |
- // to allow the image content producer to take ownership |
- // of the image buffer. |
- // This is *only* supported on SurfaceTexture instantiated via |
- // |CreateSingleBuffered(...)|. |
- void ReleaseTexImage(); |
- |
// Retrieve the 4x4 texture coordinate transform matrix associated with the |
// texture image set by the most recent call to updateTexImage. |
void GetTransformMatrix(float mtx[16]); |
@@ -63,10 +54,6 @@ class GL_EXPORT SurfaceTexture |
return j_surface_texture_; |
} |
- // This should only be used to guard the SurfaceTexture instantiated via |
- // |CreateSingleBuffered(...)| |
- static bool IsSingleBufferModeSupported(); |
- |
static bool RegisterSurfaceTexture(JNIEnv* env); |
protected: |