| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 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 #include "SkTypes.h" | 8 #include "SkTypes.h" |
| 9 | 9 |
| 10 #include "SkBitmapProcShader.h" | 10 #include "SkBitmapProcShader.h" |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 SkLightingShader::InitializeFlattenables(); | 136 SkLightingShader::InitializeFlattenables(); |
| 137 SkTableColorFilter::InitializeFlattenables(); | 137 SkTableColorFilter::InitializeFlattenables(); |
| 138 SkXfermode::InitializeFlattenables(); | 138 SkXfermode::InitializeFlattenables(); |
| 139 } | 139 } |
| 140 }; | 140 }; |
| 141 | 141 |
| 142 SK_DECLARE_STATIC_ONCE(once); | 142 SK_DECLARE_STATIC_ONCE(once); |
| 143 void SkFlattenable::InitializeFlattenablesIfNeeded() { | 143 void SkFlattenable::InitializeFlattenablesIfNeeded() { |
| 144 SkOnce(&once, SkPrivateEffectInitializer::Init); | 144 SkOnce(&once, SkPrivateEffectInitializer::Init); |
| 145 } | 145 } |
| 146 | |
| 147 #if defined(SK_BUILD_FOR_WIN32) && SK_CPU_SSE_LEVEL < SK_CPU_SSE_LEVEL_SSE2 | |
| 148 #error "This double checks that Chromium is always built with SSE2+ on Windo
ws." | |
| 149 #endif | |
| OLD | NEW |