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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 #endif | 52 #endif |
53 | 53 |
54 void SkGraphics::Init() { | 54 void SkGraphics::Init() { |
55 #ifdef SK_DEVELOPER | 55 #ifdef SK_DEVELOPER |
56 skRTConfRegistry().possiblyDumpFile(); | 56 skRTConfRegistry().possiblyDumpFile(); |
57 skRTConfRegistry().validate(); | 57 skRTConfRegistry().validate(); |
58 SkDebugf("Non-default runtime configuration options:\n"); | 58 SkDebugf("Non-default runtime configuration options:\n"); |
59 skRTConfRegistry().printNonDefault( ); | 59 skRTConfRegistry().printNonDefault( ); |
60 #endif | 60 #endif |
61 | 61 |
62 SkFlattenable::InitializeFlattenables(); | |
63 #ifdef BUILD_EMBOSS_TABLE | 62 #ifdef BUILD_EMBOSS_TABLE |
64 SkEmbossMask_BuildTable(); | 63 SkEmbossMask_BuildTable(); |
65 #endif | 64 #endif |
66 #ifdef BUILD_RADIALGRADIENT_TABLE | 65 #ifdef BUILD_RADIALGRADIENT_TABLE |
67 SkRadialGradient_BuildTable(); | 66 SkRadialGradient_BuildTable(); |
68 #endif | 67 #endif |
69 | 68 |
70 #ifdef SK_DEBUGx | 69 #ifdef SK_DEBUGx |
71 int i; | 70 int i; |
72 | 71 |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 if (nextEqual) { | 171 if (nextEqual) { |
173 val = (size_t) atoi(nextEqual + 1); | 172 val = (size_t) atoi(nextEqual + 1); |
174 } | 173 } |
175 (gFlags[i].fFunc)(val); | 174 (gFlags[i].fFunc)(val); |
176 break; | 175 break; |
177 } | 176 } |
178 } | 177 } |
179 flags = nextSemi + 1; | 178 flags = nextSemi + 1; |
180 } while (nextSemi); | 179 } while (nextSemi); |
181 } | 180 } |
OLD | NEW |