OLD | NEW |
---|---|
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2006 The Android Open Source Project | 3 * Copyright 2006 The Android Open Source Project |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 | 9 |
10 #include "SkGraphics.h" | 10 #include "SkGraphics.h" |
(...skipping 10 matching lines...) Expand all Loading... | |
21 #include "SkPixelRef.h" | 21 #include "SkPixelRef.h" |
22 #include "SkRefCnt.h" | 22 #include "SkRefCnt.h" |
23 #include "SkRTConf.h" | 23 #include "SkRTConf.h" |
24 #include "SkScalerContext.h" | 24 #include "SkScalerContext.h" |
25 #include "SkShader.h" | 25 #include "SkShader.h" |
26 #include "SkStream.h" | 26 #include "SkStream.h" |
27 #include "SkTSearch.h" | 27 #include "SkTSearch.h" |
28 #include "SkTime.h" | 28 #include "SkTime.h" |
29 #include "SkUtils.h" | 29 #include "SkUtils.h" |
30 #include "SkXfermode.h" | 30 #include "SkXfermode.h" |
31 #include "SkErrorInternals.h" | |
scroggo
2013/04/08 21:01:34
No longer needed.
humper
2013/04/08 21:15:18
Done.
| |
31 | 32 |
32 void SkGraphics::GetVersion(int32_t* major, int32_t* minor, int32_t* patch) { | 33 void SkGraphics::GetVersion(int32_t* major, int32_t* minor, int32_t* patch) { |
33 if (major) { | 34 if (major) { |
34 *major = SKIA_VERSION_MAJOR; | 35 *major = SKIA_VERSION_MAJOR; |
35 } | 36 } |
36 if (minor) { | 37 if (minor) { |
37 *minor = SKIA_VERSION_MINOR; | 38 *minor = SKIA_VERSION_MINOR; |
38 } | 39 } |
39 if (patch) { | 40 if (patch) { |
40 *patch = SKIA_VERSION_PATCH; | 41 *patch = SKIA_VERSION_PATCH; |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
171 if (nextEqual) { | 172 if (nextEqual) { |
172 val = (size_t) atoi(nextEqual + 1); | 173 val = (size_t) atoi(nextEqual + 1); |
173 } | 174 } |
174 (gFlags[i].fFunc)(val); | 175 (gFlags[i].fFunc)(val); |
175 break; | 176 break; |
176 } | 177 } |
177 } | 178 } |
178 flags = nextSemi + 1; | 179 flags = nextSemi + 1; |
179 } while (nextSemi); | 180 } while (nextSemi); |
180 } | 181 } |
OLD | NEW |