summaryrefslogtreecommitdiffstats
path: root/libs/hwui/Snapshot.h
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2010-10-14 14:46:44 -0700
committerRomain Guy <romainguy@google.com>2010-10-14 14:49:34 -0700
commitd2a1ff003b9b1212c9ab4b5f679b5b097720a359 (patch)
tree8ed98a94f0799861c4ebcb1799e7263fc8024000 /libs/hwui/Snapshot.h
parentba7aad209f2b130a953467abd8cb41357fc20410 (diff)
downloadframeworks_base-d2a1ff003b9b1212c9ab4b5f679b5b097720a359.zip
frameworks_base-d2a1ff003b9b1212c9ab4b5f679b5b097720a359.tar.gz
frameworks_base-d2a1ff003b9b1212c9ab4b5f679b5b097720a359.tar.bz2
Fix text rendering issue.
The local clip rect could be off by one pixel when a 3D transform was applied to a text primitive. This would cause small rendering glitches in Launcher in particular. Change-Id: I1254f6a5838c26810cbe969b096679d40b8dd504
Diffstat (limited to 'libs/hwui/Snapshot.h')
-rw-r--r--libs/hwui/Snapshot.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/libs/hwui/Snapshot.h b/libs/hwui/Snapshot.h
index 35cdf6f..2da1950 100644
--- a/libs/hwui/Snapshot.h
+++ b/libs/hwui/Snapshot.h
@@ -152,7 +152,6 @@ public:
}
if (clipped) {
- clipRect->snapToPixelBoundaries();
flags |= Snapshot::kFlagClipSet | Snapshot::kFlagDirtyLocalClip;
}