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

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

Issue 18539004: ARM Skia NEON patches - 04 - Clean SkFixed / SkLONGLONG (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Remove SkLONGLONG + use int64_t where there was an existing long long SkFixed implementation Created 7 years, 4 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
« no previous file with comments | « include/core/SkFixed.h ('k') | src/core/Sk64.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 /* 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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 #ifndef sk_memcmp 254 #ifndef sk_memcmp
255 #define sk_memcmp(s, t, n) memcmp(s, t, n) 255 #define sk_memcmp(s, t, n) memcmp(s, t, n)
256 #endif 256 #endif
257 257
258 #define sk_strequal(s, t) (!sk_strcmp(s, t)) 258 #define sk_strequal(s, t) (!sk_strcmp(s, t))
259 #define sk_strnequal(s, t, n) (!sk_strncmp(s, t, n)) 259 #define sk_strnequal(s, t, n) (!sk_strncmp(s, t, n))
260 #endif 260 #endif
261 261
262 ////////////////////////////////////////////////////////////////////// 262 //////////////////////////////////////////////////////////////////////
263 263
264 #if defined(SK_BUILD_FOR_WIN32) || defined(SK_BUILD_FOR_MAC)
265 #ifndef SkLONGLONG
266 #ifdef SK_BUILD_FOR_WIN32
267 #define SkLONGLONG __int64
268 #else
269 #define SkLONGLONG long long
270 #endif
271 #endif
272 #endif
273
274 //////////////////////////////////////////////////////////////////////////////// //////////////
275 #ifndef SK_BUILD_FOR_WINCE 264 #ifndef SK_BUILD_FOR_WINCE
276 #include <string.h> 265 #include <string.h>
277 #include <stdlib.h> 266 #include <stdlib.h>
278 #else 267 #else
279 #define _CMNINTRIN_DECLARE_ONLY 268 #define _CMNINTRIN_DECLARE_ONLY
280 #include "cmnintrin.h" 269 #include "cmnintrin.h"
281 #endif 270 #endif
282 271
283 #if defined SK_DEBUG && defined SK_BUILD_FOR_WIN32 272 #if defined SK_DEBUG && defined SK_BUILD_FOR_WIN32
284 //#define _CRTDBG_MAP_ALLOC 273 //#define _CRTDBG_MAP_ALLOC
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 #else 359 #else
371 #define SK_SIZE_T_SPECIFIER "%zu" 360 #define SK_SIZE_T_SPECIFIER "%zu"
372 #endif 361 #endif
373 #endif 362 #endif
374 363
375 ////////////////////////////////////////////////////////////////////// 364 //////////////////////////////////////////////////////////////////////
376 365
377 #ifndef SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 366 #ifndef SK_ALLOW_STATIC_GLOBAL_INITIALIZERS
378 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 1 367 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 1
379 #endif 368 #endif
OLDNEW
« no previous file with comments | « include/core/SkFixed.h ('k') | src/core/Sk64.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698