Index: webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h |
diff --git a/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h b/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h |
index 6330a348d899dd4ace1d011b74c86e331b2c6cf3..5de62987a08a5b5d0739a230310186314e43c3eb 100644 |
--- a/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h |
+++ b/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h |
@@ -405,6 +405,9 @@ class WebGraphicsContext3DInProcessCommandBufferImpl |
virtual void copyTextureToParentTextureCHROMIUM( |
WebGLId texture, WebGLId parentTexture); |
+ virtual void mapExternalTextureCHROMIUM( |
+ WebGLId source_texture, WebGraphicsContext3D* source_context, |
+ WebGLId destination_texture); |
virtual void rateLimitOffscreenContextCHROMIUM(); |
@@ -428,6 +431,8 @@ class WebGraphicsContext3DInProcessCommandBufferImpl |
WebGraphicsContext3D::WebGraphicsContextLostCallback* callback); |
virtual WGC3Denum getGraphicsResetStatusARB(); |
+ GLInProcessContext* context() const { return context_; } |
+ |
private: |
// SwapBuffers callback. |
void OnSwapBuffersComplete(); |