Chromium Code Reviews| Index: content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.cc |
| diff --git a/content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.cc b/content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.cc |
| index a39a118da75b564690132cf29b1455bc66061a4d..ebe66b882e33732690eac3ab8c354a1407118c54 100644 |
| --- a/content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.cc |
| +++ b/content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.cc |
| @@ -340,6 +340,19 @@ void WebGraphicsContext3DCommandBufferImpl::copyTextureToParentTextureCHROMIUM( |
| parentTexture); |
| } |
| +void WebGraphicsContext3DCommandBufferImpl::mapExternalTextureCHROMIUM( |
| + WebGLId source_texture, WebGraphicsContext3D* source_context, |
| + WebGLId destination_texture) { |
| + WebGraphicsContext3DCommandBufferImpl* source_cmdbuffer_context = |
| + static_cast<WebGraphicsContext3DCommandBufferImpl*>(source_context); |
|
apatrick_chromium
2011/07/29 23:59:04
indentation
|
| + context_->MapExternalResource(gpu::resource_type::kTexture, |
| + source_texture, |
| + source_cmdbuffer_context->context(), |
| + destination_texture); |
| + |
| +} |
| + |
| + |
| void WebGraphicsContext3DCommandBufferImpl:: |
| rateLimitOffscreenContextCHROMIUM() { |
| gl_->RateLimitOffscreenContextCHROMIUM(); |