From e3a9b24b5e3f9b2058486814a6d27729e51ad466 Mon Sep 17 00:00:00 2001 From: Romain Guy Date: Tue, 8 Jan 2013 11:15:30 -0800 Subject: Add plumbing for better text scaling Fonts are now described by a transform matrix. This lead to switching from a vector to a hashmap. This change therefore adds new comparators and hash computations to Font. Change-Id: I2daffa7d6287c18554c606b8bfa06640d28b4530 --- libs/hwui/PathCache.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'libs/hwui/PathCache.cpp') diff --git a/libs/hwui/PathCache.cpp b/libs/hwui/PathCache.cpp index 03ddf597b33a..4f682ed09328 100644 --- a/libs/hwui/PathCache.cpp +++ b/libs/hwui/PathCache.cpp @@ -93,9 +93,6 @@ PathTexture* PathCache::get(SkPath* path, SkPaint* paint) { PathCacheEntry entry(path, paint); PathTexture* texture = mCache.get(entry); - float left, top, offset; - uint32_t width, height; - if (!texture) { texture = addTexture(entry, path, paint); } else if (path->getGenerationID() != texture->generation) { -- cgit v1.2.3-59-g8ed1b