summaryrefslogtreecommitdiffstats
path: root/include/ui/DisplayInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ui/DisplayInfo.h')
-rw-r--r--include/ui/DisplayInfo.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/ui/DisplayInfo.h b/include/ui/DisplayInfo.h
index 2853e06..799944f 100644
--- a/include/ui/DisplayInfo.h
+++ b/include/ui/DisplayInfo.h
@@ -19,6 +19,7 @@
#include <stdint.h>
#include <sys/types.h>
+#include <utils/Timers.h>
#include <ui/PixelFormat.h>
@@ -33,7 +34,8 @@ struct DisplayInfo {
float density;
uint8_t orientation;
bool secure;
- uint8_t reserved[2];
+ nsecs_t appVsyncOffset;
+ nsecs_t presentationDeadline;
};
/* Display orientations as defined in Surface.java and ISurfaceComposer.h. */