| 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 7e924b5b113dc4809865f560c0c0ce60d43bf56a..ec7bdc5b0345fa6abf97eb5e7872d31ef438d65d 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 {
|
| @@ -73,6 +79,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
|
|
|