Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2311)

Unified Diff: Source/platform/graphics/Canvas2DImageBufferSurface.h

Issue 1297663002: Eliminate deferral overhead with canvas to canvas draws (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: git cl web Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/platform/graphics/Canvas2DImageBufferSurface.h
diff --git a/Source/platform/graphics/Canvas2DImageBufferSurface.h b/Source/platform/graphics/Canvas2DImageBufferSurface.h
index e9020268345ba442068a0c42b85622b2b55cd766..454f46cc1e702d164317e69b3a6e19b298e2232d 100644
--- a/Source/platform/graphics/Canvas2DImageBufferSurface.h
+++ b/Source/platform/graphics/Canvas2DImageBufferSurface.h
@@ -58,7 +58,7 @@ public:
void finalizeFrame(const FloatRect &dirtyRect) override { m_layerBridge->finalizeFrame(dirtyRect); }
void willOverwriteCanvas() override { m_layerBridge->willOverwriteCanvas(); }
SkCanvas* canvas() override { return m_layerBridge->canvas(); }
- SkCanvas* immediateCanvas() override { return m_layerBridge->immediateCanvas(); }
+ void disableDeferral() override { m_layerBridge->disableDeferral(); }
bool isValid() const override { return m_layerBridge && m_layerBridge->checkSurfaceValid(); }
bool restore() override { return m_layerBridge->restoreSurface(); }
WebLayer* layer() const override { return m_layerBridge->layer(); }
« no previous file with comments | « Source/modules/canvas2d/CanvasRenderingContext2D.cpp ('k') | Source/platform/graphics/Canvas2DLayerBridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698