OSDN Git Service

Add systrace for VectorDrawable inflation and draw
authorztenghui <ztenghui@google.com>
Wed, 13 Sep 2017 17:32:50 +0000 (10:32 -0700)
committerztenghui <ztenghui@google.com>
Thu, 14 Sep 2017 22:56:50 +0000 (15:56 -0700)
commitcf0c41dbc221c2619212c7e25e6d90a9c4d05b05
tree46b9526090b931ed2a74472dea2568e9cef7d909
parent6d17e6586e77e1f2409df469c2c4ddfeb64e2369
Add systrace for VectorDrawable inflation and draw

We didn't trace the draw from cache.
Here we add trace for draw into bitmap, which is normally heavy.

fix: 65060698
Test: run test app and get systrace and check

Change-Id: Ia81127c4aa285b3277e9c9edbdf356d85cb28b5e
graphics/java/android/graphics/drawable/VectorDrawable.java
libs/hwui/VectorDrawable.cpp