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

Unified Diff: ui/surface/accelerated_surface_win.h

Issue 10825053: Use DwmGetCompositionTimingInfo to get vsync info on Windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Change uint32_t to uint32 Created 8 years, 5 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
Index: ui/surface/accelerated_surface_win.h
diff --git a/ui/surface/accelerated_surface_win.h b/ui/surface/accelerated_surface_win.h
index 2abf0cedc8502d133663054de56b10eccf82f79f..0b426784b14ef91685f5b0007e61428a393b5e7e 100644
--- a/ui/surface/accelerated_surface_win.h
+++ b/ui/surface/accelerated_surface_win.h
@@ -70,6 +70,9 @@ class SURFACE_EXPORT AcceleratedPresenter
void DoPresent(HDC dc, bool* presented);
bool DoRealPresent(HDC dc);
void DoReleaseSurface();
+ void GetPresentationStats(base::TimeTicks *timebase,
jbates 2012/07/28 01:35:30 comments + n/d abbrev.
+ uint32 *interval_n,
+ uint32 *interval_d);
// The thread with which this presenter has affinity.
PresentThread* const present_thread_;

Powered by Google App Engine
This is Rietveld 408576698