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

Unified Diff: third_party/WebKit/Source/web/WebRuntimeFeatures.cpp

Issue 2141793002: Improving canvas 2D performance by switching graphics rendering pipeline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor change 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/web/WebRuntimeFeatures.cpp
diff --git a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
index a785c99efd1c83057b9a257a48677347905884fc..f84b3de2592f1d5cd978a4c277e6421c1a114c94 100644
--- a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
+++ b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
@@ -105,6 +105,11 @@ void WebRuntimeFeatures::enableDisplayList2dCanvas(bool enable)
RuntimeEnabledFeatures::setDisplayList2dCanvasEnabled(enable);
}
+void WebRuntimeFeatures::enableCanvas2dDynamicRenderingModeSwitching(bool enable)
+{
+ RuntimeEnabledFeatures::setEnableCanvas2dDynamicRenderingModeSwitchingEnabled(enable);
+}
+
void WebRuntimeFeatures::enableDoNotUnlockSharedBuffer(bool enable)
{
RuntimeEnabledFeatures::setDoNotUnlockSharedBufferEnabled(enable);
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp ('k') | third_party/WebKit/public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698