commit | ec845a215e343cdb3b2e4c7b6aff7b24beb0236b | [log] [tgz] |
---|---|---|
author | John Reck <jreck@google.com> | Fri Sep 05 15:23:38 2014 -0700 |
committer | John Reck <jreck@google.com> | Fri Sep 05 15:23:38 2014 -0700 |
tree | 270a6f8ff4a8c6c03c207ebc6fca85168efc25b8 | |
parent | c237555c6cb89c347acf13eba45b875946473501 [diff] |
Fix race condition 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