OSDN Git Service

Fix VectorDrawable dirty flag logic
authorStan Iliev <stani@google.com>
Thu, 14 Sep 2017 14:58:26 +0000 (10:58 -0400)
committerStan Iliev <stani@google.com>
Tue, 19 Sep 2017 14:01:50 +0000 (10:01 -0400)
commitd7b8af13d68d880f3dff788d561cae5df6bc4fa3
tree098b8c8cd3466a49161e077df32d38670f183005
parent2eba753d38a1826e697d16010dd9386186d99911
Fix VectorDrawable dirty flag logic

Pass VD staging dirty flag value to the render thread dirty flag.
This is fixing animation on growing VD bounds, which looked bad
because cache was not refreshed and scaling it up 100 times did
not look good.

Test: Ran GoogleCamera app and HWUI unit tests.
Bug: 65534766
Change-Id: Ie83cbb6839c772556340b4ec526ba3699fc84255
libs/hwui/VectorDrawable.h