summaryrefslogtreecommitdiff
path: root/libs/hwui/ProgramCache.cpp
diff options
context:
space:
mode:
author Chet Haase <chet@google.com> 2010-10-27 13:18:54 -0700
committer Chet Haase <chet@google.com> 2010-10-27 13:48:02 -0700
commite3bc4e6f102fbef760fe0a59dd807363571b0867 (patch)
tree23f2cfa012e4632f4ac70ba235f1601c4d9dbf4a /libs/hwui/ProgramCache.cpp
parent9440083be22ec13e252aa347e654911d33e50086 (diff)
Use ThreadLocal for static Animator variables.
Certain fields in Animator are statics, like the list of current animations and the main handler. However, since there may be >1 UI thread per process, these should really be ThreadLocal variables, so that they are local to each UI thread. For example, most animators will cause an invalidation in the view hierarchy, which can only happen in the UI thread for that view. Change-Id: I42be61c781ffac97b527f78ce1ffc2e0cdc42999
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions