Index: content/browser/renderer_host/compositor_impl_android.h |
diff --git a/content/browser/renderer_host/compositor_impl_android.h b/content/browser/renderer_host/compositor_impl_android.h |
index 93014f1941becff21a2134e1b61eaa7ffb2b8c62..09aff9570c405be5f3f516d9dd7e498089321a4e 100644 |
--- a/content/browser/renderer_host/compositor_impl_android.h |
+++ b/content/browser/renderer_host/compositor_impl_android.h |
@@ -47,6 +47,14 @@ class CONTENT_EXPORT CompositorImpl |
// Returns the Java Surface object for a given view surface id. |
static jobject GetSurface(int surface_id); |
+ // Returns the Java Surface object for a given surface texture id. |
+ static jobject GetSurfaceTextureSurface(int render_process_id, |
+ int surface_texture_id); |
+ |
+ // Allocates a SurfaceTexture and returns a surface texture id. Returns -1 |
+ // on failure. |
+ static int AllocateSurfaceTexture(int render_process_id); |
+ |
// Compositor implementation. |
virtual void SetRootLayer(scoped_refptr<cc::Layer> root) OVERRIDE; |
virtual void SetWindowSurface(ANativeWindow* window) OVERRIDE; |