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

Side by Side Diff: src/animator/SkDisplayType.h

Issue 1548223002: remove cruft from SkTypes.h, including SkBool (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 12 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 | « include/utils/SkInterpolator.h ('k') | src/animator/SkDisplayTypes.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1
2 /* 1 /*
3 * Copyright 2006 The Android Open Source Project 2 * Copyright 2006 The Android Open Source Project
4 * 3 *
5 * 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
6 * found in the LICENSE file. 5 * found in the LICENSE file.
7 */ 6 */
8 7
9
10 #ifndef SkDisplayType_DEFINED 8 #ifndef SkDisplayType_DEFINED
11 #define SkDisplayType_DEFINED 9 #define SkDisplayType_DEFINED
12 10
13 #include "SkMath.h" 11 #include "SkMath.h"
14 #include "SkScalar.h" 12 #include "SkScalar.h"
15 13
14 typedef int SkBool;
15
16 #ifdef SK_DEBUG 16 #ifdef SK_DEBUG
17 #define SK_DUMP_ENABLED 17 #define SK_DUMP_ENABLED
18 #ifdef SK_BUILD_FOR_MAC 18 #ifdef SK_BUILD_FOR_MAC
19 #define SK_FIND_LEAKS 19 #define SK_FIND_LEAKS
20 #endif 20 #endif
21 #endif 21 #endif
22 22
23 #define SK_LITERAL_STR_EQUAL(str, token, len) (sizeof(str) - 1 == len \ 23 #define SK_LITERAL_STR_EQUAL(str, token, len) (sizeof(str) - 1 == len \
24 && strncmp(str, token, sizeof(str) - 1) == 0) 24 && strncmp(str, token, sizeof(str) - 1) == 0)
25 25
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 #if defined SK_DEBUG || defined SK_BUILD_CONDENSED 197 #if defined SK_DEBUG || defined SK_BUILD_CONDENSED
198 static void BuildCondensedInfo(SkAnimateMaker* ); 198 static void BuildCondensedInfo(SkAnimateMaker* );
199 #endif 199 #endif
200 static SkDisplayTypes GetType(SkAnimateMaker* , const char[] , size_t len); 200 static SkDisplayTypes GetType(SkAnimateMaker* , const char[] , size_t len);
201 static SkDisplayable* CreateInstance(SkAnimateMaker* , SkDisplayTypes ); 201 static SkDisplayable* CreateInstance(SkAnimateMaker* , SkDisplayTypes );
202 private: 202 private:
203 static SkDisplayTypes gNewTypes; 203 static SkDisplayTypes gNewTypes;
204 }; 204 };
205 205
206 #endif // SkDisplayType_DEFINED 206 #endif // SkDisplayType_DEFINED
OLDNEW
« no previous file with comments | « include/utils/SkInterpolator.h ('k') | src/animator/SkDisplayTypes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698