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

Issue 429743003: Rename Animate as Begin(Main)Frame (Closed)

Created:
6 years, 4 months ago by Sami
Modified:
6 years, 4 months ago
CC:
cc-bugs_chromium.org, chromium-reviews, darin-cc_chromium.org, jam, piman+watch_chromium.org, boliu
Project:
chromium
Visibility:
Public.

Description

Rename Animate as Begin(Main)Frame Rename Animate as Begin(Main)Frame to harmonize the terminology used by different parts of the system. The monotonic start time of the last frame that is passed into this function is also renamed for consistency. No functional changes. Original patch by Simon Pick (picksi@chromium.org). BUG=346230 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=290248

Patch Set 1 #

Patch Set 2 : Catch more places. #

Patch Set 3 : Build fix. #

Patch Set 4 : Mojo build fix. #

Patch Set 5 : Use BeginFrameArgs instead. #

Patch Set 6 : Fix a typo that made tests fail. #

Total comments: 27

Patch Set 7 : Rebased. #

Patch Set 8 : Tim's comments. #

Patch Set 9 : Rebased. #

Patch Set 10 : Build fix. #

Total comments: 2

Patch Set 11 : Rebased. #

Patch Set 12 : Added TODO. #

Patch Set 13 : Build fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+181 lines, -145 lines) Patch
M android_webview/browser/hardware_renderer.h View 1 2 3 4 9 10 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/heads_up_display_layer_impl.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M cc/layers/picture_layer_impl.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -1 line 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 1 2 3 4 5 6 7 16 chunks +31 lines, -15 lines 0 comments Download
M cc/resources/tile_manager_perftest.cc View 1 2 3 4 5 6 7 4 chunks +6 lines, -2 lines 0 comments Download
M cc/test/begin_frame_args_test.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M cc/test/begin_frame_args_test.cc View 1 2 3 4 5 6 7 1 chunk +8 lines, -4 lines 0 comments Download
M cc/test/fake_layer_tree_host_client.h View 1 2 3 4 9 10 1 chunk +1 line, -1 line 0 comments Download
M cc/test/fake_layer_tree_host_impl.h View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -3 lines 0 comments Download
M cc/test/fake_layer_tree_host_impl.cc View 1 2 3 4 5 6 7 8 4 chunks +10 lines, -9 lines 0 comments Download
M cc/test/layer_tree_test.h View 1 2 3 4 9 10 1 chunk +1 line, -1 line 0 comments Download
M cc/test/layer_tree_test.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +6 lines, -6 lines 0 comments Download
M cc/trees/layer_tree_host_client.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +21 lines, -15 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_perftest.cc View 1 2 3 4 9 10 5 chunks +6 lines, -6 lines 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +5 lines, -5 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_animation.cc View 1 2 3 4 5 6 7 8 15 chunks +26 lines, -28 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_no_message_loop.cc View 1 2 3 4 5 6 7 9 10 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_impl.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M cc/trees/single_thread_proxy.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -2 lines 0 comments Download
M cc/trees/thread_proxy.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/thread_proxy.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +7 lines, -8 lines 0 comments Download
M content/browser/renderer_host/compositor_impl_android.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/gpu/render_widget_compositor.h View 1 2 3 4 9 10 11 12 2 chunks +1 line, -2 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 4 chunks +7 lines, -8 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 1 chunk +1 line, -1 line 0 comments Download
M mojo/examples/compositor_app/compositor_host.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M mojo/examples/compositor_app/compositor_host.cc View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -2 lines 0 comments Download
M ui/compositor/compositor.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M ui/compositor/compositor.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +9 lines, -5 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
Sami
Could you guys do a sanity check on this? I was thinking of just making ...
6 years, 4 months ago (2014-08-04 18:44:47 UTC) #1
Sami
I bit the bullet and made us pass around a BeginFrameArgs instead, because I think ...
6 years, 4 months ago (2014-08-08 16:50:43 UTC) #2
mithro-old
Hi Sami, Firstly, I support us doing this, both the making naming consistent and passing ...
6 years, 4 months ago (2014-08-11 07:33:34 UTC) #3
Sami
Thanks Tim, all comments addressed. https://codereview.chromium.org/429743003/diff/100001/cc/resources/tile_manager_perftest.cc File cc/resources/tile_manager_perftest.cc (right): https://codereview.chromium.org/429743003/diff/100001/cc/resources/tile_manager_perftest.cc#newcode398 cc/resources/tile_manager_perftest.cc:398: BeginFrameArgs::DefaultInterval()); On 2014/08/11 07:33:33, ...
6 years, 4 months ago (2014-08-11 17:51:27 UTC) #4
Sami
I think brian's still at SIGGRAPH, so enne could you have a look at the ...
6 years, 4 months ago (2014-08-14 16:46:27 UTC) #5
enne (OOO)
lgtm
6 years, 4 months ago (2014-08-14 17:21:32 UTC) #6
Sami
Thanks enne. Adding some more owners: mkosiba@chromium.org: android_webview/ qsr@chromium.org: mojo/ piman@chromium.org: content/ and ui/ PTAL, ...
6 years, 4 months ago (2014-08-14 18:03:42 UTC) #7
piman
lgtm
6 years, 4 months ago (2014-08-15 03:04:59 UTC) #8
mkosiba (inactive)
android_webview/ LGTM
6 years, 4 months ago (2014-08-15 11:34:40 UTC) #9
brianderson
lgtm. Thanks for routing BeginFrameArgs everywhere too. https://codereview.chromium.org/429743003/diff/180001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/429743003/diff/180001/cc/trees/layer_tree_host_impl.cc#newcode3159 cc/trees/layer_tree_host_impl.cc:3159: current_begin_frame_args_.frame_time = ...
6 years, 4 months ago (2014-08-16 00:11:51 UTC) #10
qsr
mojo LGTM
6 years, 4 months ago (2014-08-18 08:38:24 UTC) #11
Sami
https://codereview.chromium.org/429743003/diff/180001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/429743003/diff/180001/cc/trees/layer_tree_host_impl.cc#newcode3159 cc/trees/layer_tree_host_impl.cc:3159: current_begin_frame_args_.frame_time = gfx::FrameTime::Now(); On 2014/08/16 00:11:51, brianderson wrote: > ...
6 years, 4 months ago (2014-08-18 10:48:16 UTC) #12
Sami
The CQ bit was checked by skyostil@chromium.org
6 years, 4 months ago (2014-08-18 10:51:48 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skyostil@chromium.org/429743003/220001
6 years, 4 months ago (2014-08-18 10:52:06 UTC) #14
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-18 11:35:03 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-18 11:39:16 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_swarming on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_swarming/builds/4234)
6 years, 4 months ago (2014-08-18 11:39:17 UTC) #17
Sami
The CQ bit was checked by skyostil@chromium.org
6 years, 4 months ago (2014-08-18 11:45:22 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skyostil@chromium.org/429743003/240001
6 years, 4 months ago (2014-08-18 11:46:49 UTC) #19
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_compile_dbg on tryserver.chromium.win ...
6 years, 4 months ago (2014-08-18 13:02:02 UTC) #20
commit-bot: I haz the power
6 years, 4 months ago (2014-08-18 13:38:45 UTC) #21
Message was sent while issue was closed.
Committed patchset #13 (240001) as 290248

Powered by Google App Engine
This is Rietveld 408576698