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

Side by Side Diff: src/opts/SkBlitRow_opts_mips_dsp.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/SkBlitRow_opts_arm_neon.cpp ('k') | src/opts/SkBlitRow_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 2014 The Android Open Source Project 2 * Copyright 2014 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 "SkBlitMask.h" 9 #include "SkBlitMask.h"
10 #include "SkColorPriv.h" 10 #include "SkColorPriv.h"
(...skipping 902 matching lines...) Expand 10 before | Expand all | Expand 10 after
913 : [expanded32] "r" (expanded32), [width] "r" (width) 913 : [expanded32] "r" (expanded32), [width] "r" (width)
914 : "memory", "hi", "lo", "t0", "t1", "t2", "t3", 914 : "memory", "hi", "lo", "t0", "t1", "t2", "t3",
915 "t4", "t5", "t6", "t7", "t8", "t9" 915 "t4", "t5", "t6", "t7", "t8", "t9"
916 ); 916 );
917 } 917 }
918 918
919 //////////////////////////////////////////////////////////////////////////////// /////////////////// 919 //////////////////////////////////////////////////////////////////////////////// ///////////////////
920 920
921 const SkBlitRow::Proc16 platform_565_procs_mips_dsp[] = { 921 const SkBlitRow::Proc16 platform_565_procs_mips_dsp[] = {
922 // no dither 922 // no dither
923 NULL, 923 nullptr,
924 S32_D565_Blend_mips_dsp, 924 S32_D565_Blend_mips_dsp,
925 S32A_D565_Opaque_mips_dsp, 925 S32A_D565_Opaque_mips_dsp,
926 S32A_D565_Blend_mips_dsp, 926 S32A_D565_Blend_mips_dsp,
927 927
928 // dither 928 // dither
929 S32_D565_Opaque_Dither_mips_dsp, 929 S32_D565_Opaque_Dither_mips_dsp,
930 S32_D565_Blend_Dither_mips_dsp, 930 S32_D565_Blend_Dither_mips_dsp,
931 S32A_D565_Opaque_Dither_mips_dsp, 931 S32A_D565_Opaque_Dither_mips_dsp,
932 NULL, 932 nullptr,
933 }; 933 };
934 934
935 static const SkBlitRow::Proc32 platform_32_procs_mips_dsp[] = { 935 static const SkBlitRow::Proc32 platform_32_procs_mips_dsp[] = {
936 NULL, // S32_Opaque, 936 nullptr, // S32_Opaque,
937 S32_Blend_BlitRow32_mips_dsp, // S32_Blend, 937 S32_Blend_BlitRow32_mips_dsp, // S32_Blend,
938 NULL, // S32A_Opaque, 938 nullptr, // S32A_Opaque,
939 NULL, // S32A_Blend, 939 nullptr, // S32A_Blend,
940 }; 940 };
941 941
942 SkBlitRow::Proc16 SkBlitRow::PlatformFactory565(unsigned flags) { 942 SkBlitRow::Proc16 SkBlitRow::PlatformFactory565(unsigned flags) {
943 return platform_565_procs_mips_dsp[flags]; 943 return platform_565_procs_mips_dsp[flags];
944 } 944 }
945 945
946 SkBlitRow::ColorProc16 SkBlitRow::PlatformColorFactory565(unsigned flags) { 946 SkBlitRow::ColorProc16 SkBlitRow::PlatformColorFactory565(unsigned flags) {
947 return NULL; 947 return nullptr;
948 } 948 }
949 949
950 SkBlitRow::Proc32 SkBlitRow::PlatformProcs32(unsigned flags) { 950 SkBlitRow::Proc32 SkBlitRow::PlatformProcs32(unsigned flags) {
951 return platform_32_procs_mips_dsp[flags]; 951 return platform_32_procs_mips_dsp[flags];
952 } 952 }
OLDNEW
« no previous file with comments | « src/opts/SkBlitRow_opts_arm_neon.cpp ('k') | src/opts/SkBlitRow_opts_none.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698