summaryrefslogtreecommitdiffstats
path: root/libs/hwui/Patch.cpp
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2014-03-10 10:47:45 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-03-10 10:47:45 +0000
commit8272c84cb531a4f148f0b0a31d8359d381137378 (patch)
treebdd6ace80e9c97b8509bdcde2fd52d09e6ae9102 /libs/hwui/Patch.cpp
parente3318addc9c42a7b6d9d1ba8eaff786236b6dec0 (diff)
parentbbf826659e8e5d0be683b2459207c495303d53b6 (diff)
downloadframeworks_base-8272c84cb531a4f148f0b0a31d8359d381137378.zip
frameworks_base-8272c84cb531a4f148f0b0a31d8359d381137378.tar.gz
frameworks_base-8272c84cb531a4f148f0b0a31d8359d381137378.tar.bz2
am bbf82665: am 6e2fb587: Merge "LP64: Make 9 patches architecture agnostic."
* commit 'bbf826659e8e5d0be683b2459207c495303d53b6': LP64: Make 9 patches architecture agnostic.
Diffstat (limited to 'libs/hwui/Patch.cpp')
-rw-r--r--libs/hwui/Patch.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/hwui/Patch.cpp b/libs/hwui/Patch.cpp
index 9b023f9..b2148b0 100644
--- a/libs/hwui/Patch.cpp
+++ b/libs/hwui/Patch.cpp
@@ -57,7 +57,7 @@ TextureVertex* Patch::createMesh(const float bitmapWidth, const float bitmapHeig
if (vertices) return vertices;
int8_t emptyQuads = 0;
- mColors = patch->colors;
+ mColors = patch->getColors();
const int8_t numColors = patch->numColors;
if (uint8_t(numColors) < sizeof(uint32_t) * 4) {
@@ -79,8 +79,8 @@ TextureVertex* Patch::createMesh(const float bitmapWidth, const float bitmapHeig
TextureVertex* tempVertices = new TextureVertex[maxVertices];
TextureVertex* vertex = tempVertices;
- const int32_t* xDivs = patch->xDivs;
- const int32_t* yDivs = patch->yDivs;
+ const int32_t* xDivs = patch->getXDivs();
+ const int32_t* yDivs = patch->getYDivs();
const uint32_t xStretchCount = (xCount + 1) >> 1;
const uint32_t yStretchCount = (yCount + 1) >> 1;