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

Unified Diff: Source/platform/graphics/Canvas2DLayerBridge.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/Canvas2DLayerBridge.h
diff --git a/Source/platform/graphics/Canvas2DLayerBridge.h b/Source/platform/graphics/Canvas2DLayerBridge.h
index 54a094d6369fb506e1e56d4fff5df1e5395ffd99..bca995deeadae6e0c0e4c1b53c72fbd0fb985a39 100644
--- a/Source/platform/graphics/Canvas2DLayerBridge.h
+++ b/Source/platform/graphics/Canvas2DLayerBridge.h
@@ -65,7 +65,7 @@ public:
void willOverwriteAllPixels();
void willOverwriteCanvas();
SkCanvas* canvas();
- SkCanvas* immediateCanvas();
+ void disableDeferral();
bool checkSurfaceValid();
bool restoreSurface();
WebLayer* layer() const;
@@ -108,6 +108,7 @@ private:
bool m_rateLimitingEnabled;
SkFilterQuality m_filterQuality;
bool m_isHidden;
+ bool m_isDeferralEnabled;
friend class Canvas2DLayerBridgeTest;
« no previous file with comments | « Source/platform/graphics/Canvas2DImageBufferSurface.h ('k') | Source/platform/graphics/Canvas2DLayerBridge.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698