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

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

Issue 2192493003: Enable GPU acceleration in 2D OffscreenCanvases on main thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix layout test failures Created 4 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: 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 eb8509840a81e53beb7388f1398cdf70e0af2546..a10e638a7f6f55dc55fb09387fcd4fa6ba09e786 100644
--- a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
+++ b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
@@ -60,6 +60,11 @@ void WebRuntimeFeatures::enableTestOnlyFeatures(bool enable)
RuntimeEnabledFeatures::setTestFeaturesEnabled(enable);
}
+void WebRuntimeFeatures::enableAccelerated2dCanvas(bool enable)
+{
+ RuntimeEnabledFeatures::setAccelerated2dCanvasEnabled(enable);
+}
+
void WebRuntimeFeatures::enableAudioOutputDevices(bool enable)
{
RuntimeEnabledFeatures::setAudioOutputDevicesEnabled(enable);

Powered by Google App Engine
This is Rietveld 408576698