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

Unified Diff: chrome/browser/ui/webui/gpu_internals_ui.cc

Issue 10909242: Add "panel_fitting" GPU feature type and use it for mirror mode. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Reorganized code per oshima's suggestion. Created 8 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: chrome/browser/ui/webui/gpu_internals_ui.cc
diff --git a/chrome/browser/ui/webui/gpu_internals_ui.cc b/chrome/browser/ui/webui/gpu_internals_ui.cc
index 4d79705e01a53f6b98c9cb47e76c0bf5122b756c..0e8afe167ab72cab7b00f2dd9b08adab80d4bbde 100644
--- a/chrome/browser/ui/webui/gpu_internals_ui.cc
+++ b/chrome/browser/ui/webui/gpu_internals_ui.cc
@@ -283,6 +283,14 @@ Value* GetFeatureStatus() {
"Accelerated video decode has been disabled, either via about:flags"
" or command line.",
true
+ },
+ {
+ "panel_fitting",
+ flags & content::GPU_FEATURE_TYPE_PANEL_FITTING,
+ command_line.HasSwitch(switches::kDisablePanelFitting),
+ "Panel fitting is unavailable, either disabled at the command"
+ " line or not supported by the current system.",
+ false
}
};
const size_t kNumFeatures = sizeof(kGpuFeatureInfo) / sizeof(GpuFeatureInfo);

Powered by Google App Engine
This is Rietveld 408576698