summaryrefslogtreecommitdiff
path: root/libs/hwui/ProgramCache.cpp
diff options
context:
space:
mode:
author Raph Levien <raph@google.com> 2015-05-06 14:26:35 -0700
committer Raph Levien <raph@google.com> 2015-05-06 14:26:35 -0700
commit3bd60c7b1125ee42cd7e8746aeaebdb43e8211d8 (patch)
treeb876834fda75b83887baf9b29e84ddf19b63d4ce /libs/hwui/ProgramCache.cpp
parentcf1f2ea5a7945dc4982b1e41197af94ad64e8f37 (diff)
Clear all StaticLayout.Builder fields on pool recycle
When returning a StaticLayout.Builder object to the pool, it is important to clear everything out. If not, then the object may have stale state from a previous layout operation. This was causing CTS test failures and probably other mischief. Bug: 20636917 Change-Id: I76fb20076ee954fcb476131a8fbe8833d72fbc0d
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions