diff options
| author | Sreedhar Telukuntla <stelukun@codeaurora.org> | 2013-06-27 19:27:22 +0530 |
|---|---|---|
| committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2013-07-23 18:12:30 +0000 |
| commit | 3307cd4dbaf8dd28f543336b7094be690eade0a2 (patch) | |
| tree | dd57591691a3a674fe52f2a067a3657b8a994fb6 /cmds | |
| parent | aa18a86e9635b069c74c18c2b89a67e7dd403b5c (diff) | |
| download | frameworks_base-3307cd4dbaf8dd28f543336b7094be690eade0a2.zip frameworks_base-3307cd4dbaf8dd28f543336b7094be690eade0a2.tar.gz frameworks_base-3307cd4dbaf8dd28f543336b7094be690eade0a2.tar.bz2 | |
Add tile dimensions into snapshot and use it for setting tile rect
Current tile rendering implementation in hwui sets the current
clip rect as tile rect during restore. This will limit the rendering
to the restored clip rect. Later in case if the app tries to render
outside the tile rect by setting a new clip rect, then all the pixels,
which are falling outside the tile rect are clipped off, this may result
into UI artifacats. This change adds the support for preserving the tile
clip as part of the snapshot and the same tile clip is used while
setting the tile rect. This way it is taken care that the correct tile
dimensions are preserved during save and retrieved during restore.
CRs-Fixed: 499767
Change-Id: Ia66b6dc8e7be5857949751a81e9f702c2d1c5a57
Diffstat (limited to 'cmds')
0 files changed, 0 insertions, 0 deletions
