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 #ifndef SkCLImageDiffer_DEFINED | 8 #ifndef SkCLImageDiffer_DEFINED |
9 #define SkCLImageDiffer_DEFINED | 9 #define SkCLImageDiffer_DEFINED |
10 | 10 |
11 #if SK_BUILD_FOR_MAC | 11 #if defined(SK_BUILD_FOR_MAC) |
12 # include <OpenCL/cl.h> | 12 # include <OpenCL/cl.h> |
13 #else | 13 #else |
14 # include <CL/cl.h> | 14 # include <CL/cl.h> |
15 #endif | 15 #endif |
16 #include "SkTDArray.h" | 16 #include "SkTDArray.h" |
17 | 17 |
18 #include "SkImageDiffer.h" | 18 #include "SkImageDiffer.h" |
19 | 19 |
20 class SkStream; | 20 class SkStream; |
21 | 21 |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 | 88 |
89 protected: | 89 protected: |
90 bool fIsGood; | 90 bool fIsGood; |
91 | 91 |
92 private: | 92 private: |
93 | 93 |
94 typedef SkImageDiffer INHERITED; | 94 typedef SkImageDiffer INHERITED; |
95 }; | 95 }; |
96 | 96 |
97 #endif | 97 #endif |
OLD | NEW |