| 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 #ifndef SkPostConfig_DEFINED | 8 #ifndef SkPostConfig_DEFINED |
| 9 #define SkPostConfig_DEFINED | 9 #define SkPostConfig_DEFINED |
| 10 | 10 |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 #else | 220 #else |
| 221 # define SK_PMCOLOR_BYTE_ORDER(C0, C1, C2, C3) \ | 221 # define SK_PMCOLOR_BYTE_ORDER(C0, C1, C2, C3) \ |
| 222 (SK_ ## C0 ## 32_SHIFT == 0 && \ | 222 (SK_ ## C0 ## 32_SHIFT == 0 && \ |
| 223 SK_ ## C1 ## 32_SHIFT == 8 && \ | 223 SK_ ## C1 ## 32_SHIFT == 8 && \ |
| 224 SK_ ## C2 ## 32_SHIFT == 16 && \ | 224 SK_ ## C2 ## 32_SHIFT == 16 && \ |
| 225 SK_ ## C3 ## 32_SHIFT == 24) | 225 SK_ ## C3 ## 32_SHIFT == 24) |
| 226 #endif | 226 #endif |
| 227 | 227 |
| 228 ////////////////////////////////////////////////////////////////////// | 228 ////////////////////////////////////////////////////////////////////// |
| 229 | 229 |
| 230 // TODO: rebaseline as needed so we can remove this flag entirely. | |
| 231 // - all platforms have int64_t now | |
| 232 // - we have slightly different fixed math results because of this check | |
| 233 // since we don't define this for linux/android | |
| 234 #if defined(SK_BUILD_FOR_WIN32) || defined(SK_BUILD_FOR_MAC) | 230 #if defined(SK_BUILD_FOR_WIN32) || defined(SK_BUILD_FOR_MAC) |
| 235 # ifndef SkLONGLONG | 231 # ifndef SkLONGLONG |
| 236 # define SkLONGLONG int64_t | 232 # ifdef SK_BUILD_FOR_WIN32 |
| 233 # define SkLONGLONG __int64 |
| 234 # else |
| 235 # define SkLONGLONG long long |
| 236 # endif |
| 237 # endif | 237 # endif |
| 238 #endif | 238 #endif |
| 239 | 239 |
| 240 ////////////////////////////////////////////////////////////////////////////////
////////////// | 240 ////////////////////////////////////////////////////////////////////////////////
////////////// |
| 241 #ifndef SK_BUILD_FOR_WINCE | 241 #ifndef SK_BUILD_FOR_WINCE |
| 242 # include <string.h> | 242 # include <string.h> |
| 243 # include <stdlib.h> | 243 # include <stdlib.h> |
| 244 #else | 244 #else |
| 245 # define _CMNINTRIN_DECLARE_ONLY | 245 # define _CMNINTRIN_DECLARE_ONLY |
| 246 # include "cmnintrin.h" | 246 # include "cmnintrin.h" |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 385 | 385 |
| 386 #ifndef SK_MUTEX_PLATFORM_H | 386 #ifndef SK_MUTEX_PLATFORM_H |
| 387 # if defined(SK_BUILD_FOR_WIN) | 387 # if defined(SK_BUILD_FOR_WIN) |
| 388 # define SK_MUTEX_PLATFORM_H "../../src/ports/SkMutex_win.h" | 388 # define SK_MUTEX_PLATFORM_H "../../src/ports/SkMutex_win.h" |
| 389 # else | 389 # else |
| 390 # define SK_MUTEX_PLATFORM_H "../../src/ports/SkMutex_pthread.h" | 390 # define SK_MUTEX_PLATFORM_H "../../src/ports/SkMutex_pthread.h" |
| 391 # endif | 391 # endif |
| 392 #endif | 392 #endif |
| 393 | 393 |
| 394 #endif // SkPostConfig_DEFINED | 394 #endif // SkPostConfig_DEFINED |
| OLD | NEW |