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

Issue 1789803003: Remove synthetic vsync from Android VsyncMonitor (Closed)

Created:
4 years, 9 months ago by enne (OOO)
Modified:
4 years, 9 months ago
Reviewers:
Ted C, no sievers, Sami
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove synthetic vsync from Android VsyncMonitor This logic is from the ancient past and apparently is not needed anymore. This vsync can cause BeginFrames with frame times in the past to occur. As a part of testing https://codereview.chromium.org/1765723002, this caused AwContentsGarbageCollectionTest#testCreateAndGcManyTimes to crash because of this. It would enter a situation where a synthetic vsync would be sent that tried to predict the last vsync time, but the next time the choreographer sent a frame time it would be *before* the synthetic frame time. This causes assertions later on in the pipeline where it's assumed that all begin frames are monotonically increasing in frame time. These invalid begin frames used to be dropped silently by the begin frame source multiplexer, but that logic is removed in the above patch. R=skyostil@chromium.org,sievers@chromium.org Committed: https://crrev.com/4a7c4f1f0ea5708d7a166a103d85d162ef3ef4c7 Cr-Commit-Position: refs/heads/master@{#381105} Committed: https://crrev.com/822b149f097853222eddabf4ae5f6c61f25523a2 Cr-Commit-Position: refs/heads/master@{#381260}

Patch Set 1 #

Patch Set 2 : Remove synthetic vsync test #

Patch Set 3 : Remove unused variable #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -59 lines) Patch
M content/public/android/javatests/src/org/chromium/content/browser/VSyncMonitorTest.java View 1 2 4 chunks +0 lines, -20 lines 0 comments Download
M ui/android/java/src/org/chromium/ui/VSyncMonitor.java View 5 chunks +0 lines, -39 lines 0 comments Download

Messages

Total messages: 29 (10 generated)
enne (OOO)
4 years, 9 months ago (2016-03-11 23:25:55 UTC) #1
no sievers
lgtm. If we find out we want to still do this 'retroactive vsync' we can ...
4 years, 9 months ago (2016-03-11 23:34:46 UTC) #3
no sievers
You might have to remove testVSyncActivationFromIdle in content/public/android/javatests/src/org/chromium/content/browser/VSyncMonitorTest.java
4 years, 9 months ago (2016-03-11 23:37:11 UTC) #4
enne (OOO)
That test still appears to pass for me, which seems like a good sign that ...
4 years, 9 months ago (2016-03-12 00:06:52 UTC) #5
no sievers
On 2016/03/12 00:06:52, enne wrote: > That test still appears to pass for me, which ...
4 years, 9 months ago (2016-03-12 00:45:43 UTC) #6
Sami
lgtm to remove. On 2016/03/12 00:45:43, sievers wrote: > On 2016/03/12 00:06:52, enne wrote: > ...
4 years, 9 months ago (2016-03-14 16:09:57 UTC) #7
enne (OOO)
Thanks. I removed that test as well based on y'all's comments.
4 years, 9 months ago (2016-03-14 19:56:08 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1789803003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1789803003/20001
4 years, 9 months ago (2016-03-14 22:22:13 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/156922)
4 years, 9 months ago (2016-03-14 22:35:04 UTC) #13
enne (OOO)
+tedchoc for OWNERS
4 years, 9 months ago (2016-03-14 22:43:58 UTC) #15
Ted C
On 2016/03/14 22:43:58, enne wrote: > +tedchoc for OWNERS rs lgtm since this is sievers ...
4 years, 9 months ago (2016-03-14 22:52:13 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1789803003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1789803003/20001
4 years, 9 months ago (2016-03-14 22:53:23 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-14 22:58:45 UTC) #19
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/4a7c4f1f0ea5708d7a166a103d85d162ef3ef4c7 Cr-Commit-Position: refs/heads/master@{#381105}
4 years, 9 months ago (2016-03-14 23:00:22 UTC) #21
pkotwicz
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/1803793004/ by pkotwicz@chromium.org. ...
4 years, 9 months ago (2016-03-15 01:02:08 UTC) #22
enne (OOO)
pkotwicz: How about running FindBugs on upstream bots? Downstream bots /o\ Uploaded a new patch ...
4 years, 9 months ago (2016-03-15 17:22:55 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1789803003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1789803003/40001
4 years, 9 months ago (2016-03-15 17:23:31 UTC) #26
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 9 months ago (2016-03-15 18:32:31 UTC) #27
commit-bot: I haz the power
4 years, 9 months ago (2016-03-15 18:33:46 UTC) #29
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/822b149f097853222eddabf4ae5f6c61f25523a2
Cr-Commit-Position: refs/heads/master@{#381260}

Powered by Google App Engine
This is Rietveld 408576698