skia2/include
Mike Klein 022cfa258d Add FIFO thread pool, use it for most things.
We like a LIFO default thread pool in tools like DM for better
memory/time locality... the bots use less memory this way, and
generally run faster.

But most use cases want a FIFO queue, so that they can get going
on the next parts of early work while later work is still running.

This splits the implementation into one using SkTArray and pop_back
for LIFO, and a new one using std::deque and pop_front for FIFO.

Change-Id: Ief203b6869a00f1f8084019431a781d15fc63750
Reviewed-on: https://skia-review.googlesource.com/41849
Commit-Queue: Mike Klein <mtklein@chromium.org>
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Yuqian Li <liyuqian@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2017-09-01 16:19:47 +00:00
..
android Move calls to conversion_possible to SkCodec 2017-08-17 16:09:31 +00:00
c C API: document sk_matrix_t 2017-03-21 18:04:34 +00:00
codec Call initializeColorXform inside SkCodec 2017-08-18 19:46:59 +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 Add FIFO thread pool, use it for most things. 2017-09-01 16:19:47 +00:00
effects Convert NULL and 0 to nullptr. 2017-08-28 17:48:57 +00:00
encode Add comments support for PNG encoder 2017-06-09 17:24:03 +00:00
gpu Revert "Revert "Revert "Revert "Remove GrBackendRenderTargetDesc in favor of GrBackendRenderTarget."""" 2017-08-31 20:04:12 +00:00
pathops use reversePathTo in place of addPathReverse 2016-11-07 05:09:28 -08:00
ports Convert NULL and 0 to nullptr. 2017-08-28 17:48:57 +00:00
private Move several GrContextOptions fields behind GR_TEST_UTILS 2017-08-30 19:35:27 +00:00
svg no need for SK_SUPPORT_LEGACY_CANVAS_IS_REFCNT anymore 2016-12-07 22:28:04 +00:00
utils Convert NULL and 0 to nullptr. 2017-08-28 17:48:57 +00:00
views Convert NULL and 0 to nullptr. 2017-08-28 17:48:57 +00:00