Index: Source/WebCore/platform/graphics/chromium/LayerRendererChromium.cpp |
=================================================================== |
--- Source/WebCore/platform/graphics/chromium/LayerRendererChromium.cpp (revision 114962) |
+++ Source/WebCore/platform/graphics/chromium/LayerRendererChromium.cpp (working copy) |
@@ -440,6 +440,12 @@ |
GLC(m_context.get(), m_context->blendFunc(GraphicsContext3D::ONE, GraphicsContext3D::ONE_MINUS_SRC_ALPHA)); |
} |
+void LayerRendererChromium::doNoOp() |
+{ |
+ GLC(m_context.get(), m_context->bindFramebuffer(GraphicsContext3D::FRAMEBUFFER, 0)); |
+ GLC(m_context.get(), m_context->flush()); |
+} |
+ |
void LayerRendererChromium::drawRenderPass(const CCRenderPass* renderPass) |
{ |
CCRenderSurface* renderSurface = renderPass->targetSurface(); |