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

Unified Diff: ui/gl/sync_control_vsync_provider.h

Issue 126823006: SyncControlVSyncProvider: throttle messages when MSC=0 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added piman as OWNER Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/gl/sync_control_vsync_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/sync_control_vsync_provider.h
diff --git a/ui/gl/sync_control_vsync_provider.h b/ui/gl/sync_control_vsync_provider.h
index 1eb7bb9861bbdf019816d479031a91ec66135a52..edee2b080e68088cd3488d5b4cc27cc5297984f8 100644
--- a/ui/gl/sync_control_vsync_provider.h
+++ b/ui/gl/sync_control_vsync_provider.h
@@ -31,6 +31,7 @@ class SyncControlVSyncProvider : public VSyncProvider {
base::TimeTicks last_timebase_;
uint64 last_media_stream_counter_;
base::TimeDelta last_good_interval_;
+ bool invalid_msc_;
// A short history of the last few computed intervals.
// We use this to filter out the noise in the computation resulting
« no previous file with comments | « no previous file | ui/gl/sync_control_vsync_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698