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

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

Issue 505253002: remove commented-out code (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 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 | « no previous file | no next file » | 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 /* 2 /*
3 * Copyright 2007 The Android Open Source Project 3 * Copyright 2007 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SkBitmapProcState_DEFINED 10 #ifndef SkBitmapProcState_DEFINED
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 ShaderProc16 fShaderProc16; // chooseProcs 137 ShaderProc16 fShaderProc16; // chooseProcs
138 // These are used if the shaderproc is NULL 138 // These are used if the shaderproc is NULL
139 MatrixProc fMatrixProc; // chooseProcs 139 MatrixProc fMatrixProc; // chooseProcs
140 SampleProc32 fSampleProc32; // chooseProcs 140 SampleProc32 fSampleProc32; // chooseProcs
141 SampleProc16 fSampleProc16; // chooseProcs 141 SampleProc16 fSampleProc16; // chooseProcs
142 142
143 SkBitmap fOrigBitmap; // CONSTRUCTOR 143 SkBitmap fOrigBitmap; // CONSTRUCTOR
144 SkBitmap fScaledBitmap; // chooseProcs 144 SkBitmap fScaledBitmap; // chooseProcs
145 145
146 SkAutoTUnref<const SkMipMap> fCurrMip; 146 SkAutoTUnref<const SkMipMap> fCurrMip;
147 // SkScaledImageCache::ID fScaledCacheID;
148 147
149 MatrixProc chooseMatrixProc(bool trivial_matrix); 148 MatrixProc chooseMatrixProc(bool trivial_matrix);
150 bool chooseProcs(const SkMatrix& inv, const SkPaint&); 149 bool chooseProcs(const SkMatrix& inv, const SkPaint&);
151 ShaderProc32 chooseShaderProc32(); 150 ShaderProc32 chooseShaderProc32();
152 151
153 // returns false if we did not try to scale the image. In that case, we 152 // returns false if we did not try to scale the image. In that case, we
154 // will need to "lock" its pixels some other way. 153 // will need to "lock" its pixels some other way.
155 bool possiblyScaleImage(); 154 bool possiblyScaleImage();
156 155
157 // returns false if we failed to "lock" the pixels at all. Typically this 156 // returns false if we failed to "lock" the pixels at all. Typically this
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 void S32_D16_filter_DX(const SkBitmapProcState& s, 217 void S32_D16_filter_DX(const SkBitmapProcState& s,
219 const uint32_t* xy, int count, uint16_t* colors); 218 const uint32_t* xy, int count, uint16_t* colors);
220 219
221 void highQualityFilter32(const SkBitmapProcState &s, int x, int y, 220 void highQualityFilter32(const SkBitmapProcState &s, int x, int y,
222 SkPMColor *SK_RESTRICT colors, int count); 221 SkPMColor *SK_RESTRICT colors, int count);
223 void highQualityFilter16(const SkBitmapProcState &s, int x, int y, 222 void highQualityFilter16(const SkBitmapProcState &s, int x, int y,
224 uint16_t *SK_RESTRICT colors, int count); 223 uint16_t *SK_RESTRICT colors, int count);
225 224
226 225
227 #endif 226 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698