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

Side by Side Diff: src/core/SkBlitMask.h

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/core/SkBitmapScaler.cpp ('k') | src/core/SkBlitMask_D32.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 2011 Google Inc. 2 * Copyright 2011 Google Inc.
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 #ifndef SkBlitMask_DEFINED 8 #ifndef SkBlitMask_DEFINED
9 #define SkBlitMask_DEFINED 9 #define SkBlitMask_DEFINED
10 10
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 typedef void (*RowProc)(void* dst, const void* mask, 47 typedef void (*RowProc)(void* dst, const void* mask,
48 const SkPMColor* src, int width); 48 const SkPMColor* src, int width);
49 49
50 /** 50 /**
51 * Public entry-point to return a blitcolor BlitLCD16RowProc. 51 * Public entry-point to return a blitcolor BlitLCD16RowProc.
52 */ 52 */
53 static BlitLCD16RowProc BlitLCD16RowFactory(bool isOpaque); 53 static BlitLCD16RowProc BlitLCD16RowFactory(bool isOpaque);
54 54
55 /** 55 /**
56 * Return either platform specific optimized blitcolor BlitLCD16RowProc, 56 * Return either platform specific optimized blitcolor BlitLCD16RowProc,
57 * or NULL if no optimized routine is available. 57 * or nullptr if no optimized routine is available.
58 */ 58 */
59 static BlitLCD16RowProc PlatformBlitRowProcs16(bool isOpaque); 59 static BlitLCD16RowProc PlatformBlitRowProcs16(bool isOpaque);
60 60
61 enum RowFlags { 61 enum RowFlags {
62 kSrcIsOpaque_RowFlag = 1 << 0 62 kSrcIsOpaque_RowFlag = 1 << 0
63 }; 63 };
64 64
65 /** 65 /**
66 * Public entry-point to return a blitmask RowProc. 66 * Public entry-point to return a blitmask RowProc.
67 * May return NULL if config or format are not supported. 67 * May return nullptr if config or format are not supported.
68 */ 68 */
69 static RowProc RowFactory(SkColorType, SkMask::Format, RowFlags); 69 static RowProc RowFactory(SkColorType, SkMask::Format, RowFlags);
70 70
71 /** 71 /**
72 * Return either platform specific optimized blitmask RowProc, 72 * Return either platform specific optimized blitmask RowProc,
73 * or NULL if no optimized routine is available. 73 * or nullptr if no optimized routine is available.
74 */ 74 */
75 static RowProc PlatformRowProcs(SkColorType, SkMask::Format, RowFlags); 75 static RowProc PlatformRowProcs(SkColorType, SkMask::Format, RowFlags);
76 }; 76 };
77 77
78 #endif 78 #endif
OLDNEW
« no previous file with comments | « src/core/SkBitmapScaler.cpp ('k') | src/core/SkBlitMask_D32.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698