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

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

Issue 354193002: Refactor bitmap scaler to make it easier to migrate rest of chrome to use it (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 5 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/core/SkBitmapScaler.cpp ('k') | src/opts/SkBitmapProcState_opts_none.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 2009 The Android Open Source Project 2 * Copyright 2009 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 8
9 #include "SkBitmapScaler.h"
9 #include "SkBitmapProcState.h" 10 #include "SkBitmapProcState.h"
10 #include "SkColorPriv.h" 11 #include "SkColorPriv.h"
11 #include "SkPaint.h" 12 #include "SkPaint.h"
12 #include "SkTypes.h" 13 #include "SkTypes.h"
13 #include "SkUtils.h" 14 #include "SkUtils.h"
14 #include "SkUtilsArm.h" 15 #include "SkUtilsArm.h"
15 16
16 #include "SkConvolver.h" 17 #include "SkConvolver.h"
17 18
18 #if !defined(SK_CPU_ARM64) && SK_ARM_ARCH >= 6 && !defined(SK_CPU_BENDIAN) 19 #if !defined(SK_CPU_ARM64) && SK_ARM_ARCH >= 6 && !defined(SK_CPU_BENDIAN)
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 #endif 223 #endif
223 } 224 }
224 225
225 /////////////////////////////////////////////////////////////////////////////// 226 ///////////////////////////////////////////////////////////////////////////////
226 227
227 extern void platformConvolutionProcs_arm_neon(SkConvolutionProcs* procs); 228 extern void platformConvolutionProcs_arm_neon(SkConvolutionProcs* procs);
228 229
229 void platformConvolutionProcs_arm(SkConvolutionProcs* procs) { 230 void platformConvolutionProcs_arm(SkConvolutionProcs* procs) {
230 } 231 }
231 232
232 void SkBitmapProcState::platformConvolutionProcs(SkConvolutionProcs* procs) { 233 void SkBitmapScaler::PlatformConvolutionProcs(SkConvolutionProcs* procs) {
233 SK_ARM_NEON_WRAP(platformConvolutionProcs_arm)(procs); 234 SK_ARM_NEON_WRAP(platformConvolutionProcs_arm)(procs);
234 } 235 }
OLDNEW
« no previous file with comments | « src/core/SkBitmapScaler.cpp ('k') | src/opts/SkBitmapProcState_opts_none.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698