skia2/gn
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_framework_defines.gni Revert "hide deprecated underline and strikethru" 2017-02-17 22:49:03 +00:00
ar.py GN: quiet alink spam on Mac 2016-11-07 14:19:32 +00:00
bench.gni Remove SkColorCubeFilter. It is unused. 2017-01-21 15:09:31 +00:00
BUILD.gn SkJumper: Windows 2017-02-21 19:48:19 +00:00
BUILDCONFIG.gn Move declaration of is_fuzzer to where it is used 2017-02-21 16:33:44 +00:00
core.gni SkExecutor 2017-02-22 16:17:39 +00:00
cp.py GN: get Angle compiling on Windows. 2016-10-17 16:16:16 +00:00
effects.gni Implement SkHighContrastFilter 2017-02-16 02:34:44 +00:00
find_headers.py Mark this file as executable 2016-11-17 22:29:59 +00:00
find_ios_sysroot.py GN: iOS basics 2016-11-03 19:31:50 +00:00
gm.gni Implement SkHighContrastFilter 2017-02-16 02:34:44 +00:00
gn_helpers.py Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
gn_meta_sln.py Move, rename, and document Visual Studio GN helper script 2016-12-14 16:41:52 +00:00
gn_to_bp.py Fix client roll (part 2) 2017-02-20 17:53:21 +00:00
gn_to_cmake.py Add support for lib_dirs to gn_to_cmake.py. 2016-10-28 15:07:10 +00:00
gpu.gni Remove GrPipelineBuilder.cpp 2017-02-22 15:44:43 +00:00
gypi_to_gn.py Add executable bit and shebang to python files 2016-08-18 04:36:25 -07:00
is_clang.py GN: match shell behavior for cc and cxx in is_clang.py 2016-09-27 09:29:24 -07:00
opts.gni remove MIPS DSP optimizations 2016-12-21 03:55:00 +00:00
package_ios.py Automate more parts of gn/package_ios.py. 2017-01-31 17:41:16 +00:00
pdf.gni Start inverting GN reading .gypis to GYP reading .gnis. 2016-10-26 17:47:00 +00:00
push_to_android.py skia_android_serial = "auto" 2017-01-12 16:30:17 +00:00
samples.gni Add animated text samples 2017-02-13 22:33:08 +00:00
shared_sources.gni remove MIPS DSP optimizations 2016-12-21 03:55:00 +00:00
sksl.gni Split SkSL and utils apart again into .gni files. 2016-10-26 18:56:37 +00:00
tests.gni Implement SkHighContrastFilter 2017-02-16 02:34:44 +00:00
utils.gni Remove SkTextureCompressor. 2017-02-10 17:36:43 +00:00
xps.gni SkXPS: new document API. 2017-02-06 19:00:28 +00:00