diff options
author | Chet Haase <chet@google.com> | 2011-05-02 15:00:16 -0700 |
---|---|---|
committer | Chet Haase <chet@google.com> | 2011-05-02 15:08:38 -0700 |
commit | 99585adeb4167ca357a72eb866f34c1af944f4b9 (patch) | |
tree | ba993a2167fb880c98e29e4d2bd46933e182b1cf /libs/hwui/OpenGLRenderer.h | |
parent | 71a0dab1ca962c2827be0221a7fbcc065dc3cbb8 (diff) | |
download | frameworks_base-99585adeb4167ca357a72eb866f34c1af944f4b9.zip frameworks_base-99585adeb4167ca357a72eb866f34c1af944f4b9.tar.gz frameworks_base-99585adeb4167ca357a72eb866f34c1af944f4b9.tar.bz2 |
Line endcaps for AA lines are now antialiased.
Also fixed other minor issues with AA and line rendering.
Change-Id: Icd4638d27c70e2ee0f28b5d9a2b97d8b29e8ac4d
Diffstat (limited to 'libs/hwui/OpenGLRenderer.h')
-rw-r--r-- | libs/hwui/OpenGLRenderer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/hwui/OpenGLRenderer.h b/libs/hwui/OpenGLRenderer.h index 0ffd70b..6ffd931 100644 --- a/libs/hwui/OpenGLRenderer.h +++ b/libs/hwui/OpenGLRenderer.h @@ -468,7 +468,8 @@ private: void setupDrawTextureTransform(mat4& transform); void setupDrawMesh(GLvoid* vertices, GLvoid* texCoords = NULL, GLuint vbo = 0); void setupDrawVertices(GLvoid* vertices); - void setupDrawAALine(GLvoid* vertices, GLvoid* distanceCoords, float strokeWidth); + void setupDrawAALine(GLvoid* vertices, GLvoid* distanceCoords, GLvoid* lengthCoords, + float strokeWidth); void finishDrawTexture(); void drawRegionRects(const Region& region); |