diff options
author | Chris Craik <ccraik@google.com> | 2014-01-29 13:00:33 -0800 |
---|---|---|
committer | Chris Craik <ccraik@google.com> | 2014-03-19 20:09:04 +0000 |
commit | 5d39a77992ba6573fbc0cd4d85e0390bb5feb637 (patch) | |
tree | 88219a1ba621772b5f643c202d48e994040cef97 /libs/hwui/Program.h | |
parent | f260ed09263d60ff941225e31e22d344afd90c0f (diff) | |
download | frameworks_base-5d39a77992ba6573fbc0cd4d85e0390bb5feb637.zip frameworks_base-5d39a77992ba6573fbc0cd4d85e0390bb5feb637.tar.gz frameworks_base-5d39a77992ba6573fbc0cd4d85e0390bb5feb637.tar.bz2 |
Fix projection offset caching - DO NOT MERGE
bug:13214038
Because the caching of projection matrix didn't account for changes in
the offset flag, the flag could be ignored. Now we use both to verify
that the cached matrix can be used.
Change-Id: I193b94eaf0b98f046a6484f0866c3d25048653fd
(cherry picked from commit d04a6b15f74035fd2068f34225825b55e94521f4)
Diffstat (limited to 'libs/hwui/Program.h')
-rw-r--r-- | libs/hwui/Program.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/Program.h b/libs/hwui/Program.h index 4f94afc..f6ac8ec 100644 --- a/libs/hwui/Program.h +++ b/libs/hwui/Program.h @@ -431,6 +431,7 @@ private: bool mHasSampler; mat4 mProjection; + bool mOffset; }; // class Program }; // namespace uirenderer |