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

Issue 2098953003: Make cc::CompositorFrames movable [Part 2 of 2] (Closed)

Created:
4 years, 6 months ago by Fady Samuel
Modified:
4 years, 5 months ago
Reviewers:
danakj, piman, reveman, sky, boliu
CC:
cc-bugs_chromium.org, chromium-reviews, creis+watch_chromium.org, danakj+watch_chromium.org, darin-cc_chromium.org, jam, jbauman+watch_chromium.org, kalyank, nasko+codewatch_chromium.org, piman+watch_chromium.org, rjkroege, sievers+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make cc::CompositorFrames movable [Part 2 of 2] This CL is part 2 of 2 for making cc::CompositorFrames movable. This CL primarily tackles making cc::Surface hold a cc::CompositorFrame by value. This impacts tons of callsites which are updated in this patch. https://codereview.chromium.org/2096493002/ BUG=611802 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/2d9cc5abb4745280a002822a2380e925f835ef51 Committed: https://crrev.com/5222b6cb6ea4cb34ce34a6b8572bdd6cf081fa7f Cr-Original-Commit-Position: refs/heads/master@{#402545} Cr-Commit-Position: refs/heads/master@{#402615}

Patch Set 1 #

Patch Set 2 : Android compiles locally #

Total comments: 6

Patch Set 3 : Rebased and addressed Dana's comments #

Total comments: 2

Patch Set 4 : Updated #

Patch Set 5 : Fixed exo unittests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+298 lines, -391 lines) Patch
M android_webview/browser/hardware_renderer.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M cc/surfaces/display.cc View 1 2 5 chunks +15 lines, -15 lines 0 comments Download
M cc/surfaces/display_unittest.cc View 3 chunks +7 lines, -7 lines 0 comments Download
M cc/surfaces/surface.h View 1 2 3 2 chunks +6 lines, -4 lines 0 comments Download
M cc/surfaces/surface.cc View 1 2 7 chunks +32 lines, -34 lines 0 comments Download
M cc/surfaces/surface_aggregator.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/surfaces/surface_aggregator.cc View 1 2 9 chunks +21 lines, -28 lines 0 comments Download
M cc/surfaces/surface_aggregator_perftest.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M cc/surfaces/surface_aggregator_unittest.cc View 1 2 43 chunks +127 lines, -172 lines 0 comments Download
M cc/surfaces/surface_display_output_surface.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M cc/surfaces/surface_factory.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/surfaces/surface_factory.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M cc/surfaces/surface_factory_unittest.cc View 1 2 9 chunks +22 lines, -22 lines 0 comments Download
M cc/surfaces/surface_hittest.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M cc/surfaces/surface_hittest_unittest.cc View 10 chunks +10 lines, -30 lines 0 comments Download
M cc/surfaces/surfaces_pixeltest.cc View 7 chunks +18 lines, -21 lines 0 comments Download
M cc/test/pixel_test_delegating_output_surface.cc View 1 2 2 chunks +3 lines, -4 lines 0 comments Download
M components/exo/surface.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M components/exo/surface_unittest.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M components/mus/gpu/display_compositor/compositor_frame_sink_impl.cc View 1 2 1 chunk +1 line, -4 lines 0 comments Download
M components/mus/surfaces/display_compositor.h View 1 chunk +1 line, -1 line 0 comments Download
M components/mus/surfaces/display_compositor.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M components/mus/ws/platform_display.h View 1 chunk +1 line, -1 line 0 comments Download
M components/mus/ws/platform_display.cc View 1 2 3 chunks +4 lines, -5 lines 0 comments Download
M components/mus/ws/server_window_surface.cc View 1 2 1 chunk +1 line, -3 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.cc View 1 chunk +1 line, -3 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest.cc View 1 chunk +1 line, -3 lines 0 comments Download
M content/browser/renderer_host/delegated_frame_host.cc View 1 chunk +1 line, -3 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 1 chunk +1 line, -3 lines 0 comments Download

Messages

Total messages: 49 (23 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2098953003/1
4 years, 6 months ago (2016-06-25 14:02:00 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/93865)
4 years, 6 months ago (2016-06-25 14:16:32 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2098953003/20001
4 years, 6 months ago (2016-06-25 14:49:14 UTC) #8
Fady Samuel
+danakj@ for overall review +piman@ for content (and anything else, will wait for both you ...
4 years, 6 months ago (2016-06-25 15:45:05 UTC) #12
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-25 16:19:44 UTC) #14
piman
lgtm
4 years, 5 months ago (2016-06-27 15:13:24 UTC) #15
sky
LGTM
4 years, 5 months ago (2016-06-27 16:12:35 UTC) #16
boliu
lgtm
4 years, 5 months ago (2016-06-27 16:19:38 UTC) #17
danakj
https://codereview.chromium.org/2098953003/diff/20001/cc/surfaces/surface.cc File cc/surfaces/surface.cc (right): https://codereview.chromium.org/2098953003/diff/20001/cc/surfaces/surface.cc#newcode93 cc/surfaces/surface.cc:93: current_frame_.metadata.satisfies_sequences.swap(satisfies_sequences); you can use move instead for this, and ...
4 years, 5 months ago (2016-06-27 19:53:01 UTC) #18
Fady Samuel
PTAL Dana! Please let me know what you think about my changing GetEligibleFrame. Is it ...
4 years, 5 months ago (2016-06-28 17:19:10 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2098953003/40001
4 years, 5 months ago (2016-06-28 17:21:06 UTC) #21
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/95102)
4 years, 5 months ago (2016-06-28 17:54:28 UTC) #23
danakj
LGTM https://codereview.chromium.org/2098953003/diff/20001/cc/surfaces/surface.cc File cc/surfaces/surface.cc (right): https://codereview.chromium.org/2098953003/diff/20001/cc/surfaces/surface.cc#newcode145 cc/surfaces/surface.cc:145: return &current_frame_; On 2016/06/28 17:19:10, Fady Samuel wrote: ...
4 years, 5 months ago (2016-06-28 19:01:09 UTC) #24
Fady Samuel
CQ'ing this CL. I can delete DelegatedFrameData in a separate CL and introduce a HasFrame. ...
4 years, 5 months ago (2016-06-28 19:24:19 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/2098953003/60001
4 years, 5 months ago (2016-06-28 19:26:10 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/208740)
4 years, 5 months ago (2016-06-28 19:47:00 UTC) #30
Fady Samuel
+reveman@ for exo
4 years, 5 months ago (2016-06-28 21:09:20 UTC) #32
reveman
components/exo lgtm
4 years, 5 months ago (2016-06-28 21:10:43 UTC) #33
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/2098953003/60001
4 years, 5 months ago (2016-06-28 21:12:34 UTC) #35
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 5 months ago (2016-06-28 21:22:53 UTC) #37
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/2d9cc5abb4745280a002822a2380e925f835ef51 Cr-Commit-Position: refs/heads/master@{#402545}
4 years, 5 months ago (2016-06-28 21:24:46 UTC) #39
Pete Williamson
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/2103333002/ by petewil@chromium.org. ...
4 years, 5 months ago (2016-06-28 21:59:50 UTC) #40
Fady Samuel
On 2016/06/28 21:59:50, Pete Williamson wrote: > A revert of this CL (patchset #4 id:60001) ...
4 years, 5 months ago (2016-06-28 22:29:51 UTC) #42
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/2098953003/80001
4 years, 5 months ago (2016-06-28 22:34:32 UTC) #45
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 5 months ago (2016-06-29 00:37:10 UTC) #47
commit-bot: I haz the power
4 years, 5 months ago (2016-06-29 00:39:22 UTC) #49
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/5222b6cb6ea4cb34ce34a6b8572bdd6cf081fa7f
Cr-Commit-Position: refs/heads/master@{#402615}

Powered by Google App Engine
This is Rietveld 408576698