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

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

Issue 1245883003: Move LightingShader to effects (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Address 64b gcc memory issues (seems to require more space than others) Created 5 years, 4 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/effects/SkLightingShader.h » ('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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 #ifdef SK_DEBUG 111 #ifdef SK_DEBUG
112 MatrixProc getMatrixProc() const; 112 MatrixProc getMatrixProc() const;
113 #else 113 #else
114 MatrixProc getMatrixProc() const { return fMatrixProc; } 114 MatrixProc getMatrixProc() const { return fMatrixProc; }
115 #endif 115 #endif
116 SampleProc32 getSampleProc32() const { return fSampleProc32; } 116 SampleProc32 getSampleProc32() const { return fSampleProc32; }
117 SampleProc16 getSampleProc16() const { return fSampleProc16; } 117 SampleProc16 getSampleProc16() const { return fSampleProc16; }
118 118
119 private: 119 private:
120 friend class SkBitmapProcShader; 120 friend class SkBitmapProcShader;
121 friend class SkLightingShaderImpl;
121 122
122 ShaderProc32 fShaderProc32; // chooseProcs 123 ShaderProc32 fShaderProc32; // chooseProcs
123 ShaderProc16 fShaderProc16; // chooseProcs 124 ShaderProc16 fShaderProc16; // chooseProcs
124 // These are used if the shaderproc is NULL 125 // These are used if the shaderproc is NULL
125 MatrixProc fMatrixProc; // chooseProcs 126 MatrixProc fMatrixProc; // chooseProcs
126 SampleProc32 fSampleProc32; // chooseProcs 127 SampleProc32 fSampleProc32; // chooseProcs
127 SampleProc16 fSampleProc16; // chooseProcs 128 SampleProc16 fSampleProc16; // chooseProcs
128 129
129 SkBitmap fOrigBitmap; // CONSTRUCTOR 130 SkBitmap fOrigBitmap; // CONSTRUCTOR
130 131
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 void ClampX_ClampY_filter_affine(const SkBitmapProcState& s, 190 void ClampX_ClampY_filter_affine(const SkBitmapProcState& s,
190 uint32_t xy[], int count, int x, int y); 191 uint32_t xy[], int count, int x, int y);
191 void ClampX_ClampY_nofilter_affine(const SkBitmapProcState& s, 192 void ClampX_ClampY_nofilter_affine(const SkBitmapProcState& s,
192 uint32_t xy[], int count, int x, int y); 193 uint32_t xy[], int count, int x, int y);
193 void S32_D16_filter_DX(const SkBitmapProcState& s, 194 void S32_D16_filter_DX(const SkBitmapProcState& s,
194 const uint32_t* xy, int count, uint16_t* colors); 195 const uint32_t* xy, int count, uint16_t* colors);
195 void S32_D16_filter_DXDY(const SkBitmapProcState& s, 196 void S32_D16_filter_DXDY(const SkBitmapProcState& s,
196 const uint32_t* xy, int count, uint16_t* colors); 197 const uint32_t* xy, int count, uint16_t* colors);
197 198
198 #endif 199 #endif
OLDNEW
« no previous file with comments | « src/core/SkBitmapProcShader.cpp ('k') | src/effects/SkLightingShader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698