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

Issue 2746223003: Enable control over frame time in SimTests (Closed)

Created:
3 years, 9 months ago by alancutter (OOO until 2018)
Modified:
3 years, 9 months ago
Reviewers:
esprehn
CC:
blink-reviews, chromium-reviews, kinuko+watch
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable control over frame time in SimTests This change adds beginFrame(double timeDelta) to SimCompositor to allow SimTests to control the time progression used by each frame. This is in preparation for adding animation SimTests. This change also fixes a bug in the beginFrame() implementation where it used monotonicallyIncreasingTime() instead of m_lastFrameTimeMonotonic. BUG=701250 Review-Url: https://codereview.chromium.org/2746223003 Cr-Commit-Position: refs/heads/master@{#456646} Committed: https://chromium.googlesource.com/chromium/src/+/04263813eccfbf85dc2143e4154b3c65b0f036fb

Patch Set 1 #

Patch Set 2 : assert #

Total comments: 1

Patch Set 3 : reviewchange #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -4 lines) Patch
M third_party/WebKit/Source/web/tests/sim/SimCompositor.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/tests/sim/SimCompositor.cpp View 1 2 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
alancutter (OOO until 2018)
3 years, 9 months ago (2017-03-14 05:46:46 UTC) #3
esprehn
I'm not sure we should support moving backwards in time, could we make beginFrame() accept ...
3 years, 9 months ago (2017-03-14 05:48:09 UTC) #4
esprehn
https://codereview.chromium.org/2746223003/diff/20001/third_party/WebKit/Source/web/tests/sim/SimCompositor.h File third_party/WebKit/Source/web/tests/sim/SimCompositor.h (right): https://codereview.chromium.org/2746223003/diff/20001/third_party/WebKit/Source/web/tests/sim/SimCompositor.h#newcode35 third_party/WebKit/Source/web/tests/sim/SimCompositor.h:35: SimDisplayItemList beginFrame(double timeInSeconds); If we make this: (double timeInSeconds ...
3 years, 9 months ago (2017-03-14 05:54:12 UTC) #6
alancutter (OOO until 2018)
On 2017/03/14 at 05:48:09, esprehn wrote: > I'm not sure we should support moving backwards ...
3 years, 9 months ago (2017-03-14 05:54:13 UTC) #7
alancutter (OOO until 2018)
On 2017/03/14 at 05:54:12, esprehn wrote: > https://codereview.chromium.org/2746223003/diff/20001/third_party/WebKit/Source/web/tests/sim/SimCompositor.h > File third_party/WebKit/Source/web/tests/sim/SimCompositor.h (right): > > https://codereview.chromium.org/2746223003/diff/20001/third_party/WebKit/Source/web/tests/sim/SimCompositor.h#newcode35 ...
3 years, 9 months ago (2017-03-14 05:55:07 UTC) #8
esprehn
lgtm
3 years, 9 months ago (2017-03-14 05:55:32 UTC) #9
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/2746223003/40001
3 years, 9 months ago (2017-03-14 05:57:27 UTC) #11
commit-bot: I haz the power
3 years, 9 months ago (2017-03-14 07:09:17 UTC) #14
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/04263813eccfbf85dc2143e4154b...

Powered by Google App Engine
This is Rietveld 408576698