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

Side by Side Diff: media/base/media_switches.cc

Issue 2954773002: Adds video-surface feature switch. (Closed)
Patch Set: Switch to CamelCase. Created 3 years, 5 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 unified diff | Download patch
« no previous file with comments | « media/base/media_switches.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/base/media_switches.h" 5 #include "media/base/media_switches.h"
6 #include "base/command_line.h" 6 #include "base/command_line.h"
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 #include "ppapi/features/features.h" 8 #include "ppapi/features/features.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 "SpecCompliantCanPlayThrough", base::FEATURE_ENABLED_BY_DEFAULT}; 236 "SpecCompliantCanPlayThrough", base::FEATURE_ENABLED_BY_DEFAULT};
237 237
238 // Use shared block-based buffering for media. 238 // Use shared block-based buffering for media.
239 const base::Feature kUseNewMediaCache{"use-new-media-cache", 239 const base::Feature kUseNewMediaCache{"use-new-media-cache",
240 base::FEATURE_ENABLED_BY_DEFAULT}; 240 base::FEATURE_ENABLED_BY_DEFAULT};
241 241
242 // Correct video colors based on output display? 242 // Correct video colors based on output display?
243 const base::Feature kVideoColorManagement{"video-color-management", 243 const base::Feature kVideoColorManagement{"video-color-management",
244 base::FEATURE_DISABLED_BY_DEFAULT}; 244 base::FEATURE_DISABLED_BY_DEFAULT};
245 245
246 // Use SurfaceLayer instead of VideoLayer.
247 const base::Feature kUseSurfaceLayerForVideo{"UseSurfaceLayerForVideo",
248 base::FEATURE_DISABLED_BY_DEFAULT};
249
246 // Inform video blitter of video color space. 250 // Inform video blitter of video color space.
247 const base::Feature kVideoBlitColorAccuracy{"video-blit-color-accuracy", 251 const base::Feature kVideoBlitColorAccuracy{"video-blit-color-accuracy",
248 base::FEATURE_DISABLED_BY_DEFAULT}; 252 base::FEATURE_DISABLED_BY_DEFAULT};
249 253
250 // Enables support for External Clear Key (ECK) key system for testing on 254 // Enables support for External Clear Key (ECK) key system for testing on
251 // supported platforms. On platforms that do not support ECK, this feature has 255 // supported platforms. On platforms that do not support ECK, this feature has
252 // no effect. 256 // no effect.
253 const base::Feature kExternalClearKeyForTesting{ 257 const base::Feature kExternalClearKeyForTesting{
254 "external-clear-key-for-testing", base::FEATURE_DISABLED_BY_DEFAULT}; 258 "external-clear-key-for-testing", base::FEATURE_DISABLED_BY_DEFAULT};
255 259
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 311
308 // The default value is platform dependent. 312 // The default value is platform dependent.
309 #if defined(OS_ANDROID) 313 #if defined(OS_ANDROID)
310 return switches::autoplay::kUserGestureRequiredPolicy; 314 return switches::autoplay::kUserGestureRequiredPolicy;
311 #else 315 #else
312 return switches::autoplay::kNoUserGestureRequiredPolicy; 316 return switches::autoplay::kNoUserGestureRequiredPolicy;
313 #endif 317 #endif
314 } 318 }
315 319
316 } // namespace media 320 } // namespace media
OLDNEW
« no previous file with comments | « media/base/media_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698