diff options
| author | Narayan Kamath <narayan@google.com> | 2014-03-10 10:43:57 +0000 |
|---|---|---|
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-03-10 10:43:58 +0000 |
| commit | 6e2fb587d71631bd29fdb844a6451d68e2144337 (patch) | |
| tree | ea96f7e229cafae41f7be46a3cf0345edd2dc869 /libs/hwui/Patch.cpp | |
| parent | 3fc3b9fd1bf71351bf1ff2d49d6e10b6acabf068 (diff) | |
| parent | 6381dd4ff212a95be30d2b445d40ff419ab076b4 (diff) | |
| download | frameworks_base-6e2fb587d71631bd29fdb844a6451d68e2144337.zip frameworks_base-6e2fb587d71631bd29fdb844a6451d68e2144337.tar.gz frameworks_base-6e2fb587d71631bd29fdb844a6451d68e2144337.tar.bz2 | |
Merge "LP64: Make 9 patches architecture agnostic."
Diffstat (limited to 'libs/hwui/Patch.cpp')
| -rw-r--r-- | libs/hwui/Patch.cpp | 6 |
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; |
