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

Issue 1644763002: Add virtual layout test for GPU accelerated decoding. (Closed)

Created:
4 years, 10 months ago by chcunningham
Modified:
4 years, 4 months ago
CC:
blink-reviews, chromium-reviews, feature-media-reviews_chromium.org, CalebRouleau
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add gpu accelerated config changes to SmokeTests. SmokeTests are the subset of layout tests run on the android bots. This change adds coverage to several historically problematic config-change scenarios. These tests use a virtual suite that sets the flag "--use-gpu-in-tests". This flag overrides the default test behavior of using MesaGL, which is not capable of creating surfaces to use with gpu accelerated decoding (at least on Android). This change also fixes some test/expectations rot. BUG=555703 TESTS=Config change LayoutTests. Committed: https://crrev.com/b8bf5eba6b6cd3623f16404c746251bf662d141d Committed: https://crrev.com/b0a4caeabd005d3e5d3be751d52e1133758bed28 Cr-Original-Commit-Position: refs/heads/master@{#407938} Cr-Commit-Position: refs/heads/master@{#408266}

Patch Set 1 #

Patch Set 2 : Add smoketests, reduce non-android bot impact #

Patch Set 3 : Rebase, fix tests, tweak approach #

Total comments: 4

Patch Set 4 : Use virtual mediasource-play in SmokeTests. #

Total comments: 6

Patch Set 5 : Rebase and move expectations to NeverFixTests #

Patch Set 6 : Rebase #

Patch Set 7 : Fix formatting for new addition to switches #

Patch Set 8 : Removing enabled-unified-media-pipeline flag - no longer needed/meaningful #

Patch Set 9 : Skip desktop virtual tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -56 lines) Patch
M content/browser/gpu/gpu_process_host.cc View 1 2 3 4 5 6 1 chunk +41 lines, -40 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/app/shell_main_delegate.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/MSANExpectations View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/NeverFixTests View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/SmokeTests View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/VirtualTestSuites View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/android/http/tests/media/media-source/mediasource-config-change-mp4-a-bitrate-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/platform/android/http/tests/media/media-source/mediasource-config-change-mp4-av-audio-bitrate-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/platform/android/http/tests/media/media-source/mediasource-config-change-mp4-av-framesize-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/platform/android/http/tests/media/media-source/mediasource-config-change-mp4-av-video-bitrate-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/platform/android/http/tests/media/media-source/mediasource-config-change-mp4-v-bitrate-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/platform/android/http/tests/media/media-source/mediasource-config-change-mp4-v-framerate-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/platform/android/http/tests/media/media-source/mediasource-config-change-mp4-v-framesize-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
A third_party/WebKit/LayoutTests/virtual/media-gpu-accelerated/http/tests/media/media-source/README.txt View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 96 (50 generated)
chcunningham
These tests will probably still fail on the bots because I think ffmpeg branding needs ...
4 years, 10 months ago (2016-01-27 22:13:12 UTC) #2
wolenetz
I'm unfamiliar with the mapping of the virtual test suites: 1) For non-Android platforms, will ...
4 years, 10 months ago (2016-01-27 22:24:39 UTC) #3
wolenetz
Answered a couple inline to myself :). Also a couple new questions: On 2016/01/27 22:24:39, ...
4 years, 10 months ago (2016-02-24 22:20:22 UTC) #4
wolenetz
From chat with chcunningham@ LGTM under the following assumptions: Addition of the spitzer virtual suite ...
4 years, 10 months ago (2016-02-24 23:20:04 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1644763002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1644763002/1
4 years, 10 months ago (2016-02-24 23:25:35 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/179197)
4 years, 10 months ago (2016-02-25 02:38:57 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1644763002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1644763002/1
4 years, 9 months ago (2016-03-02 20:42:23 UTC) #11
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-02 21:42:55 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1644763002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1644763002/20001
4 years, 8 months ago (2016-03-29 00:02:13 UTC) #15
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/195236)
4 years, 8 months ago (2016-03-29 00:45:13 UTC) #17
chcunningham
https://codereview.chromium.org/1644763002/diff/40001/third_party/WebKit/LayoutTests/virtual/media-gpu-accelerated/http/tests/media/media-source/README.txt File third_party/WebKit/LayoutTests/virtual/media-gpu-accelerated/http/tests/media/media-source/README.txt (right): https://codereview.chromium.org/1644763002/diff/40001/third_party/WebKit/LayoutTests/virtual/media-gpu-accelerated/http/tests/media/media-source/README.txt#newcode3 third_party/WebKit/LayoutTests/virtual/media-gpu-accelerated/http/tests/media/media-source/README.txt:3: The media-gpu-accelerated prefix is common to a handful of ...
4 years, 5 months ago (2016-07-16 00:57:51 UTC) #18
chcunningham
Bots should all be happy now. I changed the mediasourc-play test to come from the ...
4 years, 5 months ago (2016-07-16 19:03:00 UTC) #20
chcunningham
On 2016/02/24 23:20:04, wolenetz_OoO_July_15PM wrote: > From chat with chcunningham@ > > LGTM under the ...
4 years, 5 months ago (2016-07-16 20:19:39 UTC) #24
chcunningham
Matt pls take a look. Would love to land ASAP before it rots further.
4 years, 5 months ago (2016-07-19 20:03:51 UTC) #29
wolenetz
looking pretty good; one question: https://codereview.chromium.org/1644763002/diff/60001/third_party/WebKit/LayoutTests/TestExpectations File third_party/WebKit/LayoutTests/TestExpectations (right): https://codereview.chromium.org/1644763002/diff/60001/third_party/WebKit/LayoutTests/TestExpectations#newcode738 third_party/WebKit/LayoutTests/TestExpectations:738: # These tests use ...
4 years, 5 months ago (2016-07-19 20:47:10 UTC) #30
chcunningham
We chatted. For posterity: > android without flags (no virtual suite): should fail (but not ...
4 years, 5 months ago (2016-07-19 23:21:38 UTC) #31
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/1644763002/60001
4 years, 5 months ago (2016-07-19 23:22:30 UTC) #34
wolenetz
On 2016/07/19 23:21:38, chcunningham wrote: > We chatted. For posterity: > > > android without ...
4 years, 5 months ago (2016-07-19 23:23:07 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/221036)
4 years, 5 months ago (2016-07-19 23:33:23 UTC) #37
chcunningham
+jochen for content/
4 years, 5 months ago (2016-07-19 23:40:08 UTC) #39
chcunningham
+dpranke for SmokeTests
4 years, 5 months ago (2016-07-19 23:43:01 UTC) #41
jochen (gone - plz use gerrit)
please format the CL description to match https://sites.google.com/a/chromium.org/dev/developers/contributing-code?pli=1#TOC-Writing-change-list-descriptions
4 years, 5 months ago (2016-07-20 11:05:56 UTC) #42
jochen (gone - plz use gerrit)
with that addressed, content/ lgtm
4 years, 5 months ago (2016-07-20 11:06:16 UTC) #43
chcunningham
On 2016/07/20 11:06:16, jochen wrote: > with that addressed, content/ lgtm Done, thanks.
4 years, 5 months ago (2016-07-20 19:09:38 UTC) #45
chcunningham
Dirk, can you take a look?
4 years, 5 months ago (2016-07-21 17:32:59 UTC) #46
Dirk Pranke
https://codereview.chromium.org/1644763002/diff/60001/content/browser/gpu/gpu_process_host.cc File content/browser/gpu/gpu_process_host.cc (right): https://codereview.chromium.org/1644763002/diff/60001/content/browser/gpu/gpu_process_host.cc#newcode111 content/browser/gpu/gpu_process_host.cc:111: switches::kDisableAcceleratedVideoDecode, is this indentation change correct? https://codereview.chromium.org/1644763002/diff/60001/third_party/WebKit/LayoutTests/TestExpectations File third_party/WebKit/LayoutTests/TestExpectations ...
4 years, 5 months ago (2016-07-21 20:45:05 UTC) #48
chcunningham
https://codereview.chromium.org/1644763002/diff/60001/content/browser/gpu/gpu_process_host.cc File content/browser/gpu/gpu_process_host.cc (right): https://codereview.chromium.org/1644763002/diff/60001/content/browser/gpu/gpu_process_host.cc#newcode111 content/browser/gpu/gpu_process_host.cc:111: switches::kDisableAcceleratedVideoDecode, On 2016/07/21 20:45:05, Dirk Pranke wrote: > is ...
4 years, 5 months ago (2016-07-21 21:04:36 UTC) #49
Dirk Pranke
https://codereview.chromium.org/1644763002/diff/60001/third_party/WebKit/LayoutTests/TestExpectations File third_party/WebKit/LayoutTests/TestExpectations (right): https://codereview.chromium.org/1644763002/diff/60001/third_party/WebKit/LayoutTests/TestExpectations#newcode738 third_party/WebKit/LayoutTests/TestExpectations:738: # These tests use gpu accelerated decoding and need ...
4 years, 5 months ago (2016-07-21 21:07:31 UTC) #50
chcunningham
On 2016/07/21 21:07:31, Dirk Pranke wrote: > https://codereview.chromium.org/1644763002/diff/60001/third_party/WebKit/LayoutTests/TestExpectations > File third_party/WebKit/LayoutTests/TestExpectations (right): > > https://codereview.chromium.org/1644763002/diff/60001/third_party/WebKit/LayoutTests/TestExpectations#newcode738 ...
4 years, 5 months ago (2016-07-22 22:12:59 UTC) #51
chcunningham
Dirk, lgty?
4 years, 4 months ago (2016-07-25 18:49:47 UTC) #57
Dirk Pranke
lgtm, though I still think the indentation change in the gpu file is weird :).
4 years, 4 months ago (2016-07-25 21:03:29 UTC) #61
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/1644763002/120001
4 years, 4 months ago (2016-07-25 23:16:31 UTC) #64
chcunningham
Thanks everyone :) On 2016/07/25 21:03:29, Dirk Pranke wrote: > lgtm, though I still think ...
4 years, 4 months ago (2016-07-25 23:16:50 UTC) #65
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/1644763002/140001
4 years, 4 months ago (2016-07-26 00:10:04 UTC) #69
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/261854)
4 years, 4 months ago (2016-07-26 02:13:09 UTC) #71
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/1644763002/140001
4 years, 4 months ago (2016-07-26 18:47:14 UTC) #73
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 4 months ago (2016-07-26 22:30:05 UTC) #75
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/b8bf5eba6b6cd3623f16404c746251bf662d141d Cr-Commit-Position: refs/heads/master@{#407938}
4 years, 4 months ago (2016-07-26 22:32:59 UTC) #77
robliao
A revert of this CL (patchset #8 id:140001) has been created in https://codereview.chromium.org/2184003002/ by robliao@chromium.org. ...
4 years, 4 months ago (2016-07-27 01:29:06 UTC) #78
chcunningham
Now skipping the tests in msan. Turns out to be a known limitation for msan ...
4 years, 4 months ago (2016-07-27 20:05:04 UTC) #80
chcunningham
Dirk, can you take a look at these latest PS. I'll assume the other reviewers ...
4 years, 4 months ago (2016-07-27 20:06:37 UTC) #83
Dirk Pranke
lgtm
4 years, 4 months ago (2016-07-27 22:55:34 UTC) #86
wolenetz
lgtm
4 years, 4 months ago (2016-07-27 22:59:38 UTC) #87
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/1644763002/160001
4 years, 4 months ago (2016-07-27 23:07:12 UTC) #90
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 4 months ago (2016-07-27 23:12:09 UTC) #92
commit-bot: I haz the power
4 years, 4 months ago (2016-07-27 23:14:35 UTC) #94
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/b0a4caeabd005d3e5d3be751d52e1133758bed28
Cr-Commit-Position: refs/heads/master@{#408266}

Powered by Google App Engine
This is Rietveld 408576698