diff options
| author | Romain Guy <romainguy@google.com> | 2010-10-04 14:18:24 -0700 |
|---|---|---|
| committer | Romain Guy <romainguy@google.com> | 2010-10-04 14:18:24 -0700 |
| commit | 3b3e457c270a4bc5fe3047e815b5867d99b36f8a (patch) | |
| tree | 8099f5f5b4b7b9313d014e46a10e1619acfe1ab6 | |
| parent | e8cb9c14309b0f01c0159efdf9a7198f44a62642 (diff) | |
| download | frameworks_base-3b3e457c270a4bc5fe3047e815b5867d99b36f8a.zip frameworks_base-3b3e457c270a4bc5fe3047e815b5867d99b36f8a.tar.gz frameworks_base-3b3e457c270a4bc5fe3047e815b5867d99b36f8a.tar.bz2 | |
Snap the clip rectangle to pixel boundaries.
Change-Id: Iac2765303552f385995fe46e219af456e0501da7
| -rw-r--r-- | libs/hwui/Snapshot.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/Snapshot.h b/libs/hwui/Snapshot.h index 062c986..c736a1c 100644 --- a/libs/hwui/Snapshot.h +++ b/libs/hwui/Snapshot.h @@ -141,6 +141,7 @@ public: } if (clipped) { + clipRect->snapToPixelBoundaries(); flags |= Snapshot::kFlagClipSet | Snapshot::kFlagDirtyLocalClip; } |
