Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(256)

Issue 1552093002: If we swap its arguments, SkTaskGroup::batch() _is_ sk_parallel_for. (Closed)

Created:
4 years, 11 months ago by mtklein_C
Modified:
4 years, 11 months ago
Reviewers:
herb_g, mtklein
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

If we swap its arguments, SkTaskGroup::batch() _is_ sk_parallel_for. Why have two names if we can get away with one? This kills off sk_parallel_for_thread_count(), which was only used to avoid forcing a deadlock in OncePtrTest on multicore machines in singlethreaded mode... a really niche use case. Instead just don't explicitly force a race. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1552093002 Committed: https://skia.googlesource.com/skia/+/279c7864090a7b96c34c3594e38ced35967c673f

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -77 lines) Patch
M bench/SkGlyphCacheBench.cpp View 1 chunk +1 line, -1 line 0 comments Download
M dm/DM.cpp View 1 chunk +3 lines, -2 lines 0 comments Download
M samplecode/SamplePathFuzz.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkMultiPictureDraw.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkTaskGroup.h View 2 chunks +1 line, -45 lines 0 comments Download
M src/core/SkTaskGroup.cpp View 4 chunks +5 lines, -12 lines 0 comments Download
M tests/BlendTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M tests/OncePtrTest.cpp View 2 chunks +2 lines, -9 lines 0 comments Download
M tests/OnceTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M tests/PathOpsSkpClipTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M tests/PathOpsThreadedCommon.cpp View 1 chunk +1 line, -1 line 0 comments Download
M tests/SkSharedMutexTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M tests/SkpSkGrTest.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (8 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1552093002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1552093002/1
4 years, 11 months ago (2015-12-31 22:23:19 UTC) #4
mtklein_C
4 years, 11 months ago (2015-12-31 22:30:04 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2015-12-31 22:37:44 UTC) #9
herb_g
lgtm
4 years, 11 months ago (2016-01-04 14:47:37 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1552093002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1552093002/1
4 years, 11 months ago (2016-01-05 02:56:38 UTC) #12
commit-bot: I haz the power
4 years, 11 months ago (2016-01-05 03:13:22 UTC) #14
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://skia.googlesource.com/skia/+/279c7864090a7b96c34c3594e38ced35967c673f

Powered by Google App Engine
This is Rietveld 408576698