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

Issue 1784193003: content gpu refactor: get rid of gpu related content switches. (Closed)

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

Description

content gpu refactor: get rid of gpu related content switches. BUG=590825 CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel CQ_EXTRA_TRYBOTS=tryserver.chromium.perf:winx64_10_perf_cq;tryserver.chromium.perf:mac_retina_perf_cq;tryserver.chromium.perf:linux_perf_cq Committed: https://crrev.com/9288ad04012900a9656959f441f4519f4239dccb Cr-Commit-Position: refs/heads/master@{#380906} Committed: https://crrev.com/34fb6bacfdd34c536f75504073ce1211898f413b Cr-Commit-Position: refs/heads/master@{#380988}

Patch Set 1 #

Patch Set 2 : Update #

Patch Set 3 : Update #

Patch Set 4 : Update #

Patch Set 5 : Update #

Patch Set 6 : Update #

Patch Set 7 : Update #

Total comments: 6

Patch Set 8 : update #

Total comments: 4

Patch Set 9 : Fix the compile problem on windows #

Unified diffs Side-by-side diffs Delta from patch set Stats (+205 lines, -138 lines) Patch
M content/common/gpu/gpu_host_messages.h View 1 2 3 4 5 6 7 8 1 chunk +10 lines, -0 lines 0 comments Download
M content/common/gpu/image_transport_surface_android.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -5 lines 0 comments Download
M content/common/gpu/image_transport_surface_win.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -9 lines 0 comments Download
M content/common/gpu/media/android_video_decode_accelerator.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M content/common/gpu/media/android_video_encode_accelerator.cc View 2 chunks +0 lines, -8 lines 0 comments Download
M content/common/gpu/media/dxva_video_decode_accelerator_win.h View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M content/common/gpu/media/dxva_video_decode_accelerator_win.cc View 1 2 6 chunks +6 lines, -8 lines 0 comments Download
M content/common/gpu/media/gpu_video_decode_accelerator.h View 1 2 3 4 5 6 4 chunks +21 lines, -2 lines 0 comments Download
M content/common/gpu/media/gpu_video_decode_accelerator.cc View 1 2 3 4 5 6 9 chunks +64 lines, -45 lines 0 comments Download
M content/common/gpu/media/gpu_video_encode_accelerator.h View 2 chunks +14 lines, -2 lines 0 comments Download
M content/common/gpu/media/gpu_video_encode_accelerator.cc View 1 2 3 4 5 4 chunks +32 lines, -22 lines 0 comments Download
M content/common/gpu/media/vaapi_wrapper.cc View 3 chunks +0 lines, -6 lines 0 comments Download
M content/common/gpu/media/video_decode_accelerator_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +9 lines, -5 lines 0 comments Download
M content/common/gpu/media/vt_video_decode_accelerator_mac.cc View 3 chunks +0 lines, -7 lines 0 comments Download
M content/gpu/gpu_child_thread.cc View 1 2 3 4 5 6 7 8 3 chunks +11 lines, -5 lines 0 comments Download
M content/gpu/gpu_main.cc View 1 2 2 chunks +0 lines, -10 lines 0 comments Download
M content/public/browser/gpu_utils.cc View 1 chunk +14 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gpu_preferences.h View 1 2 3 4 5 6 7 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (14 generated)
Peng
Hi piman, PTAL. Thanks.
4 years, 9 months ago (2016-03-11 19:50:38 UTC) #4
piman
LGTM after one thing. https://codereview.chromium.org/1784193003/diff/120001/content/gpu/gpu_child_thread.cc File content/gpu/gpu_child_thread.cc (right): https://codereview.chromium.org/1784193003/diff/120001/content/gpu/gpu_child_thread.cc#newcode196 content/gpu/gpu_child_thread.cc:196: // process gpu). Actually, GpuChildThread::OnInitialize ...
4 years, 9 months ago (2016-03-11 20:43:57 UTC) #5
mcasas
A minor drive-by. why not remove all the PatchSets previous to the one sent for ...
4 years, 9 months ago (2016-03-11 20:53:28 UTC) #7
Peng
https://codereview.chromium.org/1784193003/diff/120001/content/gpu/gpu_child_thread.cc File content/gpu/gpu_child_thread.cc (right): https://codereview.chromium.org/1784193003/diff/120001/content/gpu/gpu_child_thread.cc#newcode196 content/gpu/gpu_child_thread.cc:196: // process gpu). On 2016/03/11 20:43:56, piman wrote: > ...
4 years, 9 months ago (2016-03-11 22:43:16 UTC) #8
Peng
+dcheng for IPC code. Hi dcheng, PTAL. Thanks.
4 years, 9 months ago (2016-03-11 22:47:01 UTC) #10
dcheng
lgtm with nits https://codereview.chromium.org/1784193003/diff/100002/content/common/gpu/media/gpu_video_decode_accelerator.cc File content/common/gpu/media/gpu_video_decode_accelerator.cc (right): https://codereview.chromium.org/1784193003/diff/100002/content/common/gpu/media/gpu_video_decode_accelerator.cc#newcode465 content/common/gpu/media/gpu_video_decode_accelerator.cc:465: return make_scoped_ptr<media::VideoDecodeAccelerator>( Nit: omit template parameter ...
4 years, 9 months ago (2016-03-13 09:23:35 UTC) #11
Peng
https://codereview.chromium.org/1784193003/diff/100002/content/common/gpu/media/gpu_video_decode_accelerator.cc File content/common/gpu/media/gpu_video_decode_accelerator.cc (right): https://codereview.chromium.org/1784193003/diff/100002/content/common/gpu/media/gpu_video_decode_accelerator.cc#newcode465 content/common/gpu/media/gpu_video_decode_accelerator.cc:465: return make_scoped_ptr<media::VideoDecodeAccelerator>( On 2016/03/13 09:23:35, dcheng wrote: > Nit: ...
4 years, 9 months ago (2016-03-13 20:33:40 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1784193003/100002 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1784193003/100002
4 years, 9 months ago (2016-03-13 20:34:04 UTC) #15
commit-bot: I haz the power
Committed patchset #8 (id:100002)
4 years, 9 months ago (2016-03-13 21:50:35 UTC) #17
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/9288ad04012900a9656959f441f4519f4239dccb Cr-Commit-Position: refs/heads/master@{#380906}
4 years, 9 months ago (2016-03-13 21:52:04 UTC) #19
Ken Rockot(use gerrit already)
A revert of this CL (patchset #8 id:100002) has been created in https://codereview.chromium.org/1796633002/ by rockot@chromium.org. ...
4 years, 9 months ago (2016-03-13 23:40:15 UTC) #20
Peng
On 2016/03/13 23:40:15, Ken Rockot wrote: > A revert of this CL (patchset #8 id:100002) ...
4 years, 9 months ago (2016-03-14 14:47:16 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1784193003/150001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1784193003/150001
4 years, 9 months ago (2016-03-14 14:49:51 UTC) #25
commit-bot: I haz the power
Committed patchset #9 (id:150001)
4 years, 9 months ago (2016-03-14 16:41:55 UTC) #27
commit-bot: I haz the power
4 years, 9 months ago (2016-03-14 16:43:05 UTC) #29
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/34fb6bacfdd34c536f75504073ce1211898f413b
Cr-Commit-Position: refs/heads/master@{#380988}

Powered by Google App Engine
This is Rietveld 408576698