| 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 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 393 | 393 |
| 394 #ifndef SK_MUTEX_PLATFORM_H | 394 #ifndef SK_MUTEX_PLATFORM_H |
| 395 # if defined(SK_BUILD_FOR_WIN) | 395 # if defined(SK_BUILD_FOR_WIN) |
| 396 # define SK_MUTEX_PLATFORM_H "../../src/ports/SkMutex_win.h" | 396 # define SK_MUTEX_PLATFORM_H "../../src/ports/SkMutex_win.h" |
| 397 # else | 397 # else |
| 398 # define SK_MUTEX_PLATFORM_H "../../src/ports/SkMutex_pthread.h" | 398 # define SK_MUTEX_PLATFORM_H "../../src/ports/SkMutex_pthread.h" |
| 399 # endif | 399 # endif |
| 400 #endif | 400 #endif |
| 401 | 401 |
| 402 #ifndef SK_BARRIERS_PLATFORM_H | 402 #ifndef SK_BARRIERS_PLATFORM_H |
| 403 # if defined(SK_CPU_ARM) || defined(SK_CPU_ARM64) | 403 # if defined(SK_CPU_ARM32) || defined(SK_CPU_ARM64) |
| 404 # define SK_BARRIERS_PLATFORM_H "../../src/ports/SkBarriers_arm.h" | 404 # define SK_BARRIERS_PLATFORM_H "../../src/ports/SkBarriers_arm.h" |
| 405 # else | 405 # else |
| 406 # define SK_BARRIERS_PLATFORM_H "../../src/ports/SkBarriers_x86.h" | 406 # define SK_BARRIERS_PLATFORM_H "../../src/ports/SkBarriers_x86.h" |
| 407 # endif | 407 # endif |
| 408 #endif | 408 #endif |
| 409 | 409 |
| 410 | 410 |
| 411 ////////////////////////////////////////////////////////////////////// | 411 ////////////////////////////////////////////////////////////////////// |
| 412 | 412 |
| 413 #if defined(SK_GAMMA_EXPONENT) && defined(SK_GAMMA_SRGB) | 413 #if defined(SK_GAMMA_EXPONENT) && defined(SK_GAMMA_SRGB) |
| 414 # error "cannot define both SK_GAMMA_EXPONENT and SK_GAMMA_SRGB" | 414 # error "cannot define both SK_GAMMA_EXPONENT and SK_GAMMA_SRGB" |
| 415 #elif defined(SK_GAMMA_SRGB) | 415 #elif defined(SK_GAMMA_SRGB) |
| 416 # define SK_GAMMA_EXPONENT (0.0f) | 416 # define SK_GAMMA_EXPONENT (0.0f) |
| 417 #elif !defined(SK_GAMMA_EXPONENT) | 417 #elif !defined(SK_GAMMA_EXPONENT) |
| 418 # define SK_GAMMA_EXPONENT (2.2f) | 418 # define SK_GAMMA_EXPONENT (2.2f) |
| 419 #endif | 419 #endif |
| 420 | 420 |
| 421 #endif // SkPostConfig_DEFINED | 421 #endif // SkPostConfig_DEFINED |
| OLD | NEW |