Index: gpu/command_buffer/client/gl_in_process_context.h |
diff --git a/gpu/command_buffer/client/gl_in_process_context.h b/gpu/command_buffer/client/gl_in_process_context.h |
index 09f8140ee0e87e34fc7452aabd2f8b365309eaf2..13dc9b2c155d5b4b48cd64949ca2615f1421a404 100644 |
--- a/gpu/command_buffer/client/gl_in_process_context.h |
+++ b/gpu/command_buffer/client/gl_in_process_context.h |
@@ -16,6 +16,12 @@ namespace gfx { |
class Size; |
} |
+#if defined(OS_ANDROID) |
+namespace gfx { |
+class SurfaceTextureBridge; |
+} |
+#endif |
+ |
namespace gpu { |
namespace gles2 { |
@@ -78,6 +84,11 @@ class GLES2_IMPL_EXPORT GLInProcessContext { |
// Allows direct access to the GLES2 implementation so a GLInProcessContext |
// can be used without making it current. |
virtual gles2::GLES2Implementation* GetImplementation() = 0; |
+ |
+#if defined(OS_ANDROID) |
+ virtual scoped_refptr<gfx::SurfaceTextureBridge> GetSurfaceTexture( |
+ uint32 stream_id) = 0; |
+#endif |
}; |
} // namespace gpu |