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

Side by Side Diff: src/core/SkBitmapProcState.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/SkBitmapProcShader.cpp ('k') | src/core/SkBitmapProcState.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 2007 The Android Open Source Project 2 * Copyright 2007 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 #ifndef SkBitmapProcState_DEFINED 8 #ifndef SkBitmapProcState_DEFINED
9 #define SkBitmapProcState_DEFINED 9 #define SkBitmapProcState_DEFINED
10 10
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 #endif 116 #endif
117 SampleProc32 getSampleProc32() const { return fSampleProc32; } 117 SampleProc32 getSampleProc32() const { return fSampleProc32; }
118 SampleProc16 getSampleProc16() const { return fSampleProc16; } 118 SampleProc16 getSampleProc16() const { return fSampleProc16; }
119 119
120 private: 120 private:
121 friend class SkBitmapProcShader; 121 friend class SkBitmapProcShader;
122 friend class SkLightingShaderImpl; 122 friend class SkLightingShaderImpl;
123 123
124 ShaderProc32 fShaderProc32; // chooseProcs 124 ShaderProc32 fShaderProc32; // chooseProcs
125 ShaderProc16 fShaderProc16; // chooseProcs 125 ShaderProc16 fShaderProc16; // chooseProcs
126 // These are used if the shaderproc is NULL 126 // These are used if the shaderproc is nullptr
127 MatrixProc fMatrixProc; // chooseProcs 127 MatrixProc fMatrixProc; // chooseProcs
128 SampleProc32 fSampleProc32; // chooseProcs 128 SampleProc32 fSampleProc32; // chooseProcs
129 SampleProc16 fSampleProc16; // chooseProcs 129 SampleProc16 fSampleProc16; // chooseProcs
130 130
131 SkBitmap fOrigBitmap; // CONSTRUCTOR 131 SkBitmap fOrigBitmap; // CONSTRUCTOR
132 132
133 enum { 133 enum {
134 kBMStateSize = 136 // found by inspection. if too small, we will call n ew/delete 134 kBMStateSize = 136 // found by inspection. if too small, we will call n ew/delete
135 }; 135 };
136 SkAlignedSStorage<kBMStateSize> fBMStateStorage; 136 SkAlignedSStorage<kBMStateSize> fBMStateStorage;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 void ClampX_ClampY_filter_affine(const SkBitmapProcState& s, 191 void ClampX_ClampY_filter_affine(const SkBitmapProcState& s,
192 uint32_t xy[], int count, int x, int y); 192 uint32_t xy[], int count, int x, int y);
193 void ClampX_ClampY_nofilter_affine(const SkBitmapProcState& s, 193 void ClampX_ClampY_nofilter_affine(const SkBitmapProcState& s,
194 uint32_t xy[], int count, int x, int y); 194 uint32_t xy[], int count, int x, int y);
195 void S32_D16_filter_DX(const SkBitmapProcState& s, 195 void S32_D16_filter_DX(const SkBitmapProcState& s,
196 const uint32_t* xy, int count, uint16_t* colors); 196 const uint32_t* xy, int count, uint16_t* colors);
197 void S32_D16_filter_DXDY(const SkBitmapProcState& s, 197 void S32_D16_filter_DXDY(const SkBitmapProcState& s,
198 const uint32_t* xy, int count, uint16_t* colors); 198 const uint32_t* xy, int count, uint16_t* colors);
199 199
200 #endif 200 #endif
OLDNEW
« no previous file with comments | « src/core/SkBitmapProcShader.cpp ('k') | src/core/SkBitmapProcState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698