Commit 80071bc9 authored by Khushal Sagar's avatar Khushal Sagar Committed by Commit Bot

viz: Enable UsePreferredIntervalForVideo by default on desktop.

R=sunnyps@chromium.org

Bug: 976583
Change-Id: Ibf1de465a4094e3ce3d679552892731f3302c94d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2340110
Commit-Queue: Khushal <khushalsagar@chromium.org>
Commit-Queue: Sunny Sachanandani <sunnyps@chromium.org>
Auto-Submit: Khushal <khushalsagar@chromium.org>
Reviewed-by: default avatarSunny Sachanandani <sunnyps@chromium.org>
Cr-Commit-Position: refs/heads/master@{#795247}
parent 14a51794
...@@ -53,8 +53,13 @@ const base::Feature kVizForWebView{"VizForWebView", ...@@ -53,8 +53,13 @@ const base::Feature kVizForWebView{"VizForWebView",
const base::Feature kVizFrameSubmissionForWebView{ const base::Feature kVizFrameSubmissionForWebView{
"VizFrameSubmissionForWebView", base::FEATURE_DISABLED_BY_DEFAULT}; "VizFrameSubmissionForWebView", base::FEATURE_DISABLED_BY_DEFAULT};
#if defined(OS_ANDROID)
const base::Feature kUsePreferredIntervalForVideo{ const base::Feature kUsePreferredIntervalForVideo{
"UsePreferredIntervalForVideo", base::FEATURE_DISABLED_BY_DEFAULT}; "UsePreferredIntervalForVideo", base::FEATURE_DISABLED_BY_DEFAULT};
#else
const base::Feature kUsePreferredIntervalForVideo{
"UsePreferredIntervalForVideo", base::FEATURE_ENABLED_BY_DEFAULT};
#endif
// Whether we should use the real buffers corresponding to overlay candidates in // Whether we should use the real buffers corresponding to overlay candidates in
// order to do a pageflip test rather than allocating test buffers. // order to do a pageflip test rather than allocating test buffers.
...@@ -77,7 +82,7 @@ const base::Feature kWebRtcLogCapturePipeline{ ...@@ -77,7 +82,7 @@ const base::Feature kWebRtcLogCapturePipeline{
// The number of frames to wait before toggling to a lower frame rate. // The number of frames to wait before toggling to a lower frame rate.
const base::FeatureParam<int> kNumOfFramesToToggleInterval{ const base::FeatureParam<int> kNumOfFramesToToggleInterval{
&kUsePreferredIntervalForVideo, "NumOfFramesToToggleInterval", 60}; &kUsePreferredIntervalForVideo, "NumOfFramesToToggleInterval", 6};
#if defined(OS_WIN) #if defined(OS_WIN)
// Enables swap chains to call SetPresentDuration to request DWM/OS to reduce // Enables swap chains to call SetPresentDuration to request DWM/OS to reduce
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment