OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2006 The Android Open Source Project | 2 * Copyright 2006 The Android Open Source Project |
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 | 8 |
9 #include "SkGraphics.h" | 9 #include "SkGraphics.h" |
10 | 10 |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 if (nextEqual) { | 111 if (nextEqual) { |
112 val = (size_t) atoi(nextEqual + 1); | 112 val = (size_t) atoi(nextEqual + 1); |
113 } | 113 } |
114 (gFlags[i].fFunc)(val); | 114 (gFlags[i].fFunc)(val); |
115 break; | 115 break; |
116 } | 116 } |
117 } | 117 } |
118 flags = nextSemi + 1; | 118 flags = nextSemi + 1; |
119 } while (nextSemi); | 119 } while (nextSemi); |
120 } | 120 } |
121 | |
122 // Call SkGraphics::Init() automatically for Google3 processes. | |
123 #if defined(GOOGLE3) | |
124 static SkAutoGraphics autoGraphics; | |
125 #endif | |
OLD | NEW |