| 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 SkDiffContext_DEFINED | 8 #ifndef SkDiffContext_DEFINED |
| 9 #define SkDiffContext_DEFINED | 9 #define SkDiffContext_DEFINED |
| 10 | 10 |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 | 158 |
| 159 private: | 159 private: |
| 160 struct DiffData { | 160 struct DiffData { |
| 161 const char* fDiffName; | 161 const char* fDiffName; |
| 162 SkImageDiffer::Result fResult; | 162 SkImageDiffer::Result fResult; |
| 163 }; | 163 }; |
| 164 | 164 |
| 165 struct DiffRecord { | 165 struct DiffRecord { |
| 166 // TODO(djsollen): Some of these fields are required, while others are o
ptional | 166 // TODO(djsollen): Some of these fields are required, while others are o
ptional |
| 167 // (e.g., fRgbDiffPath is only filled in if SkDifferentPixelsMetric | 167 // (e.g., fRgbDiffPath is only filled in if SkDifferentPixelsMetric |
| 168 // was run). Figure out a way to note that. See http://skbug.com/2712 | 168 // was run). Figure out a way to note that. See https://bug.skia.org/2
712 |
| 169 // ('allow skpdiff to report different sets of result fields for | 169 // ('allow skpdiff to report different sets of result fields for |
| 170 // different comparison algorithms') | 170 // different comparison algorithms') |
| 171 SkString fCommonName; | 171 SkString fCommonName; |
| 172 SkString fAlphaMaskPath; | 172 SkString fAlphaMaskPath; |
| 173 SkString fRgbDiffPath; | 173 SkString fRgbDiffPath; |
| 174 SkString fWhiteDiffPath; | 174 SkString fWhiteDiffPath; |
| 175 SkString fBaselinePath; | 175 SkString fBaselinePath; |
| 176 SkString fTestPath; | 176 SkString fTestPath; |
| 177 SkISize fSize; | 177 SkISize fSize; |
| 178 int fMaxRedDiff; | 178 int fMaxRedDiff; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 194 int fDifferCount; | 194 int fDifferCount; |
| 195 int fThreadCount; | 195 int fThreadCount; |
| 196 | 196 |
| 197 SkString fAlphaMaskDir; | 197 SkString fAlphaMaskDir; |
| 198 SkString fRgbDiffDir; | 198 SkString fRgbDiffDir; |
| 199 SkString fWhiteDiffDir; | 199 SkString fWhiteDiffDir; |
| 200 bool longNames; | 200 bool longNames; |
| 201 }; | 201 }; |
| 202 | 202 |
| 203 #endif | 203 #endif |
| OLD | NEW |