DescriptionAdd 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:
Committed: https://skia.googlesource.com/skia/+/61fa22be104a3e98998fa1b24cd47b886df5721c
Patch Set 1 #Patch Set 2 : Implement thread pool with SkSemaphore, removing SkCondVar. #Patch Set 3 : comments #Patch Set 4 : all platforms #Patch Set 5 : build fixes #Patch Set 6 : typo #
Messages
Total messages: 12 (5 generated)
|