diff options
author | Andy McFadden <fadden@android.com> | 2014-06-13 14:04:23 -0700 |
---|---|---|
committer | Andy McFadden <fadden@android.com> | 2014-06-17 10:41:46 -0700 |
commit | 91b2ca8562763c981c4ce93148db80adb51d0cb6 (patch) | |
tree | 13441947f4c92fae7b6ee64df558f7160300d147 /include | |
parent | 24730ee6215ca4d69e7737111743c613db58a51d (diff) | |
download | frameworks_native-91b2ca8562763c981c4ce93148db80adb51d0cb6.zip frameworks_native-91b2ca8562763c981c4ce93148db80adb51d0cb6.tar.gz frameworks_native-91b2ca8562763c981c4ce93148db80adb51d0cb6.tar.bz2 |
Add two new display info fields
This adds SurfaceFlinger's app VSYNC offset and buffer deadline
values to DisplayInfo.
Bug 14612039
Change-Id: Ie0ab21d388fe2764f2b6f71bd1cefa33dc861a73
Diffstat (limited to 'include')
-rw-r--r-- | include/ui/DisplayInfo.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ui/DisplayInfo.h b/include/ui/DisplayInfo.h index 3b5cd6d..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,6 +34,8 @@ struct DisplayInfo { float density; uint8_t orientation; bool secure; + nsecs_t appVsyncOffset; + nsecs_t presentationDeadline; }; /* Display orientations as defined in Surface.java and ISurfaceComposer.h. */ |