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

Unified Diff: android_webview/common/aw_switches.h

Issue 140753006: [Android WebView] Turn on accelerated canvas based on View.isHardwareAccelerated (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review comments Created 6 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
« no previous file with comments | « no previous file | android_webview/common/aw_switches.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/common/aw_switches.h
diff --git a/android_webview/common/aw_switches.h b/android_webview/common/aw_switches.h
index c718c05abd76f9aa61965796c7ee439e801493b9..7b31bfd57938a903c98e6c01e3d39852fe0dd84c 100644
--- a/android_webview/common/aw_switches.h
+++ b/android_webview/common/aw_switches.h
@@ -20,6 +20,10 @@ extern const char kTileMemoryMultiplier[];
// Maximum number of gralloc allocations per webview.
extern const char kNumGrallocBuffersPerWebview[];
+// Explicitly enable accelerated 2d canvas.
+// TODO(boliu): Remove this switch once on by default.
+extern const char kEnableAccelerated2dCanvas[];
+
} // namespace switches
#endif // ANDROID_WEBVIEW_COMMON_AW_SWITCHES_H_
« no previous file with comments | « no previous file | android_webview/common/aw_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698