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

Side by Side Diff: src/opts/SkBlitRow_opts_arm_neon.cpp

Issue 263553008: Remove the unused SkCachePreload_arm (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 7 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 | « src/opts/SkBlitRow_opts_arm.cpp ('k') | src/opts/SkCachePreload_arm.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 2012 The Android Open Source Project 2 * Copyright 2012 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 #include "SkBlitRow_opts_arm_neon.h" 8 #include "SkBlitRow_opts_arm_neon.h"
9 9
10 #include "SkBlitMask.h" 10 #include "SkBlitMask.h"
11 #include "SkBlitRow.h" 11 #include "SkBlitRow.h"
12 #include "SkColorPriv.h" 12 #include "SkColorPriv.h"
13 #include "SkDither.h" 13 #include "SkDither.h"
14 #include "SkMathPriv.h" 14 #include "SkMathPriv.h"
15 #include "SkUtils.h" 15 #include "SkUtils.h"
16 16
17 #include "SkCachePreload_arm.h"
18 #include "SkColor_opts_neon.h" 17 #include "SkColor_opts_neon.h"
19 #include <arm_neon.h> 18 #include <arm_neon.h>
20 19
21 void S32_D565_Opaque_neon(uint16_t* SK_RESTRICT dst, 20 void S32_D565_Opaque_neon(uint16_t* SK_RESTRICT dst,
22 const SkPMColor* SK_RESTRICT src, int count, 21 const SkPMColor* SK_RESTRICT src, int count,
23 U8CPU alpha, int /*x*/, int /*y*/) { 22 U8CPU alpha, int /*x*/, int /*y*/) {
24 SkASSERT(255 == alpha); 23 SkASSERT(255 == alpha);
25 24
26 while (count >= 8) { 25 while (count >= 8) {
27 uint8x8x4_t vsrc; 26 uint8x8x4_t vsrc;
(...skipping 1470 matching lines...) Expand 10 before | Expand all | Expand 10 after
1498 * case where we do not inspect the src alpha. 1497 * case where we do not inspect the src alpha.
1499 */ 1498 */
1500 #if SK_A32_SHIFT == 24 1499 #if SK_A32_SHIFT == 24
1501 // This proc assumes the alpha value occupies bits 24-32 of each SkPMColor 1500 // This proc assumes the alpha value occupies bits 24-32 of each SkPMColor
1502 S32A_Opaque_BlitRow32_neon_src_alpha, // S32A_Opaque, 1501 S32A_Opaque_BlitRow32_neon_src_alpha, // S32A_Opaque,
1503 #else 1502 #else
1504 S32A_Opaque_BlitRow32_neon, // S32A_Opaque, 1503 S32A_Opaque_BlitRow32_neon, // S32A_Opaque,
1505 #endif 1504 #endif
1506 S32A_Blend_BlitRow32_neon // S32A_Blend 1505 S32A_Blend_BlitRow32_neon // S32A_Blend
1507 }; 1506 };
OLDNEW
« no previous file with comments | « src/opts/SkBlitRow_opts_arm.cpp ('k') | src/opts/SkCachePreload_arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698