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

Side by Side Diff: src/core/SkBitmapScaler.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/SkBitmapProcState_shaderproc.h ('k') | src/core/SkBitmapScaler.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 2013 Google Inc. 2 * Copyright 2013 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 SkBitmapScaler_DEFINED 8 #ifndef SkBitmapScaler_DEFINED
9 #define SkBitmapScaler_DEFINED 9 #define SkBitmapScaler_DEFINED
10 10
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 RESIZE_MITCHELL, 73 RESIZE_MITCHELL,
74 74
75 // enum aliases for first and last methods by algorithm or by quality. 75 // enum aliases for first and last methods by algorithm or by quality.
76 RESIZE_FIRST_QUALITY_METHOD = RESIZE_GOOD, 76 RESIZE_FIRST_QUALITY_METHOD = RESIZE_GOOD,
77 RESIZE_LAST_QUALITY_METHOD = RESIZE_BEST, 77 RESIZE_LAST_QUALITY_METHOD = RESIZE_BEST,
78 RESIZE_FIRST_ALGORITHM_METHOD = RESIZE_BOX, 78 RESIZE_FIRST_ALGORITHM_METHOD = RESIZE_BOX,
79 RESIZE_LAST_ALGORITHM_METHOD = RESIZE_MITCHELL, 79 RESIZE_LAST_ALGORITHM_METHOD = RESIZE_MITCHELL,
80 }; 80 };
81 81
82 static bool Resize(SkBitmap* result, const SkPixmap& src, ResizeMethod metho d, 82 static bool Resize(SkBitmap* result, const SkPixmap& src, ResizeMethod metho d,
83 float dest_width, float dest_height, SkBitmap::Allocator* = NULL); 83 float dest_width, float dest_height, SkBitmap::Allocator* = nullptr);
84 84
85 /** Platforms can also optionally overwrite the convolution functions 85 /** Platforms can also optionally overwrite the convolution functions
86 if we have SIMD versions of them. 86 if we have SIMD versions of them.
87 */ 87 */
88 88
89 static void PlatformConvolutionProcs(SkConvolutionProcs*); 89 static void PlatformConvolutionProcs(SkConvolutionProcs*);
90 }; 90 };
91 91
92 #endif 92 #endif
OLDNEW
« no previous file with comments | « src/core/SkBitmapProcState_shaderproc.h ('k') | src/core/SkBitmapScaler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698