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

Side by Side Diff: include/core/SkPreConfig.h

Issue 2041943002: SkLeanWindows.h: #include "Windows.h" fewer places (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2016-06-07 (Tuesday) 11:28:42 EDT Created 4 years, 6 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 | « include/core/SkPostConfig.h ('k') | include/gpu/GrTypes.h » ('j') | 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 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 // IWYU pragma: private, include "SkTypes.h" 8 // IWYU pragma: private, include "SkTypes.h"
9 9
10 #ifndef SkPreConfig_DEFINED 10 #ifndef SkPreConfig_DEFINED
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 #define SK_ARM_HAS_NEON 203 #define SK_ARM_HAS_NEON
204 #endif 204 #endif
205 205
206 ////////////////////////////////////////////////////////////////////// 206 //////////////////////////////////////////////////////////////////////
207 207
208 #if !defined(SKIA_IMPLEMENTATION) 208 #if !defined(SKIA_IMPLEMENTATION)
209 #define SKIA_IMPLEMENTATION 0 209 #define SKIA_IMPLEMENTATION 0
210 #endif 210 #endif
211 211
212 #if defined(SKIA_DLL) 212 #if defined(SKIA_DLL)
213 #if defined(WIN32) 213 #if defined(SK_BUILD_FOR_WIN32)
214 #if SKIA_IMPLEMENTATION 214 #if SKIA_IMPLEMENTATION
215 #define SK_API __declspec(dllexport) 215 #define SK_API __declspec(dllexport)
216 #else 216 #else
217 #define SK_API __declspec(dllimport) 217 #define SK_API __declspec(dllimport)
218 #endif 218 #endif
219 #else 219 #else
220 #define SK_API __attribute__((visibility("default"))) 220 #define SK_API __attribute__((visibility("default")))
221 #endif 221 #endif
222 #else 222 #else
223 #define SK_API 223 #define SK_API
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 * 261 *
262 * NOTE: Clang/ARM (r161757) does not support the 'optimize' attribute. 262 * NOTE: Clang/ARM (r161757) does not support the 'optimize' attribute.
263 */ 263 */
264 #if SK_HAS_ATTRIBUTE(optimize) 264 #if SK_HAS_ATTRIBUTE(optimize)
265 # define SK_ATTRIBUTE_OPTIMIZE_O1 __attribute__((optimize("O1"))) 265 # define SK_ATTRIBUTE_OPTIMIZE_O1 __attribute__((optimize("O1")))
266 #else 266 #else
267 # define SK_ATTRIBUTE_OPTIMIZE_O1 /* nothing */ 267 # define SK_ATTRIBUTE_OPTIMIZE_O1 /* nothing */
268 #endif 268 #endif
269 269
270 #endif 270 #endif
OLDNEW
« no previous file with comments | « include/core/SkPostConfig.h ('k') | include/gpu/GrTypes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698