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

Issue 11362177: Replace VSyncMonitor with compositor's VSyncPulseMonitor. (Closed)

Created:
8 years, 1 month ago by aruslan
Modified:
8 years, 1 month ago
Reviewers:
Jay Civelli, Jerome, Sami
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Replace VSyncMonitor with compositor's VSyncPulseMonitor. Differences: - Constructor doesn't require View. - The listener callback is called at most MAX_VSYNC_COUNT times. - VSYNC_TIMEOUT is not used and Terminator is not created. - Minimal timer-based ICS support is added, but see http://crbug.com/156397. BUG=160017 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=167095

Patch Set 1 #

Total comments: 7

Patch Set 2 : Typos and excessive line breaks. #

Total comments: 8

Patch Set 3 : Addressed review comments. #

Patch Set 4 : findbugs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+173 lines, -205 lines) Patch
M build/android/findbugs_filter/findbugs_known_bugs.txt View 1 2 3 2 chunks +0 lines, -6 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/VSyncMonitor.java View 1 2 4 chunks +117 lines, -90 lines 0 comments Download
M content/public/android/javatests/src/org/chromium/content/browser/VSyncMonitorTest.java View 1 2 3 2 chunks +54 lines, -107 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
aruslan
Gentlemen, please review. Once it's done, I'll call in OWNERs.
8 years, 1 month ago (2012-11-09 01:21:10 UTC) #1
Jerome
lgtm A few nits. then lgtm https://codereview.chromium.org/11362177/diff/1/content/public/android/java/src/org/chromium/content/browser/VSyncMonitor.java File content/public/android/java/src/org/chromium/content/browser/VSyncMonitor.java (right): https://codereview.chromium.org/11362177/diff/1/content/public/android/java/src/org/chromium/content/browser/VSyncMonitor.java#newcode29 content/public/android/java/src/org/chromium/content/browser/VSyncMonitor.java:29: * @param vsyncTimeMicro ...
8 years, 1 month ago (2012-11-09 01:59:00 UTC) #2
aruslan
Thanks! Sami -- please review and let me know if anything doesn't make sense. https://codereview.chromium.org/11362177/diff/1/content/public/android/java/src/org/chromium/content/browser/VSyncMonitor.java ...
8 years, 1 month ago (2012-11-09 02:10:35 UTC) #3
Sami
https://chromiumcodereview.appspot.com/11362177/diff/4001/content/public/android/java/src/org/chromium/content/browser/VSyncMonitor.java File content/public/android/java/src/org/chromium/content/browser/VSyncMonitor.java (right): https://chromiumcodereview.appspot.com/11362177/diff/4001/content/public/android/java/src/org/chromium/content/browser/VSyncMonitor.java#newcode18 content/public/android/java/src/org/chromium/content/browser/VSyncMonitor.java:18: * called MAX_VSYNC_COUNT times (on the closest vertical sync ...
8 years, 1 month ago (2012-11-09 18:21:26 UTC) #4
aruslan
Thanks for the reviews! Appraising to Jay for the OWNER's LGTM seal. https://codereview.chromium.org/11362177/diff/4001/content/public/android/java/src/org/chromium/content/browser/VSyncMonitor.java File content/public/android/java/src/org/chromium/content/browser/VSyncMonitor.java ...
8 years, 1 month ago (2012-11-09 19:15:44 UTC) #5
Jay Civelli
lgtm
8 years, 1 month ago (2012-11-09 19:49:50 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aruslan@chromium.org/11362177/4005
8 years, 1 month ago (2012-11-10 02:47:12 UTC) #7
commit-bot: I haz the power
8 years, 1 month ago (2012-11-10 19:07:12 UTC) #8
Change committed as 167095

Powered by Google App Engine
This is Rietveld 408576698