summaryrefslogtreecommitdiff
path: root/libs/hwui/TextureCache.cpp
diff options
context:
space:
mode:
author Alan Viverette <alanv@google.com> 2014-12-10 13:52:28 -0800
committer Alan Viverette <alanv@google.com> 2014-12-10 13:52:28 -0800
commit62b780e85ff2fcefd4324c3bfbf49b14963cf58b (patch)
tree638bbd84f1b01659d31a78e1e9bb72911c2f08b2 /libs/hwui/TextureCache.cpp
parentc78018774503308e8c8266f6769c9e4c895f3a97 (diff)
Avoid creating futures for drawables with no constant state
We don't need to create futures for drawables without constant state, since we only copy on mutate and we don't need to do any work on mutate() for drawables without shared constant state. Also we would crash in that case, so avoiding the NPE is nice too. Rider: Also fixes elevations again. BUG: 18696100 Change-Id: I4d7737f39ce3efc5830704e5ce412c540603e6ac
Diffstat (limited to 'libs/hwui/TextureCache.cpp')
0 files changed, 0 insertions, 0 deletions