summaryrefslogtreecommitdiffstats
path: root/tests/HwAccelerationTest/src/com/android/test/hwui/Lines2Activity.java
Commit message (Collapse)AuthorAgeFilesLines
* Line endcaps for AA lines are now antialiased.Chet Haase2011-05-021-0/+101
| | | | | | Also fixed other minor issues with AA and line rendering. Change-Id: Icd4638d27c70e2ee0f28b5d9a2b97d8b29e8ac4d
* Fix various hw-accelerated line/point bugsChet Haase2011-04-271-2/+3
| | | | | | | | | | | All accelerated lines are now rendered as quads. Hairlines used to be rendered as GL_LINES, but these lines don't render the same as our non-accelerated lines, so we're using quads for everything. Also, fixed a bug in the way that we were offsetting quads (and not offseting points) to ensure that our lines/points actuall start on the same pixels as Skia's. Change-Id: I51b923cc08a9858444c430ba07bc8aa0c83cbe6a
* Enable anti-aliasing for hw-accelerated linesChet Haase2011-04-211-0/+149
Draw anti-aliased lines with OpenGL by constructing a quad with a border that fades out (to mimic fragment coverage). Change-Id: Ib81a3e62d663acdf1b46b401ac4aa7ee9855cc7e