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

Unified Diff: third_party/WebKit/Source/core/html/HTMLCanvasElement.h

Issue 2141793002: Improving canvas 2D performance by switching graphics rendering pipeline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/core/html/HTMLCanvasElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLCanvasElement.h b/third_party/WebKit/Source/core/html/HTMLCanvasElement.h
index 4abe0c5bb4bae9c84da0a7338843baa4a1dd8858..0a73e6fe4f72ef9419914e99fc51ab51814f3fff 100644
--- a/third_party/WebKit/Source/core/html/HTMLCanvasElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLCanvasElement.h
@@ -262,6 +262,8 @@ private:
// Used for OffscreenCanvas that controls this HTML canvas element
std::unique_ptr<CanvasSurfaceLayerBridge> m_surfaceLayerBridge;
+
+ int m_numFramesSincePipelineSwitch;
Justin Novosad 2016/07/12 19:31:23 m_numFramesSinceLastRenderingModeSwitch;
sebastienlc 2016/07/13 19:51:02 Done.
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698