summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2012-05-07 16:27:19 -0700
committerRomain Guy <romainguy@google.com>2012-05-07 16:30:54 -0700
commitb999cc118fe430699e9a67d5dab355125b873abb (patch)
tree394b40f16c8e99c9349464785a5d989eae28bd50 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parentbae365c166538d5c2319bf42aaf1715a1fb749e7 (diff)
Remove ViewTreeObserver allocations
This change replaces CopyOnWriteArrayList with a custom CopyOnWriteArray. The new CopyOnWriteArray only allocates when a concurrent modification is detected. Only one loop can iterate over CopyOnWriteArray at any given time and the class is not thread safe. Change-Id: Ie67a1ec20ff095350bf3c5d4f87cdb231ad57221
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions