commit | 61fa22be104a3e98998fa1b24cd47b886df5721c | [log] [tgz] |
---|---|---|
author | mtklein <mtklein@chromium.org> | Wed Jun 17 10:50:25 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Wed Jun 17 10:50:25 2015 -0700 |
tree | 09bf90b56014bb4f2753efcb3b25e220b6a0f313 | |
parent | ab80e35fbddd5b534b486cf9d331b5da00e5aa4f [diff] |
Add and use SkSemaphore This allows a faster implementation of our SkTaskGroup thread pool. It also means we don't need SkCondVar (which, remember, isn't supported on XP.) Doing some testing with SampleApp, this really cuts down on the overhead from SkTaskGroup, e.g. 30% to 10%. BUG=skia: Review URL: https://codereview.chromium.org/1192573003