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

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

Issue 1316233002: Style Change: NULL->nullptr (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-08-27 (Thursday) 10:25:06 EDT Created 5 years, 3 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/SkBlitMask_opts_none.cpp ('k') | src/opts/SkBlitRow_opts_arm_neon.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 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.h" 8 #include "SkBlitRow.h"
9 #include "SkUtilsArm.h" 9 #include "SkUtilsArm.h"
10 10
11 #include "SkBlitRow_opts_arm_neon.h" 11 #include "SkBlitRow_opts_arm_neon.h"
12 12
13 static const SkBlitRow::Proc16 sk_blitrow_platform_565_procs_arm[] = { 13 static const SkBlitRow::Proc16 sk_blitrow_platform_565_procs_arm[] = {
14 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 14 nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr,
15 }; 15 };
16 16
17 static const SkBlitRow::ColorProc16 sk_blitrow_platform_565_colorprocs_arm[] = { 17 static const SkBlitRow::ColorProc16 sk_blitrow_platform_565_colorprocs_arm[] = {
18 NULL, NULL, 18 nullptr, nullptr,
19 }; 19 };
20 20
21 static const SkBlitRow::Proc32 sk_blitrow_platform_32_procs_arm[] = { 21 static const SkBlitRow::Proc32 sk_blitrow_platform_32_procs_arm[] = {
22 NULL, NULL, NULL, NULL, 22 nullptr, nullptr, nullptr, nullptr,
23 }; 23 };
24 24
25 SkBlitRow::Proc16 SkBlitRow::PlatformFactory565(unsigned flags) { 25 SkBlitRow::Proc16 SkBlitRow::PlatformFactory565(unsigned flags) {
26 return SK_ARM_NEON_WRAP(sk_blitrow_platform_565_procs_arm)[flags]; 26 return SK_ARM_NEON_WRAP(sk_blitrow_platform_565_procs_arm)[flags];
27 } 27 }
28 28
29 SkBlitRow::ColorProc16 SkBlitRow::PlatformColorFactory565(unsigned flags) { 29 SkBlitRow::ColorProc16 SkBlitRow::PlatformColorFactory565(unsigned flags) {
30 return SK_ARM_NEON_WRAP(sk_blitrow_platform_565_colorprocs_arm)[flags]; 30 return SK_ARM_NEON_WRAP(sk_blitrow_platform_565_colorprocs_arm)[flags];
31 } 31 }
32 32
33 SkBlitRow::Proc32 SkBlitRow::PlatformProcs32(unsigned flags) { 33 SkBlitRow::Proc32 SkBlitRow::PlatformProcs32(unsigned flags) {
34 return SK_ARM_NEON_WRAP(sk_blitrow_platform_32_procs_arm)[flags]; 34 return SK_ARM_NEON_WRAP(sk_blitrow_platform_32_procs_arm)[flags];
35 } 35 }
36 36
37 SkBlitRow::Color32Proc SkBlitRow::PlatformColor32Proc() { 37 SkBlitRow::Color32Proc SkBlitRow::PlatformColor32Proc() {
38 #define sk_blitrow_color32_arm NULL 38 #define sk_blitrow_color32_arm nullptr
39 return SK_ARM_NEON_WRAP(sk_blitrow_color32_arm); 39 return SK_ARM_NEON_WRAP(sk_blitrow_color32_arm);
40 } 40 }
OLDNEW
« no previous file with comments | « src/opts/SkBlitMask_opts_none.cpp ('k') | src/opts/SkBlitRow_opts_arm_neon.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698