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

Issue 2565783002: Moves ownership of the cc::Display's BeginFrameSource out of Display. (Closed)

Created:
4 years ago by Eric Seckler
Modified:
4 years ago
CC:
anandc+watch-blimp_chromium.org, android-webview-reviews_chromium.org, bgoldman+watch-blimp_chromium.org, cc-bugs_chromium.org, chromium-reviews, danakj+watch_chromium.org, darin-cc_chromium.org, dtrainor+watch-blimp_chromium.org, Fady Samuel, gcasto+watch-blimp_chromium.org, jam, jbauman+watch_chromium.org, jbauman, kalyank, khushalsagar+watch-blimp_chromium.org, kmarshall+watch-blimp_chromium.org, lethalantidote+watch-blimp_chromium.org, maniscalco+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, nyquist+watch-blimp_chromium.org, perumaal+watch-blimp_chromium.org, piman+watch_chromium.org, rjkroege, scf+watch-blimp_chromium.org, shaktisahu+watch-blimp_chromium.org, sky, Sami, sriramsr+watch-blimp_chromium.org, steimel+watch-blimp_chromium.org, sunnyps, Ian Vollick
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[cc] Move ownership of the cc::Display's BeginFrameSource out of Display. This is in preparation for Android and Mus to provide a BeginFrameSource that is owned further up in the object hierarchy (e.g. by WindowAndroid / WindowCompositorFrameSink). BUG=401336, 580357 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Committed: https://crrev.com/36f6bc8fb0f973f02e39f49f4ebdea68c4abe4d1 Cr-Commit-Position: refs/heads/master@{#438478}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Fix source comment. #

Patch Set 3 : rebase #

Patch Set 4 : Fix order of data member assignment in in_process_context_factory.cc #

Patch Set 5 : rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -89 lines) Patch
M android_webview/browser/surfaces_instance.h View 1 chunk +1 line, -0 lines 0 comments Download
M android_webview/browser/surfaces_instance.cc View 2 chunks +3 lines, -5 lines 0 comments Download
M blimp/client/support/compositor/blimp_embedder_compositor.h View 2 chunks +2 lines, -0 lines 0 comments Download
M blimp/client/support/compositor/blimp_embedder_compositor.cc View 1 chunk +4 lines, -5 lines 0 comments Download
M cc/surfaces/compositor_frame_sink_support.h View 2 chunks +10 lines, -7 lines 0 comments Download
M cc/surfaces/compositor_frame_sink_support.cc View 1 chunk +3 lines, -1 line 0 comments Download
M cc/surfaces/direct_compositor_frame_sink_unittest.cc View 2 chunks +6 lines, -6 lines 0 comments Download
M cc/surfaces/display.h View 2 chunks +4 lines, -4 lines 0 comments Download
M cc/surfaces/display.cc View 4 chunks +7 lines, -5 lines 0 comments Download
M cc/surfaces/display_scheduler.h View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/surfaces/display_scheduler.cc View 2 chunks +8 lines, -3 lines 0 comments Download
M cc/surfaces/display_scheduler_unittest.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M cc/surfaces/display_unittest.cc View 4 chunks +6 lines, -7 lines 0 comments Download
M cc/test/test_compositor_frame_sink.h View 1 chunk +3 lines, -1 line 0 comments Download
M cc/test/test_compositor_frame_sink.cc View 1 chunk +9 lines, -10 lines 0 comments Download
M components/exo/compositor_frame_sink.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/compositor/gpu_process_transport_factory.cc View 1 2 3 4 4 chunks +9 lines, -7 lines 0 comments Download
M content/browser/renderer_host/compositor_impl_android.h View 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/renderer_host/compositor_impl_android.cc View 1 2 3 4 1 chunk +3 lines, -5 lines 0 comments Download
M services/ui/surfaces/display_compositor.h View 2 chunks +3 lines, -1 line 0 comments Download
M services/ui/surfaces/display_compositor.cc View 4 chunks +15 lines, -14 lines 0 comments Download
M services/ui/surfaces/gpu_compositor_frame_sink.h View 1 chunk +1 line, -0 lines 0 comments Download
M services/ui/surfaces/gpu_compositor_frame_sink.cc View 2 chunks +3 lines, -1 line 0 comments Download
M ui/compositor/test/in_process_context_factory.cc View 1 2 3 2 chunks +6 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 36 (20 generated)
Eric Seckler
brianderson@ for overall review and ownership of cc/ boliu@ for android_webview/ and content/browser/ khushalsagar@ for ...
4 years ago (2016-12-09 16:03:39 UTC) #6
Fady Samuel
I'm confused about the long term intent of this change. WindowCompositorFrameSink lives in the client ...
4 years ago (2016-12-09 16:23:34 UTC) #10
Eric Seckler
On 2016/12/09 16:23:34, Fady Samuel wrote: > I'm confused about the long term intent of ...
4 years ago (2016-12-09 16:59:57 UTC) #11
brianderson
cc lgtm. Thanks for being mindful of the destruction order of member variables. https://codereview.chromium.org/2565783002/diff/1/cc/surfaces/compositor_frame_sink_support.h File ...
4 years ago (2016-12-09 19:01:57 UTC) #12
Khushal
blimp lgtm.
4 years ago (2016-12-09 19:19:23 UTC) #13
boliu
lgtm
4 years ago (2016-12-09 21:11:34 UTC) #14
Fady Samuel
lgtm
4 years ago (2016-12-09 21:15:16 UTC) #15
Fady Samuel
lgtm lgtm
4 years ago (2016-12-09 21:15:16 UTC) #16
Eric Seckler
+vollick@ -sky@ Ian, please have a quick look at: ui/compositor/test/in_process_context_factory.cc Thanks! :) https://codereview.chromium.org/2565783002/diff/1/cc/surfaces/compositor_frame_sink_support.h File cc/surfaces/compositor_frame_sink_support.h ...
4 years ago (2016-12-12 09:27:18 UTC) #18
Eric Seckler
+reveman@ for components/exo/compositor_frame_sink.cc Thanks!
4 years ago (2016-12-12 12:16:54 UTC) #24
reveman
components/exo lgtm
4 years ago (2016-12-12 15:25:39 UTC) #25
Eric Seckler
+sky@ -vollick@ Looks like everone from ui/compositor/ is out at the moment. Scott, could you ...
4 years ago (2016-12-13 15:25:27 UTC) #27
sky
LGTM
4 years ago (2016-12-13 17:50:49 UTC) #28
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/2565783002/80001
4 years ago (2016-12-14 09:55:18 UTC) #31
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years ago (2016-12-14 11:15:47 UTC) #34
commit-bot: I haz the power
4 years ago (2016-12-14 11:17:56 UTC) #36
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/36f6bc8fb0f973f02e39f49f4ebdea68c4abe4d1
Cr-Commit-Position: refs/heads/master@{#438478}

Powered by Google App Engine
This is Rietveld 408576698