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

Unified Diff: content/browser/renderer_host/compositing_iosurface_mac.h

Issue 10830347: Hook up Mac OSX VSync parameters to compositor thread (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | content/browser/renderer_host/compositing_iosurface_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/compositing_iosurface_mac.h
diff --git a/content/browser/renderer_host/compositing_iosurface_mac.h b/content/browser/renderer_host/compositing_iosurface_mac.h
index a345d1ec1846d11fe8c56d0484bdeff4a5cf1a26..8b5a04581d5c93b4b7b68a0cd6d91aab1ad897b0 100644
--- a/content/browser/renderer_host/compositing_iosurface_mac.h
+++ b/content/browser/renderer_host/compositing_iosurface_mac.h
@@ -74,6 +74,8 @@ class CompositingIOSurfaceMac {
bool is_vsync_disabled() const { return is_vsync_disabled_; }
// Get vsync scheduling parameters.
+ // |interval_numerator/interval_denominator| equates to fractional number of
+ // seconds between vsyncs.
void GetVSyncParameters(base::TimeTicks* timebase,
uint32* interval_numerator,
uint32* interval_denominator);
@@ -158,7 +160,7 @@ class CompositingIOSurfaceMac {
// Called on display-link thread.
void DisplayLinkTick(CVDisplayLinkRef display_link,
- const CVTimeStamp* output_time);
+ const CVTimeStamp* time);
void CalculateVsyncParametersLockHeld(const CVTimeStamp* time);
« no previous file with comments | « no previous file | content/browser/renderer_host/compositing_iosurface_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698