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

Unified Diff: third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h

Issue 2637553002: Stop unnecessary flushing in Canvas2DLayerBridge (Closed)
Patch Set: Created 3 years, 11 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: third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h
diff --git a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h
index faf0123e6c9e778224adba5d013fff0ebe30224a..53b26f1a3f3e144d8912099d85d16e1c79775293 100644
--- a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h
+++ b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h
@@ -266,6 +266,8 @@ class PLATFORM_EXPORT Canvas2DLayerBridge
bool m_surfaceCreationFailedAtLeastOnce = false;
bool m_hibernationScheduled = false;
bool m_dontUseIdleSchedulingForTesting = false;
+ bool m_didDrawSinceLastFlush = false;
+ bool m_didDrawSinceLastGpuFlush = false;
friend class Canvas2DLayerBridgeTest;
friend class CanvasRenderingContext2DTest;

Powered by Google App Engine
This is Rietveld 408576698