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

Issue 1805133002: Remove content switches dependency in content/common/gpu. (Closed)

Created:
4 years, 9 months ago by Peng
Modified:
4 years, 9 months ago
CC:
chromium-reviews, danakj+watch_chromium.org, darin-cc_chromium.org, feature-media-reviews_chromium.org, Fady Samuel, jam, jbauman+watch_chromium.org, kalyank, mcasas+watch_chromium.org, piman+watch_chromium.org, posciak+watch_chromium.org, sievers+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove content switches dependency in content/common/gpu. BUG=590825 CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel Committed: https://crrev.com/ea5b740f5c57b1f5218f062106cb68a8660c9e5f Cr-Commit-Position: refs/heads/master@{#381874}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Update #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -10 lines) Patch
M content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/media/gpu_video_encode_accelerator.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M content/common/gpu/media/video_decode_accelerator_unittest.cc View 1 2 chunks +1 line, -4 lines 2 comments Download
M content/public/common/content_switches.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M content/public/common/content_switches.cc View 1 1 chunk +0 lines, -3 lines 0 comments Download
M gpu/command_buffer/client/gpu_switches.h View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/client/gpu_switches.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (10 generated)
Peng
Hi piman, PTAL. Thanks.
4 years, 9 months ago (2016-03-15 19:54:09 UTC) #3
Peng
On 2016/03/15 19:54:09, Peng wrote: > Hi piman, PTAL. Thanks. kindly ping.
4 years, 9 months ago (2016-03-16 20:27:04 UTC) #4
piman
https://codereview.chromium.org/1805133002/diff/1/content/common/gpu/media/video_decode_accelerator_unittest.cc File content/common/gpu/media/video_decode_accelerator_unittest.cc (left): https://codereview.chromium.org/1805133002/diff/1/content/common/gpu/media/video_decode_accelerator_unittest.cc#oldcode526 content/common/gpu/media/video_decode_accelerator_unittest.cc:526: cmd_line->HasSwitch(switches::kEnableAcceleratedVpxDecode); Aren't we removing functionality here?
4 years, 9 months ago (2016-03-17 00:17:25 UTC) #5
Peng
https://codereview.chromium.org/1805133002/diff/1/content/common/gpu/media/video_decode_accelerator_unittest.cc File content/common/gpu/media/video_decode_accelerator_unittest.cc (left): https://codereview.chromium.org/1805133002/diff/1/content/common/gpu/media/video_decode_accelerator_unittest.cc#oldcode526 content/common/gpu/media/video_decode_accelerator_unittest.cc:526: cmd_line->HasSwitch(switches::kEnableAcceleratedVpxDecode); On 2016/03/17 00:17:25, piman wrote: > Aren't we ...
4 years, 9 months ago (2016-03-17 14:22:31 UTC) #6
Peng
https://codereview.chromium.org/1805133002/diff/1/content/common/gpu/media/video_decode_accelerator_unittest.cc File content/common/gpu/media/video_decode_accelerator_unittest.cc (left): https://codereview.chromium.org/1805133002/diff/1/content/common/gpu/media/video_decode_accelerator_unittest.cc#oldcode526 content/common/gpu/media/video_decode_accelerator_unittest.cc:526: cmd_line->HasSwitch(switches::kEnableAcceleratedVpxDecode); On 2016/03/17 14:22:31, Peng wrote: > On 2016/03/17 ...
4 years, 9 months ago (2016-03-17 15:00:44 UTC) #7
Peng
4 years, 9 months ago (2016-03-17 15:00:44 UTC) #8
piman
+dalecurtis who added this flag. Is this still used?
4 years, 9 months ago (2016-03-17 17:40:09 UTC) #10
DaleCurtis
https://codereview.chromium.org/1805133002/diff/1/content/common/gpu/media/video_decode_accelerator_unittest.cc File content/common/gpu/media/video_decode_accelerator_unittest.cc (left): https://codereview.chromium.org/1805133002/diff/1/content/common/gpu/media/video_decode_accelerator_unittest.cc#oldcode526 content/common/gpu/media/video_decode_accelerator_unittest.cc:526: cmd_line->HasSwitch(switches::kEnableAcceleratedVpxDecode); On 2016/03/17 at 15:00:43, Peng wrote: > On ...
4 years, 9 months ago (2016-03-17 17:43:22 UTC) #12
DaleCurtis
lgtm for deletion from the DXVA unittest unless ananta@ objects. https://codereview.chromium.org/1805133002/diff/1/content/common/gpu/media/video_decode_accelerator_unittest.cc File content/common/gpu/media/video_decode_accelerator_unittest.cc (left): https://codereview.chromium.org/1805133002/diff/1/content/common/gpu/media/video_decode_accelerator_unittest.cc#oldcode526 ...
4 years, 9 months ago (2016-03-17 18:42:18 UTC) #13
piman
LGTM if dalecurtis/ananta are happy
4 years, 9 months ago (2016-03-17 18:47:52 UTC) #14
ananta
lgtm
4 years, 9 months ago (2016-03-17 22:47:09 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1805133002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1805133002/20001
4 years, 9 months ago (2016-03-17 23:36:25 UTC) #18
commit-bot: I haz the power
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/190812)
4 years, 9 months ago (2016-03-18 01:30:49 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1805133002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1805133002/20001
4 years, 9 months ago (2016-03-18 01:32:18 UTC) #22
Pawel Osciak
https://codereview.chromium.org/1805133002/diff/20001/content/common/gpu/media/video_decode_accelerator_unittest.cc File content/common/gpu/media/video_decode_accelerator_unittest.cc (right): https://codereview.chromium.org/1805133002/diff/20001/content/common/gpu/media/video_decode_accelerator_unittest.cc#newcode523 content/common/gpu/media/video_decode_accelerator_unittest.cc:523: const bool enable_accelerated_vpx_decode = false; Removing this may prevent ...
4 years, 9 months ago (2016-03-18 01:56:57 UTC) #24
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-18 02:25:29 UTC) #25
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/ea5b740f5c57b1f5218f062106cb68a8660c9e5f Cr-Commit-Position: refs/heads/master@{#381874}
4 years, 9 months ago (2016-03-18 02:26:38 UTC) #27
Peng
4 years, 9 months ago (2016-03-18 15:16:44 UTC) #28
Message was sent while issue was closed.
https://codereview.chromium.org/1805133002/diff/20001/content/common/gpu/medi...
File content/common/gpu/media/video_decode_accelerator_unittest.cc (right):

https://codereview.chromium.org/1805133002/diff/20001/content/common/gpu/medi...
content/common/gpu/media/video_decode_accelerator_unittest.cc:523: const bool
enable_accelerated_vpx_decode = false;
On 2016/03/18 01:56:57, Pawel Osciak wrote:
> Removing this may prevent us from testing this feature I believe. I'm not the
> owner of DXVA, but this is perhaps needed?

Do we need pass the --enable-accelerated-vpx-decode to this unit test manually?
If not, I think the change is OK. I think it is not hard to test DXVAVDA decoder
with both vpx enabled and disabled. Just need make the
enable_accelerated_vpx_decode as an argument, and call this function twice with
different bool values. But seems we are not testing the DXVAV decoder with vpx
enabled right now, so I didn't do it. But we could do it when it is needed.
Thought?

Powered by Google App Engine
This is Rietveld 408576698