skia2/src/lazy
mtklein ffa4a9213b SkOncePtr -> SkOnce
It's always nice to kill off a synchronization primitive.
And while less terse, I think this new code reads more clearly.

... and, SkOncePtr's tests were the only thing now using sk_num_cores()
outside of SkTaskGroup, so I've hidden it as static inside SkTaskGroup.cpp.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1953533002
CQ_EXTRA_TRYBOTS=client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot

Committed: https://skia.googlesource.com/skia/+/9bd3fc7fa9bb7cad050bd619aa93d4c48ebb5c02

Review-Url: https://codereview.chromium.org/1953533002
2016-05-05 16:05:56 -07:00
..
SkDiscardableMemoryPool.cpp SkOncePtr -> SkOnce 2016-05-05 16:05:56 -07:00
SkDiscardableMemoryPool.h Revert of Modernize SkMutex and SkSemaphore. (patchset #2 id:20001 of https://codereview.chromium.org/1947153002/ ) 2016-05-04 18:23:30 -07:00
SkDiscardablePixelRef.cpp detach -> release 2016-03-16 13:53:35 -07:00
SkDiscardablePixelRef.h Update Skia's YUV API 2016-03-10 05:44:43 -08:00