| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 // TODO(djsollen): Rename this whole package (perhaps to "SkMultiDiffer"). | 8 // TODO(djsollen): Rename this whole package (perhaps to "SkMultiDiffer"). |
| 9 // It's not just for "pdiff" (perceptual diffs)--it's a harness that allows | 9 // It's not just for "pdiff" (perceptual diffs)--it's a harness that allows |
| 10 // the execution of an arbitrary set of difference algorithms. | 10 // the execution of an arbitrary set of difference algorithms. |
| 11 // See http://skbug.com/2711 ('rename skpdiff') | 11 // See https://bug.skia.org/2711 ('rename skpdiff') |
| 12 | 12 |
| 13 #include "SkTypes.h" | 13 #include "SkTypes.h" |
| 14 | 14 |
| 15 #if SK_SUPPORT_OPENCL | 15 #if SK_SUPPORT_OPENCL |
| 16 | 16 |
| 17 #define __NO_STD_VECTOR // Uses cl::vectpr instead of std::vectpr | 17 #define __NO_STD_VECTOR // Uses cl::vectpr instead of std::vectpr |
| 18 #define __NO_STD_STRING // Uses cl::STRING_CLASS instead of std::string | 18 #define __NO_STD_STRING // Uses cl::STRING_CLASS instead of std::string |
| 19 #if defined(SK_BUILD_FOR_MAC) | 19 #if defined(SK_BUILD_FOR_MAC) |
| 20 // Note that some macs don't have this header and it can be downloaded from the
Khronos registry | 20 // Note that some macs don't have this header and it can be downloaded from the
Khronos registry |
| 21 # include <OpenCL/cl.hpp> | 21 # include <OpenCL/cl.hpp> |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 } | 259 } |
| 260 | 260 |
| 261 return 0; | 261 return 0; |
| 262 } | 262 } |
| 263 | 263 |
| 264 #if !defined(SK_BUILD_FOR_IOS) | 264 #if !defined(SK_BUILD_FOR_IOS) |
| 265 int main(int argc, char * argv[]) { | 265 int main(int argc, char * argv[]) { |
| 266 return tool_main(argc, (char**) argv); | 266 return tool_main(argc, (char**) argv); |
| 267 } | 267 } |
| 268 #endif | 268 #endif |
| OLD | NEW |