diff options
author | Chris Craik <ccraik@google.com> | 2013-03-21 14:39:04 -0700 |
---|---|---|
committer | Chris Craik <ccraik@google.com> | 2013-03-21 14:39:04 -0700 |
commit | 5f803623559aab395a29d575c37c4e39c23a4b4e (patch) | |
tree | 4735e8c0e03aa5222202af815dec86e404c18ad7 /libs/hwui/OpenGLRenderer.h | |
parent | 71b0017759b825f8bddcdda7425afc802e8918c9 (diff) | |
download | frameworks_base-5f803623559aab395a29d575c37c4e39c23a4b4e.zip frameworks_base-5f803623559aab395a29d575c37c4e39c23a4b4e.tar.gz frameworks_base-5f803623559aab395a29d575c37c4e39c23a4b4e.tar.bz2 |
Isolate tiling clip state from snapshot
bug:8409891
Snapshots frequently have their clip overwritten due to applying
deferred state - now, store tiling clip information in a separate
rect, outside of the snapshot so it isn't overwritten.
Change-Id: I21ca4c45dcd802eae99e8de86f11525196777ccb
Diffstat (limited to 'libs/hwui/OpenGLRenderer.h')
-rw-r--r-- | libs/hwui/OpenGLRenderer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/OpenGLRenderer.h b/libs/hwui/OpenGLRenderer.h index 71bd6bb..7bb9395 100644 --- a/libs/hwui/OpenGLRenderer.h +++ b/libs/hwui/OpenGLRenderer.h @@ -947,7 +947,7 @@ private: // Current state sp<Snapshot> mSnapshot; // State used to define the clipping region - sp<Snapshot> mTilingSnapshot; + Rect mTilingClip; // Used to draw textured quads TextureVertex mMeshVertices[4]; |