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

Unified Diff: Source/web/WebRuntimeFeatures.cpp

Issue 689153004: Expose a public API option to force 2D canvas to use display lists (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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
« no previous file with comments | « no previous file | public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebRuntimeFeatures.cpp
diff --git a/Source/web/WebRuntimeFeatures.cpp b/Source/web/WebRuntimeFeatures.cpp
index 59719362e39b12faf095f33c48948b10c45d95e5..d0cde82e258bdebc90fa5f7f8370a2628f9c9180 100644
--- a/Source/web/WebRuntimeFeatures.cpp
+++ b/Source/web/WebRuntimeFeatures.cpp
@@ -84,6 +84,11 @@ void WebRuntimeFeatures::enableDecodeToYUV(bool enable)
RuntimeEnabledFeatures::setDecodeToYUVEnabled(enable);
}
+void WebRuntimeFeatures::forceDisplayList2dCanvas(bool enable)
+{
+ RuntimeEnabledFeatures::setForceDisplayList2dCanvasEnabled(enable);
+}
+
void WebRuntimeFeatures::enableDisplayList2dCanvas(bool enable)
{
RuntimeEnabledFeatures::setDisplayList2dCanvasEnabled(enable);
« no previous file with comments | « no previous file | public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698