summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger/DispSync.h
diff options
context:
space:
mode:
Diffstat (limited to 'services/surfaceflinger/DispSync.h')
-rw-r--r--services/surfaceflinger/DispSync.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/services/surfaceflinger/DispSync.h b/services/surfaceflinger/DispSync.h
index 7a26df3..96efc34 100644
--- a/services/surfaceflinger/DispSync.h
+++ b/services/surfaceflinger/DispSync.h
@@ -101,6 +101,9 @@ public:
// turned on. It should NOT be used after that.
void setPeriod(nsecs_t period);
+ // The getPeriod method returns the current vsync period.
+ nsecs_t getPeriod();
+
// setRefreshSkipCount specifies an additional number of refresh
// cycles to skip. For example, on a 60Hz display, a skip count of 1
// will result in events happening at 30Hz. Default is zero. The idea