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

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

Issue 1842753002: Style bikeshed - remove extraneous whitespace (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 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/SkConfig8888.cpp ('k') | src/core/SkCubicClipper.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 2006 The Android Open Source Project 2 * Copyright 2006 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 SkCoreBlitters_DEFINED 8 #ifndef SkCoreBlitters_DEFINED
9 #define SkCoreBlitters_DEFINED 9 #define SkCoreBlitters_DEFINED
10 10
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 class SkARGB32_Shader_Blitter : public SkShaderBlitter { 164 class SkARGB32_Shader_Blitter : public SkShaderBlitter {
165 public: 165 public:
166 SkARGB32_Shader_Blitter(const SkPixmap& device, const SkPaint& paint, 166 SkARGB32_Shader_Blitter(const SkPixmap& device, const SkPaint& paint,
167 SkShader::Context* shaderContext); 167 SkShader::Context* shaderContext);
168 virtual ~SkARGB32_Shader_Blitter(); 168 virtual ~SkARGB32_Shader_Blitter();
169 void blitH(int x, int y, int width) override; 169 void blitH(int x, int y, int width) override;
170 void blitV(int x, int y, int height, SkAlpha alpha) override; 170 void blitV(int x, int y, int height, SkAlpha alpha) override;
171 void blitRect(int x, int y, int width, int height) override; 171 void blitRect(int x, int y, int width, int height) override;
172 void blitAntiH(int x, int y, const SkAlpha[], const int16_t[]) override; 172 void blitAntiH(int x, int y, const SkAlpha[], const int16_t[]) override;
173 void blitMask(const SkMask&, const SkIRect&) override; 173 void blitMask(const SkMask&, const SkIRect&) override;
174 174
175 private: 175 private:
176 SkXfermode* fXfermode; 176 SkXfermode* fXfermode;
177 SkPMColor* fBuffer; 177 SkPMColor* fBuffer;
178 SkBlitRow::Proc32 fProc32; 178 SkBlitRow::Proc32 fProc32;
179 SkBlitRow::Proc32 fProc32Blend; 179 SkBlitRow::Proc32 fProc32Blend;
180 bool fShadeDirectlyIntoDevice; 180 bool fShadeDirectlyIntoDevice;
181 181
182 // illegal 182 // illegal
183 SkARGB32_Shader_Blitter& operator=(const SkARGB32_Shader_Blitter&); 183 SkARGB32_Shader_Blitter& operator=(const SkARGB32_Shader_Blitter&);
184 184
185 typedef SkShaderBlitter INHERITED; 185 typedef SkShaderBlitter INHERITED;
186 }; 186 };
187 187
188 SkBlitter* SkBlitter_ARGB32_Create(const SkPixmap& device, const SkPaint& paint, 188 SkBlitter* SkBlitter_ARGB32_Create(const SkPixmap& device, const SkPaint& paint,
189 SkShader::Context* shaderContext, 189 SkShader::Context* shaderContext,
190 SkTBlitterAllocator* allocator); 190 SkTBlitterAllocator* allocator);
191 191
192 SkBlitter* SkBlitter_ARGB64_Create(const SkPixmap& device, const SkPaint& paint, 192 SkBlitter* SkBlitter_ARGB64_Create(const SkPixmap& device, const SkPaint& paint,
193 SkShader::Context* shaderContext, 193 SkShader::Context* shaderContext,
194 SkTBlitterAllocator* allocator); 194 SkTBlitterAllocator* allocator);
(...skipping 11 matching lines...) Expand all
206 206
207 These pre-conditions must be handled by the caller, in our case 207 These pre-conditions must be handled by the caller, in our case
208 SkBlitter::Choose(...) 208 SkBlitter::Choose(...)
209 */ 209 */
210 210
211 SkBlitter* SkBlitter_ChooseD565(const SkPixmap& device, const SkPaint& paint, 211 SkBlitter* SkBlitter_ChooseD565(const SkPixmap& device, const SkPaint& paint,
212 SkShader::Context* shaderContext, 212 SkShader::Context* shaderContext,
213 SkTBlitterAllocator* allocator); 213 SkTBlitterAllocator* allocator);
214 214
215 #endif 215 #endif
OLDNEW
« no previous file with comments | « src/core/SkConfig8888.cpp ('k') | src/core/SkCubicClipper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698