diff options
author | Chris Craik <ccraik@google.com> | 2013-02-16 02:09:07 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-02-16 02:09:22 +0000 |
commit | 857089eb1efcc7d86f373edf8cb30911a95f6bac (patch) | |
tree | 90a9ab2dbcf349ce2a1f31950de738ab5f047384 /libs | |
parent | 8d1a6af408d798dec46a8b1230b7327551fb8051 (diff) | |
parent | 62a42c13a6e86255a0118688a60c9248030c95a9 (diff) | |
download | frameworks_base-857089eb1efcc7d86f373edf8cb30911a95f6bac.zip frameworks_base-857089eb1efcc7d86f373edf8cb30911a95f6bac.tar.gz frameworks_base-857089eb1efcc7d86f373edf8cb30911a95f6bac.tar.bz2 |
Merge "Adjust offset for non-AA line drawing"
Diffstat (limited to 'libs')
-rw-r--r-- | libs/hwui/Program.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/Program.cpp b/libs/hwui/Program.cpp index f0b5553..14a2376 100644 --- a/libs/hwui/Program.cpp +++ b/libs/hwui/Program.cpp @@ -160,7 +160,7 @@ void Program::set(const mat4& projectionMatrix, const mat4& modelViewMatrix, // up and to the left. // This offset value is based on an assumption that some hardware may use as // little as 12.4 precision, so we offset by slightly more than 1/16. - p.translate(.375, .375, 0); + p.translate(.065, .065, 0); } mat4 t(transformMatrix); |