summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2012-03-28 17:27:48 -0700
committerJeff Brown <jeffbrown@google.com>2012-03-29 03:01:10 -0700
commit70825161b5bf51ed48319e142751a9c88b104994 (patch)
tree3f69647c0269bd263fc0ae0a1855eb87a8c415e0 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parentd19ff5f95dc9ea684edb5097ce97e7bf78c2e628 (diff)
Ensure pointer location view is attached to the policy thread.
Previously we created the PointerLocationView on whatever thread happened to trigger the call to updateSettings(). There was also some messiness around having to add or remove the view while not holding mLock. Now, just post the work to the policy handler. This also makes it possible for us to use invalidate() instead of postInvalidate() in PointerLocationView, which is more efficient. Change-Id: I0646d7aeecffdc22f6ac56ae3ef951e7a12e2b93
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions