OSDN Git Service

Properly run window animations at vsync-sf (2/2)
authorJorim Jaggi <jjaggi@google.com>
Thu, 8 Jun 2017 22:43:59 +0000 (15:43 -0700)
committerJorim Jaggi <jjaggi@google.com>
Fri, 9 Jun 2017 00:26:09 +0000 (17:26 -0700)
commitb1e2f8deb38353e4bcc9d3ef06bc15bd5e417425
tree5b64e4820f2c821fc2a07722c4f9168ea9b87680
parentb5a1f50f5e4d4c626c9703c8736a0cc0fe9e934e
Properly run window animations at vsync-sf (2/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: I72a8b39709303a38fc077100229b8a81a153ba3e
include/gui/DisplayEventReceiver.h
include/gui/ISurfaceComposer.h
libs/gui/DisplayEventReceiver.cpp
libs/gui/ISurfaceComposer.cpp
libs/gui/tests/Surface_test.cpp
services/surfaceflinger/SurfaceFlinger.cpp
services/surfaceflinger/SurfaceFlinger.h