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

Issue 60833002: fix multithread related crashes in skpdiff (Closed)

Created:
7 years, 1 month ago by djsollen
Modified:
7 years, 1 month ago
Reviewers:
scroggo, mtklein
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 5

Patch Set 2 : #

Total comments: 13

Patch Set 3 : #

Total comments: 7

Patch Set 4 : opencl and fixes #

Total comments: 21

Patch Set 5 : addressing comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+187 lines, -424 lines) Patch
M gyp/tools.gyp View 1 chunk +2 lines, -1 line 0 comments Download
M tools/skpdiff/SkCLImageDiffer.h View 1 2 3 4 2 chunks +5 lines, -2 lines 0 comments Download
M tools/skpdiff/SkCLImageDiffer.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M tools/skpdiff/SkDiffContext.h View 1 2 3 4 4 chunks +27 lines, -13 lines 0 comments Download
M tools/skpdiff/SkDiffContext.cpp View 1 2 3 4 10 chunks +57 lines, -81 lines 0 comments Download
M tools/skpdiff/SkDifferentPixelsMetric.h View 1 2 3 4 2 chunks +3 lines, -16 lines 0 comments Download
M tools/skpdiff/SkDifferentPixelsMetric_cpu.cpp View 1 2 3 4 3 chunks +21 lines, -71 lines 0 comments Download
M tools/skpdiff/SkDifferentPixelsMetric_opencl.cpp View 1 2 3 4 3 chunks +36 lines, -90 lines 0 comments Download
tools/skpdiff/SkImageDiffer.h View 1 2 3 4 2 chunks +17 lines, -77 lines 0 comments Download
M tools/skpdiff/SkImageDiffer.cpp View 1 2 3 4 1 chunk +1 line, -16 lines 1 comment Download
M tools/skpdiff/SkPMetric.h View 1 2 3 4 1 chunk +3 lines, -15 lines 0 comments Download
M tools/skpdiff/SkPMetric.cpp View 1 2 3 4 4 chunks +14 lines, -41 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
djsollen
7 years, 1 month ago (2013-11-05 20:45:03 UTC) #1
scroggo
https://codereview.chromium.org/60833002/diff/1/tools/skpdiff/SkDiffContext.cpp File tools/skpdiff/SkDiffContext.cpp (right): https://codereview.chromium.org/60833002/diff/1/tools/skpdiff/SkDiffContext.cpp#newcode181 tools/skpdiff/SkDiffContext.cpp:181: SkAutoMutexAcquire recordsLock(fRecordMutex); I don't know this whole program, but ...
7 years, 1 month ago (2013-11-05 21:08:51 UTC) #2
djsollen
https://codereview.chromium.org/60833002/diff/1/tools/skpdiff/SkDiffContext.cpp File tools/skpdiff/SkDiffContext.cpp (right): https://codereview.chromium.org/60833002/diff/1/tools/skpdiff/SkDiffContext.cpp#newcode181 tools/skpdiff/SkDiffContext.cpp:181: SkAutoMutexAcquire recordsLock(fRecordMutex); On 2013/11/05 21:08:52, scroggo wrote: > I ...
7 years, 1 month ago (2013-11-05 21:24:30 UTC) #3
mtklein
https://codereview.chromium.org/60833002/diff/70001/tools/skpdiff/SkDiffContext.cpp File tools/skpdiff/SkDiffContext.cpp (right): https://codereview.chromium.org/60833002/diff/70001/tools/skpdiff/SkDiffContext.cpp#newcode53 tools/skpdiff/SkDiffContext.cpp:53: SkAutoMutexAcquire imageLock(fImageMutex); Put these in a {} block or ...
7 years, 1 month ago (2013-11-06 14:24:36 UTC) #4
djsollen
https://codereview.chromium.org/60833002/diff/70001/tools/skpdiff/SkDiffContext.cpp File tools/skpdiff/SkDiffContext.cpp (right): https://codereview.chromium.org/60833002/diff/70001/tools/skpdiff/SkDiffContext.cpp#newcode53 tools/skpdiff/SkDiffContext.cpp:53: SkAutoMutexAcquire imageLock(fImageMutex); On 2013/11/06 14:24:36, mtklein wrote: > Put ...
7 years, 1 month ago (2013-11-06 15:01:58 UTC) #5
mtklein
https://codereview.chromium.org/60833002/diff/70001/tools/skpdiff/SkDiffContext.cpp File tools/skpdiff/SkDiffContext.cpp (right): https://codereview.chromium.org/60833002/diff/70001/tools/skpdiff/SkDiffContext.cpp#newcode53 tools/skpdiff/SkDiffContext.cpp:53: SkAutoMutexAcquire imageLock(fImageMutex); On 2013/11/06 15:01:58, djsollen wrote: > On ...
7 years, 1 month ago (2013-11-06 15:09:41 UTC) #6
mtklein
On 2013/11/06 15:09:41, mtklein wrote: > https://codereview.chromium.org/60833002/diff/70001/tools/skpdiff/SkDiffContext.cpp > File tools/skpdiff/SkDiffContext.cpp (right): > > https://codereview.chromium.org/60833002/diff/70001/tools/skpdiff/SkDiffContext.cpp#newcode53 > ...
7 years, 1 month ago (2013-11-06 15:10:14 UTC) #7
djsollen
I have another CL that add support for producing alpha masks waiting in the wings ...
7 years, 1 month ago (2013-11-06 15:53:07 UTC) #8
djsollen
still need to do the openCL version, but this has the update ImageDiff API
7 years, 1 month ago (2013-11-07 21:17:44 UTC) #9
scroggo
lgtm https://codereview.chromium.org/60833002/diff/210001/tools/skpdiff/SkDiffContext.cpp File tools/skpdiff/SkDiffContext.cpp (right): https://codereview.chromium.org/60833002/diff/210001/tools/skpdiff/SkDiffContext.cpp#newcode96 tools/skpdiff/SkDiffContext.cpp:96: newRecord->fCommonName = get_common_prefix(baseName, testName); Is it okay to ...
7 years, 1 month ago (2013-11-07 21:43:23 UTC) #10
djsollen
https://codereview.chromium.org/60833002/diff/210001/tools/skpdiff/SkDiffContext.cpp File tools/skpdiff/SkDiffContext.cpp (right): https://codereview.chromium.org/60833002/diff/210001/tools/skpdiff/SkDiffContext.cpp#newcode96 tools/skpdiff/SkDiffContext.cpp:96: newRecord->fCommonName = get_common_prefix(baseName, testName); On 2013/11/07 21:43:23, scroggo wrote: ...
7 years, 1 month ago (2013-11-07 21:53:56 UTC) #11
scroggo
On 2013/11/07 21:53:56, djsollen wrote: > https://codereview.chromium.org/60833002/diff/210001/tools/skpdiff/SkDiffContext.cpp > File tools/skpdiff/SkDiffContext.cpp (right): > > https://codereview.chromium.org/60833002/diff/210001/tools/skpdiff/SkDiffContext.cpp#newcode96 > ...
7 years, 1 month ago (2013-11-07 22:00:02 UTC) #12
mtklein
https://codereview.chromium.org/60833002/diff/350001/tools/skpdiff/SkDiffContext.cpp File tools/skpdiff/SkDiffContext.cpp (right): https://codereview.chromium.org/60833002/diff/350001/tools/skpdiff/SkDiffContext.cpp#newcode88 tools/skpdiff/SkDiffContext.cpp:88: DiffRecord* newRecord = fRecords.addToHead(DiffRecord()); If you're feeling precise, I ...
7 years, 1 month ago (2013-11-08 15:06:12 UTC) #13
djsollen
https://codereview.chromium.org/60833002/diff/350001/tools/skpdiff/SkDiffContext.cpp File tools/skpdiff/SkDiffContext.cpp (right): https://codereview.chromium.org/60833002/diff/350001/tools/skpdiff/SkDiffContext.cpp#newcode88 tools/skpdiff/SkDiffContext.cpp:88: DiffRecord* newRecord = fRecords.addToHead(DiffRecord()); On 2013/11/08 15:06:13, mtklein wrote: ...
7 years, 1 month ago (2013-11-12 16:40:43 UTC) #14
mtklein
lgtm https://codereview.chromium.org/60833002/diff/350001/tools/skpdiff/SkImageDiffer.h File tools/skpdiff/SkImageDiffer.h (right): https://codereview.chromium.org/60833002/diff/350001/tools/skpdiff/SkImageDiffer.h#newcode60 tools/skpdiff/SkImageDiffer.h:60: virtual bool diff(SkBitmap* baseline, SkBitmap* test, Result* result) ...
7 years, 1 month ago (2013-11-12 17:00:19 UTC) #15
djsollen
7 years, 1 month ago (2013-11-12 18:29:23 UTC) #16
Message was sent while issue was closed.
Committed patchset #5 manually as r12252 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698