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

Issue 1538803004: Create child window in GPU process for DirectComposition (Closed)

Created:
5 years ago by jbauman
Modified:
4 years, 11 months ago
CC:
chromium-reviews, ozone-reviews_chromium.org, darin-cc_chromium.org, jam, kalyank, piman+watch_chromium.org, Jamie Madill
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Create child window in GPU process for DirectComposition When the new --use-direct-composition command-line flag is specified the GPU process will create a new child window to present into. This will be necessary when using DirectComposition because DirectComposition can only render into windows created by the same process. The sandbox prevents the GPU process from directly doing SetParent of its child window to the browser window, so a new IPC is added to allow that. BUG=524838, 545203 Committed: https://crrev.com/278b2ccf77a0e32fba6322278b2b4e1afd893da1 Cr-Commit-Position: refs/heads/master@{#368450}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 3

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+247 lines, -8 lines) Patch
M content/browser/browser_child_process_host_impl.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/browser_child_process_host_impl.cc View 1 2 3 1 chunk +5 lines, -1 line 0 comments Download
M content/browser/gpu/gpu_process_host.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M content/browser/gpu/gpu_process_host.cc View 1 2 3 2 chunks +34 lines, -0 lines 0 comments Download
A content/common/gpu/child_window_surface_win.h View 1 chunk +37 lines, -0 lines 0 comments Download
A content/common/gpu/child_window_surface_win.cc View 1 2 1 chunk +122 lines, -0 lines 0 comments Download
M content/common/gpu/gpu_messages.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M content/common/gpu/image_transport_surface_win.cc View 1 2 chunks +12 lines, -4 lines 0 comments Download
M content/content_common.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M ui/gl/gl_surface_egl.h View 1 2 3 3 chunks +3 lines, -1 line 0 comments Download
M ui/gl/gl_surface_egl.cc View 1 2 3 5 chunks +11 lines, -2 lines 0 comments Download
M ui/gl/gl_switches.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ui/gl/gl_switches.cc View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (11 generated)
jbauman
wfh@: I've added some security checks to the IPC to ensure this is safe. Hopefully ...
4 years, 11 months ago (2015-12-29 00:19:19 UTC) #4
jbauman
wfh: ping
4 years, 11 months ago (2016-01-06 17:58:11 UTC) #6
Will Harris
On 2016/01/06 17:58:11, jbauman wrote: > wfh: ping I worry here that creating a disabled ...
4 years, 11 months ago (2016-01-06 18:23:32 UTC) #8
jschuh
Yes, this is scary looking but it was my recommendation and is reasonable in context. ...
4 years, 11 months ago (2016-01-07 01:41:11 UTC) #9
jbauman
4 years, 11 months ago (2016-01-07 03:42:06 UTC) #11
Ken Russell (switch to Gerrit)
lgtm given the security team's review. I wonder whether this might be useful in other ...
4 years, 11 months ago (2016-01-07 03:46:56 UTC) #12
jbauman
On 2016/01/07 03:46:56, Ken Russell wrote: > lgtm given the security team's review. > > ...
4 years, 11 months ago (2016-01-07 03:52:40 UTC) #13
Will Harris
On 2016/01/07 03:52:40, jbauman wrote: > On 2016/01/07 03:46:56, Ken Russell wrote: > > lgtm ...
4 years, 11 months ago (2016-01-07 15:02:54 UTC) #14
Geoff Lang
Thanks, this will be useful for OpenGL on Windows.
4 years, 11 months ago (2016-01-07 15:16:37 UTC) #15
jbauman
avi@: content/ OWNERS review.
4 years, 11 months ago (2016-01-07 22:39:56 UTC) #17
Avi (use Gerrit)
lgtm
4 years, 11 months ago (2016-01-08 16:33:02 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1538803004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1538803004/60001
4 years, 11 months ago (2016-01-08 21:29:16 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 11 months ago (2016-01-08 22:49:01 UTC) #23
commit-bot: I haz the power
4 years, 11 months ago (2016-01-08 22:50:06 UTC) #25
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/278b2ccf77a0e32fba6322278b2b4e1afd893da1
Cr-Commit-Position: refs/heads/master@{#368450}

Powered by Google App Engine
This is Rietveld 408576698