summaryrefslogtreecommitdiff
path: root/libs/androidfw/include
diff options
context:
space:
mode:
author Jorim Jaggi <jjaggi@google.com> 2017-06-08 15:40:38 -0700
committer Jorim Jaggi <jjaggi@google.com> 2017-06-08 17:22:43 -0700
commit34a0cdb98eb5561774ea4e7b3b602aad80c4a3cc (patch)
treeadece5dc12a5ed961ead639525c7c1134ad56829 /libs/androidfw/include
parent245281c056a5b880486671157b48d6c4e5815ce1 (diff)
Properly run window animations at vsync-sf (1/2)
- Add new Choreographer instance that runs on vsync-sf - Use this new Choreographer for WindowAnimator, and remove all the hacks around it Test: Open apps and close apps, notice no stutter Test: Screen zoom animations Test: go/wm-smoke Bug: 36631902 Change-Id: I988ae25645effc3ac20efa7cb9b68f23444da0d0
Diffstat (limited to 'libs/androidfw/include')
-rw-r--r--libs/androidfw/include/androidfw/DisplayEventDispatcher.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/androidfw/include/androidfw/DisplayEventDispatcher.h b/libs/androidfw/include/androidfw/DisplayEventDispatcher.h
index 3ade2156589a..e1dfb9490c60 100644
--- a/libs/androidfw/include/androidfw/DisplayEventDispatcher.h
+++ b/libs/androidfw/include/androidfw/DisplayEventDispatcher.h
@@ -22,7 +22,8 @@ namespace android {
class DisplayEventDispatcher : public LooperCallback {
public:
- DisplayEventDispatcher(const sp<Looper>& looper);
+ DisplayEventDispatcher(const sp<Looper>& looper,
+ ISurfaceComposer::VsyncSource vsyncSource = ISurfaceComposer::eVsyncSourceApp);
status_t initialize();
void dispose();