diff options
author | 2012-11-26 18:30:17 -0800 | |
---|---|---|
committer | 2013-01-22 13:47:03 -0800 | |
commit | 2af4635e4a9e448a65ff541252f8f94bc6ac48e0 (patch) | |
tree | 2ea27d507f81660cdbb8e2cdf48cce875c1b8cdd /libs/hwui/PathRenderer.cpp | |
parent | 878749fef09c7cb5894f77d9b032f876f9476e47 (diff) |
Object-based DisplayList recording
bug:8037003
Changes the DisplayList from using stream read/write commands to use an array of
objects manually allocated on a linear buffer.
Depends on frameworks/native change https://googleplex-android-review.googlesource.com/#/c/257695/ which adds LinearAllocator
Also changes drawRects to use float count instead of rect count, to be more like drawLines/drawPoints
Change-Id: Ia2e4a11acd8f0a757042a05cbc9e7563cb73ee47
Diffstat (limited to 'libs/hwui/PathRenderer.cpp')
-rw-r--r-- | libs/hwui/PathRenderer.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libs/hwui/PathRenderer.cpp b/libs/hwui/PathRenderer.cpp index dd13d7962577..d59e36f5a1b4 100644 --- a/libs/hwui/PathRenderer.cpp +++ b/libs/hwui/PathRenderer.cpp @@ -596,7 +596,6 @@ bool PathRenderer::convexPathPerimeterVertices(const SkPath& path, bool forceClo SkPath::Iter iter(path, forceClose); SkPoint pts[4]; SkPath::Verb v; - Vertex* newVertex = 0; while (SkPath::kDone_Verb != (v = iter.next(pts))) { switch (v) { case SkPath::kMove_Verb: |