From 2af4635e4a9e448a65ff541252f8f94bc6ac48e0 Mon Sep 17 00:00:00 2001 From: Chris Craik Date: Mon, 26 Nov 2012 18:30:17 -0800 Subject: 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 --- libs/hwui/PathRenderer.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'libs/hwui/PathRenderer.cpp') 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: -- cgit v1.2.3-59-g8ed1b