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

Issue 19374006: make OpenCL optional for skpdiff (Closed)

Created:
7 years, 5 months ago by Zach Reizner
Modified:
7 years, 5 months ago
Reviewers:
djsollen
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

make OpenCL optional for skpdiff - add CPU based different pixels metric R=djsollen@google.com Committed: https://code.google.com/p/skia/source/detail?r=10127

Patch Set 1 #

Patch Set 2 : comments #

Total comments: 5

Patch Set 3 : opencl init #

Total comments: 3

Patch Set 4 : more opencl guards #

Patch Set 5 : this-> #

Unified diffs Side-by-side diffs Delta from patch set Stats (+385 lines, -222 lines) Patch
M experimental/skpdiff/SkCLImageDiffer.h View 1 2 2 chunks +2 lines, -26 lines 0 comments Download
M experimental/skpdiff/SkCLImageDiffer.cpp View 3 chunks +0 lines, -138 lines 0 comments Download
A experimental/skpdiff/SkDifferentPixelsMetric.h View 1 2 1 chunk +57 lines, -0 lines 0 comments Download
A experimental/skpdiff/SkDifferentPixelsMetric_cpu.cpp View 1 1 chunk +95 lines, -0 lines 0 comments Download
A experimental/skpdiff/SkDifferentPixelsMetric_opencl.cpp View 1 2 3 4 1 chunk +168 lines, -0 lines 0 comments Download
M experimental/skpdiff/SkImageDiffer.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
D experimental/skpdiff/diff_pixels.cl View 1 2 3 1 chunk +0 lines, -28 lines 0 comments Download
M experimental/skpdiff/main.cpp View 1 2 5 chunks +23 lines, -20 lines 0 comments Download
M experimental/skpdiff/skpdiff.gyp View 2 chunks +17 lines, -8 lines 0 comments Download
M experimental/skpdiff/skpdiff_util.h View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M experimental/skpdiff/skpdiff_util.cpp View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M gyp/common_conditions.gypi View 1 chunk +11 lines, -1 line 0 comments Download
M gyp/common_variables.gypi View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Zach Reizner
This one looks like a lot of lines, but most of them were just refactoring ...
7 years, 5 months ago (2013-07-16 19:38:36 UTC) #1
djsollen
https://codereview.chromium.org/19374006/diff/2001/experimental/skpdiff/SkDifferentPixelsMetric.h File experimental/skpdiff/SkDifferentPixelsMetric.h (right): https://codereview.chromium.org/19374006/diff/2001/experimental/skpdiff/SkDifferentPixelsMetric.h#newcode27 experimental/skpdiff/SkDifferentPixelsMetric.h:27: public SkCLImageDiffer { this seems backward. Shouldn't CL and ...
7 years, 5 months ago (2013-07-16 19:45:10 UTC) #2
Zach Reizner
https://codereview.chromium.org/19374006/diff/2001/experimental/skpdiff/SkDifferentPixelsMetric.h File experimental/skpdiff/SkDifferentPixelsMetric.h (right): https://codereview.chromium.org/19374006/diff/2001/experimental/skpdiff/SkDifferentPixelsMetric.h#newcode27 experimental/skpdiff/SkDifferentPixelsMetric.h:27: public SkCLImageDiffer { On 2013/07/16 19:45:10, djsollen wrote: > ...
7 years, 5 months ago (2013-07-16 19:58:32 UTC) #3
djsollen
https://codereview.chromium.org/19374006/diff/2001/experimental/skpdiff/SkDifferentPixelsMetric.h File experimental/skpdiff/SkDifferentPixelsMetric.h (right): https://codereview.chromium.org/19374006/diff/2001/experimental/skpdiff/SkDifferentPixelsMetric.h#newcode13 experimental/skpdiff/SkDifferentPixelsMetric.h:13: #include "SkCLImageDiffer.h" remove this https://codereview.chromium.org/19374006/diff/2001/experimental/skpdiff/main.cpp File experimental/skpdiff/main.cpp (right): https://codereview.chromium.org/19374006/diff/2001/experimental/skpdiff/main.cpp#newcode13 ...
7 years, 5 months ago (2013-07-16 20:11:46 UTC) #4
Zach Reizner
7 years, 5 months ago (2013-07-16 21:05:54 UTC) #5
djsollen
https://codereview.chromium.org/19374006/diff/10001/experimental/skpdiff/main.cpp File experimental/skpdiff/main.cpp (right): https://codereview.chromium.org/19374006/diff/10001/experimental/skpdiff/main.cpp#newcode132 experimental/skpdiff/main.cpp:132: chosenDiffers.push(differ); consolidate to if (differ->requiresOpenCL()) { #if... init_cl... #endif ...
7 years, 5 months ago (2013-07-17 12:51:02 UTC) #6
Zach Reizner
https://codereview.chromium.org/19374006/diff/10001/experimental/skpdiff/main.cpp File experimental/skpdiff/main.cpp (right): https://codereview.chromium.org/19374006/diff/10001/experimental/skpdiff/main.cpp#newcode132 experimental/skpdiff/main.cpp:132: chosenDiffers.push(differ); On 2013/07/17 12:51:02, djsollen wrote: > consolidate to ...
7 years, 5 months ago (2013-07-17 13:02:11 UTC) #7
djsollen
lgtm
7 years, 5 months ago (2013-07-17 14:15:18 UTC) #8
Zach Reizner
I caught some unguarded references to OpenCL and made it so kernel source is embedded ...
7 years, 5 months ago (2013-07-17 15:50:10 UTC) #9
Zach Reizner
7 years, 5 months ago (2013-07-17 19:29:23 UTC) #10
Message was sent while issue was closed.
Committed patchset #5 manually as r10127 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698