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

Issue 2403573002: cc: Introduce mechanism to observe CompositorFrames submitted to new surfaceIDs (Closed)

Created:
4 years, 2 months ago by Fady Samuel
Modified:
4 years, 2 months ago
Reviewers:
sadrul, vmpstr, enne (OOO)
CC:
cc-bugs_chromium.org, chromium-reviews, danakj+watch_chromium.org, darin-cc_chromium.org, jam, jbauman+watch_chromium.org, kalyank, nona+watch_chromium.org, piman+watch_chromium.org, shuchen+watch_chromium.org, sievers+watch_chromium.org, James Su, yusukes+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Introduce mechanism to observe CompositorFrames submitted to new surfaceIDs In Mus+Ash, SurfaceManager and the display compositor will live in the GPU. The gpu process needs to signal the display compositor host for newly allocated surface IDs so that it can identify the embedders and update its book-keeping for lifetime management of surfaces. TBR=sadrul@chromium.org for content/browser/renderer_host BUG=647852 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/d119e3f1f4a9997ab6b29a3598131d2f14cd8538 Cr-Commit-Position: refs/heads/master@{#424651}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Addressed Vlad's comments #

Patch Set 3 : SurfaceManagerObserver => SurfaceObserver #

Patch Set 4 : Updated changes missed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -40 lines) Patch
M cc/surfaces/display.h View 1 2 2 chunks +5 lines, -2 lines 0 comments Download
M cc/surfaces/display.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
D cc/surfaces/surface_damage_observer.h View 1 chunk +0 lines, -21 lines 0 comments Download
M cc/surfaces/surface_factory.cc View 1 1 chunk +15 lines, -0 lines 0 comments Download
M cc/surfaces/surface_factory_unittest.cc View 1 2 3 10 chunks +21 lines, -3 lines 0 comments Download
M cc/surfaces/surface_manager.h View 1 2 3 chunks +10 lines, -6 lines 0 comments Download
M cc/surfaces/surface_manager.cc View 1 2 1 chunk +10 lines, -1 line 0 comments Download
A cc/surfaces/surface_observer.h View 1 2 1 chunk +31 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura_unittest.cc View 1 2 3 5 chunks +11 lines, -7 lines 0 comments Download

Messages

Total messages: 37 (23 generated)
Fady Samuel
+danakj@ for cc +sadrul@ for content/browser/renderer_host.
4 years, 2 months ago (2016-10-07 20:06:23 UTC) #5
Fady Samuel
+enne, -danakj@ since Dana is OOO. enne: this is necessary for surface ID bookkeeping in ...
4 years, 2 months ago (2016-10-11 21:48:46 UTC) #12
vmpstr
(drive-by) https://codereview.chromium.org/2403573002/diff/1/cc/surfaces/surface_factory.cc File cc/surfaces/surface_factory.cc (right): https://codereview.chromium.org/2403573002/diff/1/cc/surfaces/surface_factory.cc#newcode79 cc/surfaces/surface_factory.cc:79: const CompositorFrame& previous_frame = it->second->GetEligibleFrame(); Can you add ...
4 years, 2 months ago (2016-10-11 21:59:04 UTC) #14
Fady Samuel
Thanks for the review, Vlad! PTAL! https://codereview.chromium.org/2403573002/diff/1/cc/surfaces/surface_factory.cc File cc/surfaces/surface_factory.cc (right): https://codereview.chromium.org/2403573002/diff/1/cc/surfaces/surface_factory.cc#newcode79 cc/surfaces/surface_factory.cc:79: const CompositorFrame& previous_frame ...
4 years, 2 months ago (2016-10-11 23:11:45 UTC) #15
vmpstr
(drive-by) lgtm
4 years, 2 months ago (2016-10-11 23:31:29 UTC) #18
Fady Samuel
Thanks Vlad! I'm TBR'ing sadrul
4 years, 2 months ago (2016-10-11 23:35:16 UTC) #19
sadrul
stamp lgtm
4 years, 2 months ago (2016-10-11 23:39:04 UTC) #21
enne (OOO)
https://codereview.chromium.org/2403573002/diff/1/cc/surfaces/surface_manager_observer.h File cc/surfaces/surface_manager_observer.h (right): https://codereview.chromium.org/2403573002/diff/1/cc/surfaces/surface_manager_observer.h#newcode16 cc/surfaces/surface_manager_observer.h:16: class SurfaceManagerObserver { bikeshed: what about just SurfaceObserver? Is ...
4 years, 2 months ago (2016-10-12 00:07:20 UTC) #22
Fady Samuel
Addressed nit! Thanks Enne! CQ'ing. https://codereview.chromium.org/2403573002/diff/1/cc/surfaces/surface_manager_observer.h File cc/surfaces/surface_manager_observer.h (right): https://codereview.chromium.org/2403573002/diff/1/cc/surfaces/surface_manager_observer.h#newcode16 cc/surfaces/surface_manager_observer.h:16: class SurfaceManagerObserver { On ...
4 years, 2 months ago (2016-10-12 00:34:28 UTC) #25
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/2403573002/40001
4 years, 2 months ago (2016-10-12 00:35:06 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_ng/builds/172220) mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 2 months ago (2016-10-12 00:49:22 UTC) #30
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/2403573002/60001
4 years, 2 months ago (2016-10-12 01:19:15 UTC) #33
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-10-12 02:23:50 UTC) #35
commit-bot: I haz the power
4 years, 2 months ago (2016-10-12 02:25:52 UTC) #37
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/d119e3f1f4a9997ab6b29a3598131d2f14cd8538
Cr-Commit-Position: refs/heads/master@{#424651}

Powered by Google App Engine
This is Rietveld 408576698