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

Side by Side Diff: src/ports/SkGlobalInitialization_chromium.cpp

Issue 1283183004: Paranoid temporary check that Chrome's building with SSE2 on all Windows builders. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 4 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698