summaryrefslogtreecommitdiffstats
path: root/libs/hwui/AnimationContext.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix race conditionJohn Reck2014-09-051-2/+2
| | | | | | | | | | | | Bug: 17372309 AnimationContext::startFrame() happens both with and without the UI thread lock. Pass the TraversalMode into it so that ThreadedRenderer's subclass can correctly decide when it is safe to push over mPendingAnimatingRenderNodes, as doing so outside of the lock is Very Bad. Change-Id: Ife5dd3a2b46b0a207cd9234c159a674afdbf5efd
* Fix some wrong-thread issues around animator managementJohn Reck2014-09-031-0/+2
| | | | | | | | | | | | Bug: 17372309 Fixes a case where UI thread and RT thread both used the same method which wasn't safe for either of them. Adds additional assertions & logging in unusual circumstances to try and track down where the issue is occuring from. Change-Id: I93d31a6fd0c5927259b67bdf96a475944226eee6
* Actually end animators on tree destructionJohn Reck2014-08-281-0/+7
| | | | | | Bug: 17313962 Change-Id: I66b86d50b415f9aa33da23297f22e2cf7f96f565
* Animator stuffJohn Reck2014-08-271-0/+112
Bug: 17228458 Change-Id: Id884a429a512f9cd2be0ed16dbd0f10e92b4440d