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

Issue 1970863002: sync compositor: Memory policy async IPC (Closed)

Created:
4 years, 7 months ago by boliu
Modified:
4 years, 7 months ago
Reviewers:
hush (inactive), dcheng
CC:
chromium-reviews, darin-cc_chromium.org, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

sync compositor: Memory policy async IPC Move bytes_limit to an independent async IPC. Note to handle updating the state after a OutputSurface loss and recreation, also add a renderer->browser ipc to notify browser that new output surface is created, and thus need to have all browser state resent. BUG=609977 Committed: https://crrev.com/42e01317f769bd3e40e67874ef4295fd0f782df7 Cr-Commit-Position: refs/heads/master@{#393367}

Patch Set 1 #

Patch Set 2 : os created ipc #

Total comments: 3

Patch Set 3 : drop os id #

Total comments: 9
Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -18 lines) Patch
M content/browser/android/synchronous_compositor_host.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/android/synchronous_compositor_host.cc View 1 2 4 chunks +14 lines, -3 lines 5 comments Download
M content/common/android/sync_compositor_messages.h View 1 2 4 chunks +5 lines, -2 lines 2 comments Download
M content/common/android/sync_compositor_messages.cc View 1 chunk +1 line, -2 lines 0 comments Download
M content/renderer/android/synchronous_compositor_output_surface.h View 1 3 chunks +5 lines, -2 lines 0 comments Download
M content/renderer/android/synchronous_compositor_output_surface.cc View 1 2 6 chunks +13 lines, -1 line 2 comments Download
M content/renderer/android/synchronous_compositor_proxy.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/android/synchronous_compositor_proxy.cc View 3 chunks +0 lines, -7 lines 0 comments Download

Messages

Total messages: 21 (6 generated)
boliu
PTAL next easy one to pick off dcheng for ipc hush for the rest
4 years, 7 months ago (2016-05-11 19:03:40 UTC) #2
dcheng
lgtm
4 years, 7 months ago (2016-05-11 20:15:49 UTC) #4
boliu
sorry, hold off review for this a bit In writing the next one, I realized ...
4 years, 7 months ago (2016-05-11 22:56:58 UTC) #5
boliu
ok, ptal at PS2 dcheng: there is a new IPC, so should be reviewed again
4 years, 7 months ago (2016-05-12 01:28:26 UTC) #7
dcheng
https://codereview.chromium.org/1970863002/diff/20001/content/browser/android/synchronous_compositor_host.cc File content/browser/android/synchronous_compositor_host.cc (right): https://codereview.chromium.org/1970863002/diff/20001/content/browser/android/synchronous_compositor_host.cc#newcode428 content/browser/android/synchronous_compositor_host.cc:428: uint32_t output_surface_id) { Doesn't appear to be used yet. ...
4 years, 7 months ago (2016-05-12 03:13:18 UTC) #8
boliu
https://codereview.chromium.org/1970863002/diff/20001/content/browser/android/synchronous_compositor_host.cc File content/browser/android/synchronous_compositor_host.cc (right): https://codereview.chromium.org/1970863002/diff/20001/content/browser/android/synchronous_compositor_host.cc#newcode428 content/browser/android/synchronous_compositor_host.cc:428: uint32_t output_surface_id) { On 2016/05/12 03:13:18, dcheng wrote: > ...
4 years, 7 months ago (2016-05-12 03:27:32 UTC) #9
boliu
https://codereview.chromium.org/1970863002/diff/20001/content/browser/android/synchronous_compositor_host.cc File content/browser/android/synchronous_compositor_host.cc (right): https://codereview.chromium.org/1970863002/diff/20001/content/browser/android/synchronous_compositor_host.cc#newcode428 content/browser/android/synchronous_compositor_host.cc:428: uint32_t output_surface_id) { On 2016/05/12 03:27:32, boliu wrote: > ...
4 years, 7 months ago (2016-05-12 14:03:27 UTC) #10
dcheng
lgtm
4 years, 7 months ago (2016-05-12 16:44:30 UTC) #11
hush (inactive)
https://codereview.chromium.org/1970863002/diff/40001/content/browser/android/synchronous_compositor_host.cc File content/browser/android/synchronous_compositor_host.cc (right): https://codereview.chromium.org/1970863002/diff/40001/content/browser/android/synchronous_compositor_host.cc#newcode318 content/browser/android/synchronous_compositor_host.cc:318: void SynchronousCompositorHost::SetMemoryPolicy(size_t bytes_limit) { again, for multiprocess cross-bit (32bit ...
4 years, 7 months ago (2016-05-12 19:23:03 UTC) #12
boliu
uhh... ignoring all of your comments https://codereview.chromium.org/1970863002/diff/40001/content/browser/android/synchronous_compositor_host.cc File content/browser/android/synchronous_compositor_host.cc (right): https://codereview.chromium.org/1970863002/diff/40001/content/browser/android/synchronous_compositor_host.cc#newcode318 content/browser/android/synchronous_compositor_host.cc:318: void SynchronousCompositorHost::SetMemoryPolicy(size_t bytes_limit) ...
4 years, 7 months ago (2016-05-12 20:16:47 UTC) #13
hush (inactive)
lgtm
4 years, 7 months ago (2016-05-12 20:47:23 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1970863002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1970863002/40001
4 years, 7 months ago (2016-05-12 21:00:36 UTC) #16
boliu
https://codereview.chromium.org/1970863002/diff/40001/content/browser/android/synchronous_compositor_host.cc File content/browser/android/synchronous_compositor_host.cc (right): https://codereview.chromium.org/1970863002/diff/40001/content/browser/android/synchronous_compositor_host.cc#newcode431 content/browser/android/synchronous_compositor_host.cc:431: new SyncCompositorMsg_SetMemoryPolicy(routing_id_, bytes_limit_)); On 2016/05/12 20:16:45, boliu wrote: > ...
4 years, 7 months ago (2016-05-12 21:12:47 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-12 21:48:02 UTC) #19
commit-bot: I haz the power
4 years, 7 months ago (2016-05-12 21:49:42 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/42e01317f769bd3e40e67874ef4295fd0f782df7
Cr-Commit-Position: refs/heads/master@{#393367}

Powered by Google App Engine
This is Rietveld 408576698