skia2/include
Mike Klein 384b90af5c SkExecutor
Refactoring to refamiliarize myself with SkTaskGroup and SkThreadPool.

This adds an SkExecutor interface to describe how we use SkThreadPool,
with a global setter and getter for a default instance.  Then I rewrote
SkTaskGroup to work with any executor, the global default by default.

I also think I've made the SkTaskGroup::wait() borrow logic clearer
with the addition of SkSemaphore::try_wait().  This lets me keep the
semaphore count and actual count of work in perfect sync.

Change-Id: I6bbdfaeb0e2c3a43daff6192d34bc4a3f7210178
Reviewed-on: https://skia-review.googlesource.com/8836
Reviewed-by: Mike Reed <reed@google.com>
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Mike Klein <mtklein@chromium.org>
2017-02-22 16:17:39 +00:00
..
android SkEncodeImage: no more link-time registration 2016-11-30 22:48:56 +00:00
c Make C API compatible with -Wstrict-prototypes 2017-01-03 17:38:35 +00:00
codec Suggest P3 for wide gamut images in SkAndroidCodec 2017-02-15 14:35:48 +00:00
config Revert "Revert "SkUserConfig.h: remove out-of-date comment on SK_SFNTLY_SUBSETTER"" 2017-01-27 14:40:01 +00:00
core SkExecutor 2017-02-22 16:17:39 +00:00
effects Remove asTextureRef from SkSpecialImage & update effects accordingly (take 2) 2017-02-20 19:21:53 +00:00
gpu Make GrXferProcessor and related classes private. 2017-02-21 22:27:17 +00:00
pathops use reversePathTo in place of addPathReverse 2016-11-07 05:09:28 -08:00
ports Revert "Add SkTypeface::getVariationDesignPosition." 2017-02-17 18:39:09 +00:00
private SkExecutor 2017-02-22 16:17:39 +00:00
svg no need for SK_SUPPORT_LEGACY_CANVAS_IS_REFCNT anymore 2016-12-07 22:28:04 +00:00
utils Make header files idempotent; script to check 2017-02-13 15:52:59 +00:00
views SK_USE_SDL is never defined 2017-02-06 18:52:54 +00:00