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

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

Issue 19808007: Split atomic and mutex implementations and make inlinable. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Move defines to SkPreConfig/SkUserConfig. Created 7 years, 2 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 | Annotate | Revision Log
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2006 The Android Open Source Project 3 * Copyright 2006 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SkPostConfig_DEFINED 10 #ifndef SkPostConfig_DEFINED
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 #else 392 #else
393 #define SK_SIZE_T_SPECIFIER "%zu" 393 #define SK_SIZE_T_SPECIFIER "%zu"
394 #endif 394 #endif
395 #endif 395 #endif
396 396
397 ////////////////////////////////////////////////////////////////////// 397 //////////////////////////////////////////////////////////////////////
398 398
399 #ifndef SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 399 #ifndef SK_ALLOW_STATIC_GLOBAL_INITIALIZERS
400 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 1 400 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 1
401 #endif 401 #endif
402
403 //////////////////////////////////////////////////////////////////////
404
405 #ifndef SK_ATOMICS_PLATFORM_H
406 #if defined(SK_BUILD_FOR_WIN)
407 #define SK_ATOMICS_PLATFORM_H "SkAtomics_win.h"
408 #elif defined(SK_BUILD_FOR_ANDROID_FRAMEWORK)
409 #define SK_ATOMICS_PLATFORM_H "SkAtomics_android.h"
410 #else
411 #define SK_ATOMICS_PLATFORM_H "SkAtomics_sync.h"
412 #endif
413 #endif
414
415 #ifndef SK_MUTEX_PLATFORM_H
416 #if defined(SK_BUILD_FOR_WIN)
417 #define SK_MUTEX_PLATFORM_H "SkMutex_win.h"
418 #else
419 #define SK_MUTEX_PLATFORM_H "SkMutex_pthread.h"
420 #endif
421 #endif
OLDNEW
« gyp/core.gyp ('K') | « include/core/SkInstCnt.h ('k') | include/core/SkRefCnt.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698