commit | 3b3e457c270a4bc5fe3047e815b5867d99b36f8a | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Mon Oct 04 14:18:24 2010 -0700 |
committer | Romain Guy <romainguy@google.com> | Mon Oct 04 14:18:24 2010 -0700 |
tree | 8099f5f5b4b7b9313d014e46a10e1619acfe1ab6 | |
parent | e8cb9c14309b0f01c0159efdf9a7198f44a62642 [diff] |
Snap the clip rectangle to pixel boundaries. Change-Id: Iac2765303552f385995fe46e219af456e0501da7
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 @@ } if (clipped) { + clipRect->snapToPixelBoundaries(); flags |= Snapshot::kFlagClipSet | Snapshot::kFlagDirtyLocalClip; }