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 184023002: Change LayerHostImpl to use frame time from BeginFrameArgs rather than ::Now() (Closed)

Created:
6 years, 9 months ago by mithro-old
Modified:
6 years ago
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

BeginFrameArgs are sent for every new animation frame and contain the frame time that should be used for animating. When background ticking, we override the frame time with the output of our TimeSource. This should be replaced in the future with a BeginBackgroundFrame type system mirroring BeginFrame. BUG=345459

Patch Set 1 #

Patch Set 2 : (Upload with DEPS) Fixing background ticking, trying to fix tests, lots of other small updates. #

Patch Set 3 : Fixing background ticking, trying to fix tests, lots of other small updates. #

Total comments: 11
Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -50 lines) Patch
M cc/layers/layer_impl.cc View 1 1 chunk +1 line, -1 line 1 comment Download
M cc/test/fake_layer_tree_host_impl.h View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/test/fake_layer_tree_host_impl.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 2 2 chunks +4 lines, -5 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 7 chunks +20 lines, -21 lines 5 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 1 chunk +1 line, -5 lines 1 comment Download
M cc/trees/layer_tree_impl.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 2 2 chunks +2 lines, -6 lines 1 comment Download
M cc/trees/single_thread_proxy.cc View 1 2 2 chunks +1 line, -2 lines 1 comment Download
M cc/trees/thread_proxy.cc View 1 2 4 chunks +2 lines, -7 lines 2 comments Download

Messages

Total messages: 6 (0 generated)
mithro-old
Need to figure out background animation ticking. ---------------------------------------------- void ThreadProxy::UpdateBackgroundAnimateTicking() { bool should_background_tick = !impl().scheduler->WillDrawIfNeeded() ...
6 years, 9 months ago (2014-02-28 00:33:38 UTC) #1
mithro-old
Can you all please take another look at this patch? I think I've fixed the ...
6 years, 9 months ago (2014-03-11 15:35:23 UTC) #2
danakj
https://codereview.chromium.org/184023002/diff/30001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/184023002/diff/30001/cc/trees/layer_tree_host_impl.cc#newcode172 cc/trees/layer_tree_host_impl.cc:172: layer_tree_host_impl_->OverrideCurrentFrameTime( This should be above UpdateDrawProps/ManageTiles. https://codereview.chromium.org/184023002/diff/30001/cc/trees/layer_tree_host_impl.cc#newcode2509 cc/trees/layer_tree_host_impl.cc:2509: CurrentFrameTimeTicks(), ...
6 years, 9 months ago (2014-03-11 18:32:35 UTC) #3
mithro-old
Hi aelias, Dana suggested that you would be a good person to look at this ...
6 years, 9 months ago (2014-03-20 03:31:54 UTC) #4
aelias_OOO_until_Jul13
Hmm, it looks to me like every place in this where you changed physical time ...
6 years, 9 months ago (2014-03-21 01:37:43 UTC) #5
aelias_OOO_until_Jul13
6 years, 9 months ago (2014-03-25 07:40:19 UTC) #6
FYI, I posted an alternative way to remove CurrentPhysicalTimeTicks that
addresses my concerns: https://codereview.chromium.org/210793002/

Powered by Google App Engine
This is Rietveld 408576698