OSDN Git Service

Put VD animators on paused list when RT stops drawing
authorDoris Liu <tianliu@google.com>
Fri, 29 Jul 2016 23:45:24 +0000 (16:45 -0700)
committerDoris Liu <tianliu@google.com>
Mon, 1 Aug 2016 21:42:15 +0000 (21:42 +0000)
commitc82e879e563ad692cabf19f61a08559c6220171e
tree52afc004a494c4185fca4cef1bace8df200cc6fa
parent7dd40cd4117cb7cf57d37f04088e4c55be423c1c
Put VD animators on paused list when RT stops drawing

When we stop scheduling for new frames on RenderThread, we should
put the running animations on pause, rather than purge the list
of the running animations, such that in the next full
sync, the animations that were paused will continue to run.

BUG: 30226711
Change-Id: I36ff6f5d26ffa7999f60ca0ff676a35157577dc2
core/jni/android_view_ThreadedRenderer.cpp
libs/hwui/AnimationContext.h
libs/hwui/renderthread/CanvasContext.cpp