diff options
author | Robert Phillips <robertphillips@google.com> | 2018-06-13 09:01:36 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-06-13 18:07:58 +0000 |
commit | f18c756360bde970c95a9ca5a47f8e6e12a6ba87 (patch) | |
tree | 9d7c42ad6bb33f7c8279f39914a466773e9c8c1b /tools | |
parent | da86e2822ab31770e989009716dd4c89966ade45 (diff) |
Pull non-substantive changes out of omnibus CL
https://skia-review.googlesource.com/c/skia/+/131500 (Move op memory
storage to GrContext) is still a bit of a monster. Offload the trivial
stuff.
Change-Id: I27eb0c441d08111491b3cfee3b93d260c26c2790
Reviewed-on: https://skia-review.googlesource.com/134501
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/DDLTileHelper.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/DDLTileHelper.cpp b/tools/DDLTileHelper.cpp index 3f5482bc99..2403b43fc3 100644 --- a/tools/DDLTileHelper.cpp +++ b/tools/DDLTileHelper.cpp @@ -128,9 +128,8 @@ void DDLTileHelper::createSKPPerTile(SkData* compressedPictureData, void DDLTileHelper::createDDLsInParallel() { #if 1 - SkTaskGroup().batch(fTiles.count(), [&](int i) { - fTiles[i].createDDL(); - }); + SkTaskGroup().batch(fTiles.count(), [&](int i) { fTiles[i].createDDL(); }); + SkTaskGroup().wait(); #else // Use this code path to debug w/o threads for (int i = 0; i < fTiles.count(); ++i) { |