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

Issue 423773002: Unified BeginFrame scheduling (Closed)

Created:
6 years, 4 months ago by simonhong
Modified:
4 years, 10 months ago
CC:
chromium-reviews, nduca, Sami
Project:
chromium
Visibility:
Public.

Description

Unified BeginFrame scheduling This CL is initial implementation for "Unified BeginFrame scheduling on chrome". Scheduler is divided into publisher(live in browser compositor) and receiver(live in renderer compositor). Newly created BeginFrameManager(which owned by browser compositor) will act like router between Scheduler and RWHV for delivering BeginFrame messages. Browser compositor's scheduler(publisher) triggers next BeginFrame for itself(ui) and renderers(receiver). Please refer to below docs for overall design. (https://docs.google.com/a/chromium.org/document/d/13xtO-_NSSnNZRRS1Xq3xGNKZawKc8HQxOid5boBUyX8/edit#) R=brianderson@chromium.org, sky@chromium.org BUG=372086 TEST=NONE(Not yet used)

Patch Set 1 #

Total comments: 2

Patch Set 2 : add deadline params to SendBeginFrame() #

Total comments: 2

Patch Set 3 : Use BeginFrameArgs #

Patch Set 4 : WIP #

Patch Set 5 : WIP #

Patch Set 6 : Initial impl on aura for Big picture #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : Working on aura with --enable-begin-frame-scheduling #

Total comments: 43

Patch Set 10 : WIP - not for review #

Patch Set 11 : WIP - not for review #

Patch Set 12 : WIP - not for review #

Patch Set 13 : #

Patch Set 14 : #

Total comments: 12

Patch Set 15 : WIP in mac and android #

Total comments: 21

Patch Set 16 : #

Patch Set 17 : Remove --enable-begin-frame-scheduling #

Patch Set 18 : Route StartBeginFrame to OutputSurface directly. #

Patch Set 19 : Enable on Mac #

Patch Set 20 : #

Patch Set 21 : #

Total comments: 32

Patch Set 22 : Rebase on master #

Patch Set 23 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+638 lines, -352 lines) Patch
M ash/display/display_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +1 line, -2 lines 0 comments Download
M cc/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +1 line, -0 lines 0 comments Download
M cc/base/switches.h View 1 2 3 4 5 17 18 19 20 21 22 1 chunk +1 line, -0 lines 0 comments Download
M cc/base/switches.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 17 18 19 20 21 22 1 chunk +3 lines, -0 lines 0 comments Download
M cc/cc.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +1 line, -0 lines 0 comments Download
M cc/output/begin_frame_args.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +10 lines, -0 lines 0 comments Download
M cc/output/output_surface.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 3 chunks +9 lines, -2 lines 0 comments Download
M cc/output/output_surface.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +5 lines, -0 lines 0 comments Download
M cc/scheduler/scheduler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 3 chunks +9 lines, -0 lines 0 comments Download
M cc/scheduler/scheduler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 9 chunks +51 lines, -11 lines 0 comments Download
M cc/scheduler/scheduler_settings.h View 1 2 3 4 5 6 7 8 9 10 11 15 1 chunk +2 lines, -1 line 0 comments Download
M cc/scheduler/scheduler_settings.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 4 chunks +10 lines, -4 lines 0 comments Download
M cc/scheduler/scheduler_state_machine.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +5 lines, -0 lines 0 comments Download
M cc/scheduler/scheduler_state_machine.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 4 chunks +26 lines, -3 lines 0 comments Download
M cc/scheduler/scheduler_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 3 chunks +6 lines, -4 lines 0 comments Download
M cc/test/begin_frame_args_test.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +0 lines, -5 lines 0 comments Download
M cc/test/begin_frame_args_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +0 lines, -5 lines 0 comments Download
M cc/test/fake_layer_tree_host_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +1 line, -0 lines 0 comments Download
M cc/test/layer_tree_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/layer_tree_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +7 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +14 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 3 chunks +5 lines, -1 line 0 comments Download
A cc/trees/layer_tree_host_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +19 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 3 chunks +3 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_no_message_loop.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +2 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_settings.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +4 lines, -1 line 0 comments Download
M cc/trees/layer_tree_settings.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +2 lines, -1 line 0 comments Download
M cc/trees/proxy.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +4 lines, -0 lines 0 comments Download
M cc/trees/proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +8 lines, -0 lines 0 comments Download
M cc/trees/single_thread_proxy.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +3 lines, -0 lines 0 comments Download
M cc/trees/single_thread_proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +13 lines, -0 lines 0 comments Download
M cc/trees/thread_proxy.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/thread_proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/chrome_restart_request.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +1 line, -1 line 0 comments Download
M content/browser/compositor/browser_compositor_output_surface.h View 1 2 3 4 5 4 chunks +2 lines, -11 lines 0 comments Download
M content/browser/compositor/browser_compositor_output_surface.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 4 chunks +5 lines, -19 lines 0 comments Download
M content/browser/compositor/delegated_frame_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 5 chunks +2 lines, -9 lines 0 comments Download
M content/browser/compositor/delegated_frame_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 6 chunks +6 lines, -23 lines 0 comments Download
M content/browser/compositor/gpu_browser_compositor_output_surface.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +0 lines, -5 lines 0 comments Download
M content/browser/compositor/gpu_browser_compositor_output_surface.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +1 line, -5 lines 0 comments Download
M content/browser/compositor/gpu_process_transport_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 4 chunks +2 lines, -13 lines 0 comments Download
M content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/compositor/software_browser_compositor_output_surface.h View 1 2 3 4 5 2 chunks +1 line, -6 lines 0 comments Download
M content/browser/compositor/software_browser_compositor_output_surface.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +4 lines, -5 lines 0 comments Download
M content/browser/compositor/software_browser_compositor_output_surface_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +1 line, -5 lines 0 comments Download
M content/browser/renderer_host/compositor_impl_android.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/display_link_mac.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 4 chunks +12 lines, -0 lines 0 comments Download
M content/browser/renderer_host/display_link_mac.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +11 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 6 chunks +20 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 9 chunks +77 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 6 chunks +28 lines, -8 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 9 chunks +59 lines, -11 lines 0 comments Download
M content/common/view_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 4 chunks +12 lines, -10 lines 0 comments Download
M content/public/common/content_switches.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +0 lines, -1 line 0 comments Download
M content/public/common/content_switches.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +0 lines, -3 lines 0 comments Download
M content/renderer/gpu/compositor_output_surface.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +0 lines, -4 lines 0 comments Download
M content/renderer/gpu/compositor_output_surface.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 4 chunks +1 line, -7 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +2 lines, -2 lines 0 comments Download
M content/test/web_layer_tree_view_impl_for_testing.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +1 line, -0 lines 0 comments Download
M mojo/examples/compositor_app/compositor_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +1 line, -0 lines 0 comments Download
M mojo/examples/compositor_app/compositor_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +2 lines, -0 lines 0 comments Download
M ui/base/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +1 line, -0 lines 0 comments Download
M ui/base/android/window_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -1 line 0 comments Download
A ui/base/compositor/compositor_begin_frame_observer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +23 lines, -0 lines 0 comments Download
M ui/base/ui_base.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +1 line, -0 lines 0 comments Download
M ui/compositor/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +0 lines, -2 lines 0 comments Download
M ui/compositor/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +1 line, -0 lines 0 comments Download
M ui/compositor/compositor.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 9 chunks +35 lines, -7 lines 0 comments Download
M ui/compositor/compositor.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 12 chunks +85 lines, -8 lines 0 comments Download
M ui/compositor/compositor.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +0 lines, -2 lines 0 comments Download
D ui/compositor/compositor_vsync_manager.h View 1 2 3 4 5 1 chunk +0 lines, -71 lines 0 comments Download
D ui/compositor/compositor_vsync_manager.cc View 1 2 3 4 5 1 chunk +0 lines, -63 lines 0 comments Download

Messages

Total messages: 59 (5 generated)
simonhong
Dear brian and sky, Please take a look! @sky, would you please review overall design ...
6 years, 4 months ago (2014-07-28 02:24:32 UTC) #1
sky
+piman, he's a better reviewer for this.
6 years, 4 months ago (2014-07-28 15:30:25 UTC) #2
brianderson
Will this end up sending BeginFrames to all Renderers/Observers even if only one Renderer needs ...
6 years, 4 months ago (2014-07-28 21:13:48 UTC) #3
simonhong
BeginFrameManager will send to its all observer. Then observer(mostly RWHV) will determine whether to send ...
6 years, 4 months ago (2014-07-28 23:37:41 UTC) #4
brianderson
On 2014/07/28 23:37:41, simonhong wrote: > BeginFrameManager will send to its all observer. > Then ...
6 years, 4 months ago (2014-07-29 00:21:32 UTC) #5
simonhong
On 2014/07/29 00:21:32, brianderson wrote: > On 2014/07/28 23:37:41, simonhong wrote: > > BeginFrameManager will ...
6 years, 4 months ago (2014-07-29 01:40:33 UTC) #6
brianderson
On 2014/07/29 01:40:33, simonhong wrote: > On 2014/07/29 00:21:32, brianderson wrote: > > On 2014/07/28 ...
6 years, 4 months ago (2014-07-30 19:41:48 UTC) #7
brianderson
+jdduke for fyi. https://codereview.chromium.org/423773002/diff/20001/ui/base/compositor/begin_frame_manager.h File ui/base/compositor/begin_frame_manager.h (right): https://codereview.chromium.org/423773002/diff/20001/ui/base/compositor/begin_frame_manager.h#newcode39 ui/base/compositor/begin_frame_manager.h:39: void SendBeginFrame(base::TimeTicks frame_time, Please use BeginFrameArgs ...
6 years, 4 months ago (2014-07-30 19:44:29 UTC) #8
simonhong
On 2014/07/30 19:41:48, brianderson wrote: > On 2014/07/29 01:40:33, simonhong wrote: > > On 2014/07/29 ...
6 years, 4 months ago (2014-07-31 00:17:51 UTC) #9
simonhong
https://codereview.chromium.org/423773002/diff/20001/ui/base/compositor/begin_frame_manager.h File ui/base/compositor/begin_frame_manager.h (right): https://codereview.chromium.org/423773002/diff/20001/ui/base/compositor/begin_frame_manager.h#newcode39 ui/base/compositor/begin_frame_manager.h:39: void SendBeginFrame(base::TimeTicks frame_time, On 2014/07/30 19:44:29, brianderson wrote: > ...
6 years, 4 months ago (2014-07-31 00:18:03 UTC) #10
simonhong
The CQ bit was checked by simonhong@chromium.org
6 years, 4 months ago (2014-07-31 09:43:05 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/simonhong@chromium.org/423773002/40001
6 years, 4 months ago (2014-07-31 09:45:20 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-07-31 09:45:21 UTC) #13
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
6 years, 4 months ago (2014-07-31 09:45:23 UTC) #14
jdduke (slow)
On 2014/07/30 19:44:29, brianderson wrote: > +jdduke for fyi. Is there a WIP parent or ...
6 years, 4 months ago (2014-07-31 15:11:52 UTC) #15
simonhong
On 2014/07/31 15:11:52, jdduke wrote: > On 2014/07/30 19:44:29, brianderson wrote: > > +jdduke for ...
6 years, 4 months ago (2014-07-31 15:20:53 UTC) #16
sky
Do not land this until one of piman and/or jamesr has responded. They have a ...
6 years, 4 months ago (2014-07-31 16:04:27 UTC) #17
brianderson
On 2014/07/31 15:11:52, jdduke wrote: > On 2014/07/30 19:44:29, brianderson wrote: > > +jdduke for ...
6 years, 4 months ago (2014-07-31 19:27:14 UTC) #18
piman
On 2014/07/31 16:04:27, sky wrote: > Do not land this until one of piman and/or ...
6 years, 4 months ago (2014-07-31 19:42:41 UTC) #19
simonhong
@brianderson, I updated initial version only for aura platform. Please review overall big picture in ...
6 years, 4 months ago (2014-08-11 07:20:28 UTC) #20
mithro-old
6 years, 4 months ago (2014-08-14 05:22:47 UTC) #21
mithro-old
6 years, 4 months ago (2014-08-14 05:22:52 UTC) #22
jdduke (slow)
On 2014/08/11 07:20:28, simonhong wrote: > @brianderson, I updated initial version only for aura platform. ...
6 years, 4 months ago (2014-08-15 22:58:13 UTC) #23
simonhong
On 2014/08/15 22:58:13, jdduke wrote: > On 2014/08/11 07:20:28, simonhong wrote: > > @brianderson, I ...
6 years, 4 months ago (2014-08-20 03:03:50 UTC) #24
mithro-old
Just a FYI for everyone, I think this change has a lot of synergy with ...
6 years, 4 months ago (2014-08-20 03:43:02 UTC) #25
brianderson
https://codereview.chromium.org/423773002/diff/160001/ash/display/display_controller.cc File ash/display/display_controller.cc (right): https://codereview.chromium.org/423773002/diff/160001/ash/display/display_controller.cc#newcode130 ash/display/display_controller.cc:130: * Should update this to somewhere. Let's route it ...
6 years, 4 months ago (2014-08-21 00:14:00 UTC) #26
simonhong
Thanks for review, brian. I'm trying to make BeginFrameManager as a thread safe class. With ...
6 years, 4 months ago (2014-08-21 00:25:03 UTC) #27
simonhong
https://codereview.chromium.org/423773002/diff/160001/cc/trees/thread_proxy.cc File cc/trees/thread_proxy.cc (right): https://codereview.chromium.org/423773002/diff/160001/cc/trees/thread_proxy.cc#newcode1194 cc/trees/thread_proxy.cc:1194: Proxy::MainThreadTaskRunner()->PostTask( On 2014/08/21 00:14:00, brianderson wrote: > It would ...
6 years, 4 months ago (2014-08-21 00:36:49 UTC) #28
brianderson
> I'm trying to make BeginFrameManager as a thread safe class. With this, scheduler can ...
6 years, 4 months ago (2014-08-21 00:37:34 UTC) #29
piman
On Wed, Aug 20, 2014 at 5:36 PM, <simonhong@chromium.org> wrote: > > https://codereview.chromium.org/423773002/diff/160001/cc/ > trees/thread_proxy.cc ...
6 years, 4 months ago (2014-08-21 00:38:57 UTC) #30
simonhong
brian@, Could I assume that BeginFrameManager will only be used with SingleThreadProxy? I spent some ...
6 years, 4 months ago (2014-08-21 00:58:44 UTC) #31
brianderson
Yes, you can assume BeginFrameManager will only be used with SingleThreadProxy. On 2014/08/21 00:58:44, simonhong ...
6 years, 4 months ago (2014-08-21 01:15:13 UTC) #32
simonhong
brianderson@, Please take a look. I made Scheduler as a subclass of BeginFrameManager::Delegate. Thanks for ...
6 years, 3 months ago (2014-08-26 08:24:48 UTC) #33
brianderson
Still need to review a lot of this patch, but wanted to send what I ...
6 years, 3 months ago (2014-08-27 01:34:08 UTC) #34
simonhong
On 2014/08/27 01:34:08, brianderson wrote: > Still need to review a lot of this patch, ...
6 years, 3 months ago (2014-08-27 01:39:55 UTC) #35
simonhong
brianderson@, thanks for review! Mac and Android part is in early stage. You can skip ...
6 years, 3 months ago (2014-08-27 07:56:13 UTC) #36
simonhong
brianderson@, thanks for review! Mac and Android part is in early stage. You can skip ...
6 years, 3 months ago (2014-08-27 07:56:18 UTC) #37
brianderson
Very excited about this patch. Looking forward to how Android and Mac progress. https://codereview.chromium.org/423773002/diff/280001/cc/scheduler/scheduler.cc File ...
6 years, 3 months ago (2014-08-28 02:48:07 UTC) #38
simonhong
https://codereview.chromium.org/423773002/diff/280001/ui/compositor/compositor.h File ui/compositor/compositor.h (right): https://codereview.chromium.org/423773002/diff/280001/ui/compositor/compositor.h#newcode275 ui/compositor/compositor.h:275: scoped_ptr<cc::BeginFrameManager> begin_frame_manager_; On 2014/08/28 02:48:07, brianderson wrote: > Would ...
6 years, 3 months ago (2014-08-29 00:03:02 UTC) #39
brianderson
On 2014/08/29 00:03:02, simonhong wrote: > https://codereview.chromium.org/423773002/diff/280001/ui/compositor/compositor.h > File ui/compositor/compositor.h (right): > > https://codereview.chromium.org/423773002/diff/280001/ui/compositor/compositor.h#newcode275 > ...
6 years, 3 months ago (2014-08-29 02:01:18 UTC) #40
simonhong
brian, would you please review again? Command line is removed and OutputSurface is wired with ...
6 years, 3 months ago (2014-09-03 21:02:23 UTC) #45
brianderson
+ccameron for feedback on the Mac-specific parts. https://codereview.chromium.org/423773002/diff/280001/cc/scheduler/scheduler_state_machine.cc File cc/scheduler/scheduler_state_machine.cc (right): https://codereview.chromium.org/423773002/diff/280001/cc/scheduler/scheduler_state_machine.cc#newcode712 cc/scheduler/scheduler_state_machine.cc:712: BeginFrameNeededToChildren() || ...
6 years, 3 months ago (2014-09-04 18:45:47 UTC) #47
ccameron
Looks good overall, but perhaps some of the code in RWHVMac and RWHVAura can be ...
6 years, 3 months ago (2014-09-04 19:29:23 UTC) #48
piman
https://codereview.chromium.org/423773002/diff/500001/cc/trees/proxy.cc File cc/trees/proxy.cc (right): https://codereview.chromium.org/423773002/diff/500001/cc/trees/proxy.cc#newcode91 cc/trees/proxy.cc:91: NOTREACHED() << "Only used by SingleThreadProxy"; This is not ...
6 years, 3 months ago (2014-09-04 20:34:25 UTC) #49
piman
6 years, 3 months ago (2014-09-04 20:42:42 UTC) #50
piman
https://codereview.chromium.org/423773002/diff/500001/cc/scheduler/scheduler_settings.cc File cc/scheduler/scheduler_settings.cc (right): https://codereview.chromium.org/423773002/diff/500001/cc/scheduler/scheduler_settings.cc#newcode38 cc/scheduler/scheduler_settings.cc:38: #if !defined(OS_ANDROID) && !defined(OS_MACOSX) Please no #ifdef like this. ...
6 years, 3 months ago (2014-09-04 20:56:38 UTC) #51
mithro-old
Just a couple of very small comments. https://codereview.chromium.org/423773002/diff/500001/cc/output/begin_frame_args.h File cc/output/begin_frame_args.h (right): https://codereview.chromium.org/423773002/diff/500001/cc/output/begin_frame_args.h#newcode53 cc/output/begin_frame_args.h:53: bool operator==(const ...
6 years, 3 months ago (2014-09-09 03:22:37 UTC) #52
mithro-old
Hi Simon, In an effort to better understand this patch I have taken your patch, ...
6 years, 3 months ago (2014-09-15 10:56:23 UTC) #53
jdduke (slow)
On 2014/09/15 10:56:23, mithro wrote: > Hi Simon, > > In an effort to better ...
6 years, 3 months ago (2014-09-17 15:11:01 UTC) #54
simonhong
Sorry for the delay. I'm still on vacation until 9/22. I think cc-side can land ...
6 years, 3 months ago (2014-09-17 18:35:34 UTC) #55
simonhong
There are many pending issues before landing this cl. 1) Makes ui::Compositor use cc::Scheduler 2) ...
6 years, 2 months ago (2014-09-26 06:57:13 UTC) #56
brianderson
On 2014/09/26 06:57:13, simonhong wrote: > There are many pending issues before landing this cl. ...
6 years, 2 months ago (2014-09-27 04:49:54 UTC) #57
jdduke (slow)
On 2014/09/27 04:49:54, brianderson wrote: > On 2014/09/26 06:57:13, simonhong wrote: > > There are ...
6 years, 2 months ago (2014-10-13 15:06:56 UTC) #58
simonhong
6 years, 2 months ago (2014-10-13 21:40:02 UTC) #59
On 2014/10/13 15:06:56, jdduke wrote:
> On 2014/09/27 04:49:54, brianderson wrote:
> > On 2014/09/26 06:57:13, simonhong wrote:
> > > There are many pending issues before landing this cl.
> > > 1) Makes ui::Compositor use cc::Scheduler
> > > 2) Makes SingleThreadProxy use cc::Scheduler (Implementation is over, but
> > turned
> > > off)
> > > 3) Decouple BeginFrame mechanism from OutputSurface
> > > (https://code.google.com/p/chromium/issues/detail?id=416760)
> > > 
> > > enne@ is still working for (1) and (2).
> > > New issue(3) is created during the working on this CL.
> > > 
> > > This cl will be suspended until above three items are cleared.
> > > I was trying to land cc::Scheduler part of this cl, but there is ongoing
> work
> > > for refactoring
> > > BeginFrame mechanism by Tim.
> > > 
> > > So, I will start 3). then back to here again.
> > 
> > Thanks Simon. That sounds like a good plan if you think you are totally
> blocked
> > on this. The unified BeginFrame is blocking progress in other areas though,
so
> > let me know if you can start landing parts of this in parallel. I anticipate
> > Tim's refactoring work will land next week, which should help unblock you.
> 
> Is there nothing from this patch that we can land in the meantime?

jdduke@, I'm trying to land another cl related with this
(https://codereview.chromium.org/619843002/).
That would be landed in one or two day.
I will try to find and land cc part of this cl in parallel.

Powered by Google App Engine
This is Rietveld 408576698