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

Side by Side Diff: tools/skdiff.h

Issue 1707213002: Move SkTDArray to private. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/flags/SkCommandLineFlags.h ('k') | tools/skdiff_main.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2012 Google Inc. 2 * Copyright 2012 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 skdiff_DEFINED 8 #ifndef skdiff_DEFINED
9 #define skdiff_DEFINED 9 #define skdiff_DEFINED
10 10
11 #include "SkBitmap.h" 11 #include "SkBitmap.h"
12 #include "SkColor.h" 12 #include "SkColor.h"
13 #include "SkColorPriv.h" 13 #include "SkColorPriv.h"
14 #include "SkString.h" 14 #include "SkString.h"
15 #include "SkTDArray.h" 15 #include "../private/SkTDArray.h"
16 16
17 #if defined(SK_BUILD_FOR_WIN32) 17 #if defined(SK_BUILD_FOR_WIN32)
18 #define PATH_DIV_STR "\\" 18 #define PATH_DIV_STR "\\"
19 #define PATH_DIV_CHAR '\\' 19 #define PATH_DIV_CHAR '\\'
20 #else 20 #else
21 #define PATH_DIV_STR "/" 21 #define PATH_DIV_STR "/"
22 #define PATH_DIV_CHAR '/' 22 #define PATH_DIV_CHAR '/'
23 #endif 23 #endif
24 24
25 #define MAX2(a,b) (((b) < (a)) ? (a) : (b)) 25 #define MAX2(a,b) (((b) < (a)) ? (a) : (b))
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 return SkPackARGB32(0xFF, SkAbs32(dr), SkAbs32(dg), SkAbs32(db)); 263 return SkPackARGB32(0xFF, SkAbs32(dr), SkAbs32(dg), SkAbs32(db));
264 } 264 }
265 265
266 /** When finished, dr->fResult should have some value other than kUnknown_Result . 266 /** When finished, dr->fResult should have some value other than kUnknown_Result .
267 * Expects dr->fWhite.fBitmap and dr->fDifference.fBitmap to have the same boun ds as 267 * Expects dr->fWhite.fBitmap and dr->fDifference.fBitmap to have the same boun ds as
268 * dr->fBase.fBitmap and have a valid pixelref. 268 * dr->fBase.fBitmap and have a valid pixelref.
269 */ 269 */
270 void compute_diff(DiffRecord* dr, DiffMetricProc diffFunction, const int colorTh reshold); 270 void compute_diff(DiffRecord* dr, DiffMetricProc diffFunction, const int colorTh reshold);
271 271
272 #endif 272 #endif
OLDNEW
« no previous file with comments | « tools/flags/SkCommandLineFlags.h ('k') | tools/skdiff_main.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698