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

Issue 1129883003: Pass Surface ID namespace to renderer compositors. (Closed)

Created:
5 years, 7 months ago by kenrb
Modified:
5 years, 7 months ago
Reviewers:
*jbauman, *nasko, dcheng
CC:
chromium-reviews, danakj+watch_chromium.org, darin-cc_chromium.org, jam, jbauman+watch_chromium.org, kalyank, miu+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nona+watch_chromium.org, penghuang+watch_chromium.org, piman+watch_chromium.org, shuchen+watch_chromium.org, sievers+watch_chromium.org, site-isolation-reviews_chromium.org, James Su, yusukes+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Pass Surface ID namespace to renderer compositors. In order to enable renderer processes to create SurfaceSequences, they have to receive Surface ID namespaces from the browser process so that they can avoid collisions. BUG=478802 Committed: https://crrev.com/c7a5afd66499fc8442e1b3146f55b227638934d8 Cr-Commit-Position: refs/heads/master@{#329708} Committed: https://crrev.com/b4e2a3bbaabf98abf089396e7ce375b58fa8dfcd Cr-Commit-Position: refs/heads/master@{#329852}

Patch Set 1 #

Patch Set 2 : Set initial namespace value #

Total comments: 2

Patch Set 3 : Improved the way the surface id is passed to renderer #

Total comments: 6

Patch Set 4 : Nits fixed #

Patch Set 5 : Fix Mac bug. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -4 lines) Patch
M content/browser/compositor/delegated_frame_host.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/compositor/delegated_frame_host.cc View 1 2 3 chunks +10 lines, -3 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 2 chunks +14 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura_unittest.cc View 1 2 1 chunk +18 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.h View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 4 1 chunk +7 lines, -0 lines 1 comment Download
M content/common/view_messages.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M content/renderer/render_widget.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (9 generated)
kenrb
John: PTAL? I decided to split this off from https://codereview.chromium.org/1094113003/ to keep the patch sizes ...
5 years, 7 months ago (2015-05-06 20:10:00 UTC) #3
jbauman
I think we could allocate the namespace ahead of time (maybe in the RenderWidgetHelper) and ...
5 years, 7 months ago (2015-05-06 23:33:16 UTC) #4
kenrb
jbauman: PTAL again? It now initializes the renderer namespace value as early as possible, which ...
5 years, 7 months ago (2015-05-08 19:27:38 UTC) #5
jbauman
Thanks for figuring this out. https://codereview.chromium.org/1129883003/diff/20001/content/browser/compositor/delegated_frame_host.cc File content/browser/compositor/delegated_frame_host.cc (right): https://codereview.chromium.org/1129883003/diff/20001/content/browser/compositor/delegated_frame_host.cc#newcode385 content/browser/compositor/delegated_frame_host.cc:385: client_->DelegatedFrameHostUpdateSurfaceIdNamespace( Let's just create ...
5 years, 7 months ago (2015-05-12 00:09:12 UTC) #6
kenrb
That was a good suggestion, I also noticed a flaw in what I had done ...
5 years, 7 months ago (2015-05-12 20:01:41 UTC) #7
jbauman
lgtm
5 years, 7 months ago (2015-05-13 00:36:53 UTC) #8
kenrb
Nasko can you please give content owner review?
5 years, 7 months ago (2015-05-13 01:00:40 UTC) #11
nasko
LGTM with nits. https://codereview.chromium.org/1129883003/diff/40001/content/common/view_messages.h File content/common/view_messages.h (right): https://codereview.chromium.org/1129883003/diff/40001/content/common/view_messages.h#newcode538 content/common/view_messages.h:538: nit: No need for extra empty ...
5 years, 7 months ago (2015-05-13 13:51:25 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1129883003/60001
5 years, 7 months ago (2015-05-13 19:57:08 UTC) #15
kenrb
https://codereview.chromium.org/1129883003/diff/40001/content/common/view_messages.h File content/common/view_messages.h (right): https://codereview.chromium.org/1129883003/diff/40001/content/common/view_messages.h#newcode538 content/common/view_messages.h:538: On 2015/05/13 13:51:24, nasko wrote: > nit: No need ...
5 years, 7 months ago (2015-05-13 19:57:09 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 7 months ago (2015-05-13 20:37:26 UTC) #17
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/c7a5afd66499fc8442e1b3146f55b227638934d8 Cr-Commit-Position: refs/heads/master@{#329708}
5 years, 7 months ago (2015-05-13 20:38:17 UTC) #18
jsbell
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/1131673009/ by jsbell@chromium.org. ...
5 years, 7 months ago (2015-05-13 22:23:47 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1129883003/80001
5 years, 7 months ago (2015-05-14 14:49:23 UTC) #22
dcheng
https://codereview.chromium.org/1129883003/diff/80001/content/browser/renderer_host/render_widget_host_view_mac.mm File content/browser/renderer_host/render_widget_host_view_mac.mm (right): https://codereview.chromium.org/1129883003/diff/80001/content/browser/renderer_host/render_widget_host_view_mac.mm#newcode1567 content/browser/renderer_host/render_widget_host_view_mac.mm:1567: if (delegated_frame_host_) Can we add a comment that explains ...
5 years, 7 months ago (2015-05-14 14:53:38 UTC) #24
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 7 months ago (2015-05-14 15:05:12 UTC) #25
commit-bot: I haz the power
5 years, 7 months ago (2015-05-14 15:07:03 UTC) #26
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/b4e2a3bbaabf98abf089396e7ce375b58fa8dfcd
Cr-Commit-Position: refs/heads/master@{#329852}

Powered by Google App Engine
This is Rietveld 408576698