commit | 68440f8ce90a48e14e79b6fe5a6dd47c8c09bfb4 | [log] [tgz] |
---|---|---|
author | msarett <msarett@google.com> | Mon Aug 29 14:52:24 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Mon Aug 29 14:52:24 2016 -0700 |
tree | 59da053ccc17f6f3f5aba322d3f0bfb512511e30 | |
parent | 9b09cd8372ad0b25da20a50d9967bb02f9f2f9d8 [diff] |
Skip spinlock overhead on Android Using the spinlock is only necessary when we multiple threads might use a GrContext. Android uses the GrContext from a single thread, so these locks are not needed. This is a temporary fix until we can refactor to avoid creating GrContexts in a global memory pool. BUG=skia:5696 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2293633003 Review-Url: https://codereview.chromium.org/2293633003