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

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

Issue 1813123003: Reland of "switch patheffects over to sk_sp (patchset #5 id:80001 of https://codereview.chromium.or… (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: move flag into sktypes, so it is visible to both paint and other patheffect clients Created 4 years, 9 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 | « include/core/SkPathEffect.h ('k') | include/effects/Sk1DPathEffect.h » ('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 SkTypes_DEFINED 8 #ifndef SkTypes_DEFINED
9 #define SkTypes_DEFINED 9 #define SkTypes_DEFINED
10 10
11 // IWYU pragma: begin_exports 11 // IWYU pragma: begin_exports
12 #include "SkPreConfig.h" 12 #include "SkPreConfig.h"
13 #include "SkUserConfig.h" 13 #include "SkUserConfig.h"
14 #include "SkPostConfig.h" 14 #include "SkPostConfig.h"
15 #include <stddef.h> 15 #include <stddef.h>
16 #include <stdint.h> 16 #include <stdint.h>
17 17
18 #ifndef SK_SUPPORT_LEGACY_PATHEFFECT_PTR
19 #define SK_SUPPORT_LEGACY_PATHEFFECT_PTR
20 #endif
21
18 #if defined(SK_ARM_HAS_NEON) 22 #if defined(SK_ARM_HAS_NEON)
19 #include <arm_neon.h> 23 #include <arm_neon.h>
20 #elif SK_CPU_SSE_LEVEL >= SK_CPU_SSE_LEVEL_SSE2 24 #elif SK_CPU_SSE_LEVEL >= SK_CPU_SSE_LEVEL_SSE2
21 #include <immintrin.h> 25 #include <immintrin.h>
22 #endif 26 #endif
23 // IWYU pragma: end_exports 27 // IWYU pragma: end_exports
24 28
25 #include <string.h> 29 #include <string.h>
26 30
27 /** 31 /**
(...skipping 674 matching lines...) Expand 10 before | Expand all | Expand 10 after
702 706
703 void* fPtr; 707 void* fPtr;
704 size_t fSize; // can be larger than the requested size (see kReuse) 708 size_t fSize; // can be larger than the requested size (see kReuse)
705 uint32_t fStorage[kSize >> 2]; 709 uint32_t fStorage[kSize >> 2];
706 }; 710 };
707 // Can't guard the constructor because it's a template class. 711 // Can't guard the constructor because it's a template class.
708 712
709 #endif /* C++ */ 713 #endif /* C++ */
710 714
711 #endif 715 #endif
OLDNEW
« no previous file with comments | « include/core/SkPathEffect.h ('k') | include/effects/Sk1DPathEffect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698