summaryrefslogtreecommitdiffstats
path: root/libs
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2013-02-16 02:09:07 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-02-16 02:09:22 +0000
commit857089eb1efcc7d86f373edf8cb30911a95f6bac (patch)
tree90a9ab2dbcf349ce2a1f31950de738ab5f047384 /libs
parent8d1a6af408d798dec46a8b1230b7327551fb8051 (diff)
parent62a42c13a6e86255a0118688a60c9248030c95a9 (diff)
downloadframeworks_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.cpp2
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);