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

Issue 2749023011: Add DirectComposition overlay support. (Closed)

Created:
3 years, 9 months ago by jbauman
Modified:
3 years, 8 months ago
CC:
chromium-reviews, piman+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add DirectComposition overlay support. Promote DC layers to DirectComposition SwapChains. Currently only videos are supported, so an ID3D11VideoProcessor is used to copy the video data from the DXGI image's texture into the YUY2 swapchain backbuffer. BUG=678800 NOTRY=true CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2749023011 Cr-Commit-Position: refs/heads/master@{#460543} Committed: https://chromium.googlesource.com/chromium/src/+/78f5d7d5bae564e75a5bc7fb2f65a1e67ff9547c

Patch Set 1 #

Patch Set 2 : fix deps #

Patch Set 3 : fix build #

Patch Set 4 : rebase #

Patch Set 5 : rebase #

Patch Set 6 : minor changes #

Patch Set 7 : remove unused method #

Total comments: 19

Patch Set 8 : post-review changes #

Total comments: 8

Patch Set 9 : post-review changes #

Total comments: 2

Patch Set 10 : add comment #

Total comments: 1

Patch Set 11 : remove skia usage in unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+809 lines, -93 lines) Patch
M gpu/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download
M gpu/ipc/service/DEPS View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M gpu/ipc/service/direct_composition_surface_win.h View 1 2 3 4 5 6 7 8 9 5 chunks +15 lines, -28 lines 0 comments Download
M gpu/ipc/service/direct_composition_surface_win.cc View 1 2 3 4 5 6 7 8 9 10 chunks +566 lines, -49 lines 0 comments Download
M gpu/ipc/service/direct_composition_surface_win_unittest.cc View 1 2 3 4 5 6 7 8 9 10 6 chunks +214 lines, -11 lines 0 comments Download
M ui/gl/dc_renderer_layer_params.h View 3 chunks +4 lines, -3 lines 0 comments Download
M ui/gl/dc_renderer_layer_params.cc View 2 chunks +4 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 68 (52 generated)
jbauman
3 years, 9 months ago (2017-03-22 22:46:13 UTC) #26
jbauman
sunnyps, friendly ping
3 years, 9 months ago (2017-03-27 21:40:22 UTC) #30
sunnyps
Sorry for the delay in reviewing. Feel free to use different method/variable names from those ...
3 years, 9 months ago (2017-03-28 00:42:24 UTC) #31
jbauman
PTAL. Thanks for looking at this. On 2017/03/28 00:42:24, sunnyps wrote: > https://codereview.chromium.org/2749023011/diff/120001/gpu/ipc/service/direct_composition_surface_win.cc#newcode237 > gpu/ipc/service/direct_composition_surface_win.cc:237: ...
3 years, 9 months ago (2017-03-28 01:52:47 UTC) #34
sunnyps
Can you add a comment explaining how SwapBuffers interacts with ScheduleDCLayer? In particular that we ...
3 years, 8 months ago (2017-03-28 22:28:59 UTC) #37
jbauman
sunnyps: PTAL sadrul: please review adding a DEPS on ui/platform_window (so we can create a ...
3 years, 8 months ago (2017-03-28 22:55:39 UTC) #41
sunnyps
lgtm % nits https://codereview.chromium.org/2749023011/diff/160001/gpu/ipc/service/direct_composition_surface_win.cc File gpu/ipc/service/direct_composition_surface_win.cc (right): https://codereview.chromium.org/2749023011/diff/160001/gpu/ipc/service/direct_composition_surface_win.cc#newcode263 gpu/ipc/service/direct_composition_surface_win.cc:263: DCHECK(create_surface_handle_function_); nit: should this also be ...
3 years, 8 months ago (2017-03-28 23:05:02 UTC) #44
jbauman
(adding the correct bungeman@ email address this time).
3 years, 8 months ago (2017-03-28 23:12:47 UTC) #48
sadrul
lgtm
3 years, 8 months ago (2017-03-29 00:38:52 UTC) #49
bungeman-skia
reed@ was working on this most recently and probably has a better idea of direction. ...
3 years, 8 months ago (2017-03-29 14:11:54 UTC) #53
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/2749023011/200001
3 years, 8 months ago (2017-03-29 18:52:47 UTC) #56
bungeman-skia
PS11 lgtm
3 years, 8 months ago (2017-03-29 19:47:12 UTC) #57
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/builds/182644)
3 years, 8 months ago (2017-03-29 21:15:52 UTC) #59
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/2749023011/200001
3 years, 8 months ago (2017-03-29 21:26:20 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/2749023011/200001
3 years, 8 months ago (2017-03-29 21:39:57 UTC) #65
commit-bot: I haz the power
3 years, 8 months ago (2017-03-29 21:48:37 UTC) #68
Message was sent while issue was closed.
Committed patchset #11 (id:200001) as
https://chromium.googlesource.com/chromium/src/+/78f5d7d5bae564e75a5bc7fb2f65...

Powered by Google App Engine
This is Rietveld 408576698