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

Side by Side Diff: src/core/SkBlitter_RGB16.cpp

Issue 208173002: Fix broken Android builds due to missing includes for NEON defines (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | 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 #include "SkBlitRow.h" 10 #include "SkBlitRow.h"
11 #include "SkCoreBlitters.h" 11 #include "SkCoreBlitters.h"
12 #include "SkColorPriv.h" 12 #include "SkColorPriv.h"
13 #include "SkDither.h" 13 #include "SkDither.h"
14 #include "SkShader.h" 14 #include "SkShader.h"
15 #include "SkUtils.h" 15 #include "SkUtils.h"
16 #include "SkUtilsArm.h"
16 #include "SkXfermode.h" 17 #include "SkXfermode.h"
17 18
18 #if SK_ARM_NEON_IS_ALWAYS && defined(SK_CPU_LENDIAN) 19 #if SK_ARM_NEON_IS_ALWAYS && defined(SK_CPU_LENDIAN)
19 #include <arm_neon.h> 20 #include <arm_neon.h>
20 #else 21 #else
21 // if we don't have neon, then our black blitter is worth the extra code 22 // if we don't have neon, then our black blitter is worth the extra code
22 #define USE_BLACK_BLITTER 23 #define USE_BLACK_BLITTER
23 #endif 24 #endif
24 25
25 void sk_dither_memset16(uint16_t dst[], uint16_t value, uint16_t other, 26 void sk_dither_memset16(uint16_t dst[], uint16_t value, uint16_t other,
(...skipping 1014 matching lines...) Expand 10 before | Expand all | Expand 10 after
1040 #endif 1041 #endif
1041 } else if (0xFF == SkColorGetA(color)) { 1042 } else if (0xFF == SkColorGetA(color)) {
1042 blitter = allocator->createT<SkRGB16_Opaque_Blitter>(device, paint); 1043 blitter = allocator->createT<SkRGB16_Opaque_Blitter>(device, paint);
1043 } else { 1044 } else {
1044 blitter = allocator->createT<SkRGB16_Blitter>(device, paint); 1045 blitter = allocator->createT<SkRGB16_Blitter>(device, paint);
1045 } 1046 }
1046 } 1047 }
1047 1048
1048 return blitter; 1049 return blitter;
1049 } 1050 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698