summaryrefslogtreecommitdiff
path: root/libs/hwui/utils/VectorDrawableUtils.cpp
AgeCommit message (Collapse)Author
2019-11-25switch to new SkPathDirection enumMike Reed
Test: make Change-Id: If88814c12d12280d362078c1d8bc7f66558f82e2
2017-12-05Update VectorDrawables to use Skia's drawArc implementation.Derek Sollenberger
Using Skia enables drawArc to issue conic draw calls as well as fixes some of the issues around a scaled path containing a drawArc being reported as concave. Bug: 69622768 Test: hwui_unit_tests Change-Id: I4faab5403ec4ee34e1ad6fae256ae9ad3c6bb05b
2017-11-03Format the world (or just HWUI)John Reck
Test: No code changes, just ran through clang-format Change-Id: Id23aa4ec7eebc0446fe3a30260f33e7fd455bb8c
2016-04-25Turn off some path drawing logs by defaultTeng-Hui Zhu
Originally the logs are added to track potential performance bug. Like unexpectedly deep recursion loop. However so far, we haven't captured anything by these logs. And they are causing some misunderstanding in some bugs. So I think it is better to disable it by default. In the future, we will consider switching to direct Skia arcTo support and drop this part. Change-Id: Iff6df7a92e40b4775a644a1497e113de0eedbc8a
2015-11-18VectorDrawable native rendering - Step 2 of MANYDoris Liu
Introduced PathData in Java, which is effectively a thin layer around the native instance. PathData holds the verbs and points which is being used in path morphing/interpolation. The verbs and points can be interpreted into skia path commands, which is now done in native and therefore saves a handful of JNI calls during path creation. Removed the old PathDataNode mechanism and changed the PathEvaluator to use PathData instead. Also added tests and a microbench. Also ran CTS tests for VectorDrawable and AnimatedVectorDrawable, and passed all of the existing tests. Change-Id: Ia166f5172ff031fe18b154327967f911a62caec1