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

Issue 2573933002: Restore switch kDisableWebRtcHWEncoding (Closed)

Created:
4 years ago by braveyao
Modified:
3 years, 11 months ago
Reviewers:
jam, jwd, Pawel Osciak
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, alemate+watch_chromium.org, creis+watch_chromium.org, oshima+watch_chromium.org, posciak+watch_chromium.org, jam, nasko+codewatch_chromium.org, achuith+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, asvitkine+watch_chromium.org, piman+watch_chromium.org, mcasas+watch+vc_chromium.org, davemoore+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Restore switch kDisableWebRtcHWEncoding In cl https://codereview.chromium.org/2549283002/, kDisableWebRtcHWEncoding was renamed to kDisableWebRtcHWVP8Encoding by the review comments. And as posciak@ mentioned later in that cl: ------------------------------------------------------------------------------- kDisableWebRtcHWEncoding was essential for Chrome OS as we had an ability to have a global switch to disable all HW encoding with it, including both H264 and VP8 encoding. It's very useful and widely documented and known, and used by QA and developers. We would really prefer to keep it please. ------------------------------------------------------------------------------- So kDisableWabRtcHWEncoding is restored here. BUG=664652 Review-Url: https://codereview.chromium.org/2573933002 Cr-Commit-Position: refs/heads/master@{#444102} Committed: https://chromium.googlesource.com/chromium/src/+/e29be16f1013dfa1f3f5f2e8108152aca312fa9a

Patch Set 1 #

Total comments: 2

Patch Set 2 : address comment in histograms.xml #

Patch Set 3 : check kDisableWebRtcHWEncoding only at creating encoder_factory #

Total comments: 24

Patch Set 4 : keep switches in right order #

Total comments: 2

Patch Set 5 : rebase to Dec21 #

Patch Set 6 : make H264 flag available on CrOS. #

Total comments: 2

Patch Set 7 : renew comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -22 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/login/chrome_restart_request.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/browser/gpu/compositor_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/gpu/gpu_data_manager_impl_private.cc View 1 2 3 4 5 6 1 chunk +14 lines, -7 lines 0 comments Download
M content/browser/gpu/gpu_process_host.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/public/browser/gpu_utils.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M content/public/common/content_switches.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M content/public/common/content_switches.cc View 1 2 3 4 1 chunk +6 lines, -3 lines 0 comments Download
M content/renderer/media/webrtc/peer_connection_dependency_factory.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 64 (41 generated)
braveyao
Hi jam@, please take a look when you get a chance.
4 years ago (2016-12-13 20:08:57 UTC) #6
jam
lgtm
4 years ago (2016-12-14 17:44:05 UTC) #7
braveyao
Hi jwd@, need owner's review to histograms.xml again. sorry for the back and forth.
4 years ago (2016-12-14 17:56:54 UTC) #9
jwd
https://codereview.chromium.org/2573933002/diff/1/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (left): https://codereview.chromium.org/2573933002/diff/1/tools/metrics/histograms/histograms.xml#oldcode92783 tools/metrics/histograms/histograms.xml:92783: - <int value="-1948540128" label="disable-webrtc-hw-encoding (deprecated)"/> Can you keep this ...
4 years ago (2016-12-14 18:10:03 UTC) #10
braveyao
Hi jwd@, PTAL. https://codereview.chromium.org/2573933002/diff/1/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (left): https://codereview.chromium.org/2573933002/diff/1/tools/metrics/histograms/histograms.xml#oldcode92783 tools/metrics/histograms/histograms.xml:92783: - <int value="-1948540128" label="disable-webrtc-hw-encoding (deprecated)"/> On ...
4 years ago (2016-12-14 19:15:07 UTC) #13
Pawel Osciak
Thank you for the patch. Would it however be possible to keep checking only for ...
4 years ago (2016-12-15 00:15:41 UTC) #16
braveyao
On 2016/12/15 00:15:41, Pawel Osciak wrote: > Thank you for the patch. Would it however ...
4 years ago (2016-12-15 00:34:45 UTC) #17
Pawel Osciak
On 2016/12/15 00:34:45, braveyao wrote: > On 2016/12/15 00:15:41, Pawel Osciak wrote: > > Thank ...
4 years ago (2016-12-15 01:10:42 UTC) #18
braveyao
posciak@, thanks for the advice! Creating an encoder factory with no codec enabled also works ...
4 years ago (2016-12-15 01:42:48 UTC) #21
Pawel Osciak
https://codereview.chromium.org/2573933002/diff/40001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/2573933002/diff/40001/chrome/browser/about_flags.cc#newcode710 chrome/browser/about_flags.cc:710: IDS_FLAGS_WEBRTC_HW_H264_ENCODING_DESCRIPTION, kOsAndroid, This flag is marked here, as well ...
4 years ago (2016-12-15 05:45:53 UTC) #24
braveyao
posciak@, please check my replies and offer further opinion. The major concern is if we ...
4 years ago (2016-12-15 20:46:24 UTC) #29
jwd
histograms lgtm
4 years ago (2016-12-19 16:21:16 UTC) #30
Pawel Osciak
https://codereview.chromium.org/2573933002/diff/40001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/2573933002/diff/40001/chrome/browser/about_flags.cc#newcode710 chrome/browser/about_flags.cc:710: IDS_FLAGS_WEBRTC_HW_H264_ENCODING_DESCRIPTION, kOsAndroid, On 2016/12/15 20:46:24, braveyao wrote: > On ...
4 years ago (2016-12-20 01:49:17 UTC) #31
braveyao
Hi posciak@, comments all answered. Again, the changes in this cl are for this purpose: ...
4 years ago (2016-12-20 19:09:14 UTC) #32
Pawel Osciak
On 2016/12/20 19:09:14, braveyao wrote: > Hi posciak@, comments all answered. > Again, the changes ...
4 years ago (2016-12-21 01:12:58 UTC) #33
braveyao
Hi posciak@, enabled H264 flag for CrOS and adjusted the logic in gpu_data_manager_impl_private.cc to be ...
4 years ago (2016-12-21 02:01:40 UTC) #38
braveyao
Sorry for forgetting upload the rebase first. Separated yesterdays patchset into two for easy reviewing. ...
4 years ago (2016-12-21 22:07:57 UTC) #42
Pawel Osciak
https://codereview.chromium.org/2573933002/diff/120001/content/browser/gpu/gpu_data_manager_impl_private.cc File content/browser/gpu/gpu_data_manager_impl_private.cc (right): https://codereview.chromium.org/2573933002/diff/120001/content/browser/gpu/gpu_data_manager_impl_private.cc#newcode780 content/browser/gpu/gpu_data_manager_impl_private.cc:780: if (IsFeatureBlacklisted(gpu::GPU_FEATURE_TYPE_ACCELERATED_VIDEO_ENCODE) && Sorry, I'm confused by the intended ...
3 years, 11 months ago (2017-01-11 09:55:35 UTC) #45
braveyao
https://codereview.chromium.org/2573933002/diff/120001/content/browser/gpu/gpu_data_manager_impl_private.cc File content/browser/gpu/gpu_data_manager_impl_private.cc (right): https://codereview.chromium.org/2573933002/diff/120001/content/browser/gpu/gpu_data_manager_impl_private.cc#newcode780 content/browser/gpu/gpu_data_manager_impl_private.cc:780: if (IsFeatureBlacklisted(gpu::GPU_FEATURE_TYPE_ACCELERATED_VIDEO_ENCODE) && On 2017/01/11 09:55:35, Pawel Osciak wrote: ...
3 years, 11 months ago (2017-01-11 20:46:06 UTC) #46
braveyao
Hi posciak, the comments is renewed as the offline discuss. PTAL.
3 years, 11 months ago (2017-01-12 20:43:25 UTC) #53
Pawel Osciak
Thank you. lgtm
3 years, 11 months ago (2017-01-16 07:48:09 UTC) #54
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2573933002/140001
3 years, 11 months ago (2017-01-17 18:48:20 UTC) #61
commit-bot: I haz the power
3 years, 11 months ago (2017-01-17 18:54:15 UTC) #64
Message was sent while issue was closed.
Committed patchset #7 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/e29be16f1013dfa1f3f5f2e81081...

Powered by Google App Engine
This is Rietveld 408576698