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

Issue 2260943002: Move default begin frame sources out to mus (Closed)

Created:
4 years, 4 months ago by enne (OOO)
Modified:
4 years, 4 months ago
CC:
cc-bugs_chromium.org, chromium-reviews, danakj+watch_chromium.org, darin-cc_chromium.org, jam, jbauman+watch_chromium.org, kalyank, mlamouri+watch-content_chromium.org, piman+watch_chromium.org, rjkroege, sievers+watch_chromium.org, Ian Vollick
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move default begin frame sources out to mus ui::OutputSurface is the only ui::Compositor output surface type that doesn't produce its own begin frame source. This allows for further cleanup to remove the default creation of begin frame sources in cc proxies. In the future, the SurfaceManager on the mus side will provide the real begin frame source that'll be plumbed all the way through FrameGenerator to ServerWindowSurface to WindowSurface and then into ui::OutputSurface. R=rjkroege@chromium.org,sadrul@chromium.org BUG=603600 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/8c223f7679dd639ef2cc25d0aa094406be7af019 Cr-Commit-Position: refs/heads/master@{#413877}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Create BFS on compositor thread #

Patch Set 3 : Revert SingleThreadProxy changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -9 lines) Patch
M services/ui/public/cpp/output_surface.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M services/ui/public/cpp/output_surface.cc View 1 2 chunks +10 lines, -0 lines 0 comments Download
M ui/compositor/compositor.cc View 2 chunks +1 line, -9 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 38 (18 generated)
enne (OOO)
This reverts: https://codereview.chromium.org/1888093002 https://codereview.chromium.org/2229543003 https://codereview.chromium.org/2260943002/diff/1/services/ui/public/cpp/gpu_service.h File services/ui/public/cpp/gpu_service.h (right): https://codereview.chromium.org/2260943002/diff/1/services/ui/public/cpp/gpu_service.h#newcode47 services/ui/public/cpp/gpu_service.h:47: scoped_refptr<base::SingleThreadTaskRunner> main_task_runner() { I have ...
4 years, 4 months ago (2016-08-19 20:52:22 UTC) #2
rjkroege
lgtm
4 years, 4 months ago (2016-08-19 21:21:40 UTC) #3
enne (OOO)
sadrul: ui/ OWNERS erg: services/ui/ OWNERS
4 years, 4 months ago (2016-08-19 21:29:53 UTC) #7
Elliot Glaysher
(I don't actually know anything about this gpu code but the change itself looks reasonable ...
4 years, 4 months ago (2016-08-19 23:48:16 UTC) #10
sadrul
https://codereview.chromium.org/2260943002/diff/1/content/renderer/gpu/render_widget_compositor.cc File content/renderer/gpu/render_widget_compositor.cc (right): https://codereview.chromium.org/2260943002/diff/1/content/renderer/gpu/render_widget_compositor.cc#newcode516 content/renderer/gpu/render_widget_compositor.cc:516: settings.use_external_begin_frame_source = false; I remembered: you need to use ...
4 years, 4 months ago (2016-08-22 14:46:40 UTC) #11
Fady Samuel
A couple of drive-bys. https://codereview.chromium.org/2260943002/diff/1/services/ui/public/cpp/output_surface.cc File services/ui/public/cpp/output_surface.cc (right): https://codereview.chromium.org/2260943002/diff/1/services/ui/public/cpp/output_surface.cc#newcode27 services/ui/public/cpp/output_surface.cc:27: gpu_service->main_task_runner().get()))); We shouldn't be giving ...
4 years, 4 months ago (2016-08-22 15:16:52 UTC) #13
enne (OOO)
On 2016/08/22 at 14:46:40, sadrul wrote: > https://codereview.chromium.org/2260943002/diff/1/content/renderer/gpu/render_widget_compositor.cc > File content/renderer/gpu/render_widget_compositor.cc (right): > > https://codereview.chromium.org/2260943002/diff/1/content/renderer/gpu/render_widget_compositor.cc#newcode516 ...
4 years, 4 months ago (2016-08-22 18:55:10 UTC) #14
sadrul
On 2016/08/22 18:55:10, enne wrote: > On 2016/08/22 at 14:46:40, sadrul wrote: > > > ...
4 years, 4 months ago (2016-08-23 00:52:27 UTC) #15
enne (OOO)
On 2016/08/23 at 00:52:27, sadrul wrote: > On 2016/08/22 18:55:10, enne wrote: > > Seems ...
4 years, 4 months ago (2016-08-23 19:53:46 UTC) #16
Fady Samuel
I like it! Thanks! lgtm
4 years, 4 months ago (2016-08-23 19:55:36 UTC) #17
Elliot Glaysher
owners stamp lgtm
4 years, 4 months ago (2016-08-23 19:58:05 UTC) #18
sadrul
lgtm++
4 years, 4 months ago (2016-08-23 19:58:50 UTC) #19
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/2260943002/20001
4 years, 4 months ago (2016-08-23 20:00:08 UTC) #22
enne (OOO)
Oops, right. I forgot cc unit tests. I'll revert the single thread proxy dchecks and ...
4 years, 4 months ago (2016-08-23 20:17:41 UTC) #24
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/2260943002/40001
4 years, 4 months ago (2016-08-23 20:18:11 UTC) #27
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/2260943002/40001
4 years, 4 months ago (2016-08-23 20:30:14 UTC) #30
commit-bot: I haz the power
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/128189)
4 years, 4 months ago (2016-08-23 21:58:08 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/2260943002/40001
4 years, 4 months ago (2016-08-23 22:10:07 UTC) #35
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-23 22:51:22 UTC) #36
commit-bot: I haz the power
4 years, 4 months ago (2016-08-23 22:53:07 UTC) #38
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8c223f7679dd639ef2cc25d0aa094406be7af019
Cr-Commit-Position: refs/heads/master@{#413877}

Powered by Google App Engine
This is Rietveld 408576698