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

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

Issue 131103009: update pathops to circle sort (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: disable old test that still fails on linux 32 release Created 6 years, 8 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 | « gyp/pathops_unittest.gyp ('k') | src/pathops/SkAddIntersections.cpp » ('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 #ifndef SkPostConfig_DEFINED 8 #ifndef SkPostConfig_DEFINED
9 #define SkPostConfig_DEFINED 9 #define SkPostConfig_DEFINED
10 10
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 # endif 159 # endif
160 # 160 #
161 # ifndef SK_A32_SHIFT 161 # ifndef SK_A32_SHIFT
162 # define SK_A32_SHIFT 24 162 # define SK_A32_SHIFT 24
163 # define SK_R32_SHIFT 16 163 # define SK_R32_SHIFT 16
164 # define SK_G32_SHIFT 8 164 # define SK_G32_SHIFT 8
165 # define SK_B32_SHIFT 0 165 # define SK_B32_SHIFT 0
166 # endif 166 # endif
167 # 167 #
168 #else 168 #else
169 # ifdef SK_DEBUG 169 # ifndef SK_DEBUGBREAK
170 # include <stdio.h> 170 # ifdef SK_DEBUG
171 # ifndef SK_DEBUGBREAK 171 # include <stdio.h>
172 # define SK_DEBUGBREAK(cond) do { if (cond) break; \ 172 # define SK_DEBUGBREAK(cond) do { if (cond) break; \
173 SkDebugf("%s:%d: failed assertion \"%s\"\n", \ 173 SkDebugf("%s:%d: failed assertion \"%s\"\n", \
174 __FILE__, __LINE__, #cond); SK_CRASH(); } while (false) 174 __FILE__, __LINE__, #cond); SK_CRASH(); } while (false)
175 # else
176 # define SK_DEBUGBREAK(cond) do { if (cond) break; SK_CRASH(); } while (fal se)
175 # endif 177 # endif
176 # endif 178 # endif
177 #endif 179 #endif
178 180
179 /** 181 /**
180 * We check to see if the SHIFT value has already been defined. 182 * We check to see if the SHIFT value has already been defined.
181 * if not, we define it ourself to some default values. We default to OpenGL 183 * if not, we define it ourself to some default values. We default to OpenGL
182 * order (in memory: r,g,b,a) 184 * order (in memory: r,g,b,a)
183 */ 185 */
184 #ifndef SK_A32_SHIFT 186 #ifndef SK_A32_SHIFT
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 387
386 #ifndef SK_MUTEX_PLATFORM_H 388 #ifndef SK_MUTEX_PLATFORM_H
387 # if defined(SK_BUILD_FOR_WIN) 389 # if defined(SK_BUILD_FOR_WIN)
388 # define SK_MUTEX_PLATFORM_H "../../src/ports/SkMutex_win.h" 390 # define SK_MUTEX_PLATFORM_H "../../src/ports/SkMutex_win.h"
389 # else 391 # else
390 # define SK_MUTEX_PLATFORM_H "../../src/ports/SkMutex_pthread.h" 392 # define SK_MUTEX_PLATFORM_H "../../src/ports/SkMutex_pthread.h"
391 # endif 393 # endif
392 #endif 394 #endif
393 395
394 #endif // SkPostConfig_DEFINED 396 #endif // SkPostConfig_DEFINED
OLDNEW
« no previous file with comments | « gyp/pathops_unittest.gyp ('k') | src/pathops/SkAddIntersections.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698