Index: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc |
diff --git a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc |
index 0c2bdbabe85a37780ec91b7ed8bb7abc887d755b..e8efc39535b77eccf7ae20dbaa992f82f1ac904d 100644 |
--- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc |
+++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc |
@@ -682,11 +682,16 @@ void WebGraphicsContext3DCommandBufferImpl::setVisibilityCHROMIUM( |
void WebGraphicsContext3DCommandBufferImpl::discardFramebufferEXT( |
WGC3Denum target, WGC3Dsizei numAttachments, const WGC3Denum* attachments) { |
+ // TODO(jamesr): Call the real function when it exists on GLES2Implementation. |
+ // gl_->DiscardFramebufferEXT(target, numAttachments, attachments); |
+} |
+ |
+void WebGraphicsContext3DCommandBufferImpl::discardBackbufferCHROMIUM() { |
gl_->Flush(); |
command_buffer_->DiscardBackbuffer(); |
} |
-void WebGraphicsContext3DCommandBufferImpl::ensureFramebufferCHROMIUM() { |
+void WebGraphicsContext3DCommandBufferImpl::ensureBackbufferCHROMIUM() { |
gl_->Flush(); |
command_buffer_->EnsureBackbuffer(); |
} |