summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorChristopher Lais <chris+android@zenthought.org>2011-01-13 15:02:05 -0600
committerChristopher Lais <chris+android@zenthought.org>2011-01-14 00:43:16 -0600
commit8d71769b9bc3d0e72b26217d9059ce4473a91fe5 (patch)
treeae2ce534bbb4d99850c7efe553bdc6d374f3a113 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parenta220a2979937700024662be0f8fc166ca65506ed (diff)
Don't drop the drawable cache completely on configuration change
There was a lot of fancy code just above the clear to ensure that drawables that aren't affected by the change are kept, then the entire array was cleared. This patch removes the clear, so that the drawables that haven't changed are really kept, matching the logs, comments and larger part of the code. This patch also fixes the various constant states to return correct ChangingConfigurations. Change-Id: Ic11f6179537318d3de16dc58286989eb62a07f15 Old-Change-Id: I22495e6ed232dfe056207ce5155405af1fa82428
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions