Index: content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.cc |
=================================================================== |
--- content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.cc (revision 94701) |
+++ content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.cc (working copy) |
@@ -333,8 +333,11 @@ |
void WebGraphicsContext3DCommandBufferImpl::copyTextureToParentTextureCHROMIUM( |
WebGLId texture, WebGLId parentTexture) { |
TRACE_EVENT0("gpu", "WebGfxCtx3DCmdBfrImpl::copyTextureToCompositor"); |
- gl_->CopyTextureToParentTextureCHROMIUM(texture, parentTexture); |
+ |
gl_->Flush(); |
+ context_->MapExternalResourceToParent(gpu::resource_type::kTexture, |
+ texture, |
+ parentTexture); |
} |
void WebGraphicsContext3DCommandBufferImpl:: |