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

Unified Diff: content/public/common/content_switches.cc

Issue 605373002: Chromium flag to enable accelerated YUV decoding (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: content/public/common/content_switches.cc
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
index fca420af4d83c3677a58cdcb55fe969545af1f0c..9196386e3652c6a0fb8d2bc4bfe4334f133330bf 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -277,6 +277,12 @@ const char kDisableZeroCopy[] = "disable-zero-copy";
// based tests.
const char kDomAutomationController[] = "dom-automation";
+// Enable partially decoding jpeg images using the GPU.
+// At least YUV decoding will be accelerated when using this flag.
+// Has no effect unless also using --force-gpu-rasterization.
Stephen White 2014/09/26 20:41:31 Technically, this isn't true: you could also get t
sugoi1 2014/09/29 14:57:27 Done.
+const char kEnableAcceleratedJpegDecoding[] =
+ "enable-accelerated-jpeg-decoding";
+
// Enable bleeding-edge code to make Chrome draw content faster. The changes
// behind this path are very likely to break lots of content.
// ** DO NOT use this flag unless you know what you are doing. **

Powered by Google App Engine
This is Rietveld 408576698