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

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

Issue 1104183004: De-proc Color32 (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: duh Created 5 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/SkBlitter_ARGB32.cpp ('k') | src/effects/SkColorFilters.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 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 virtual void blitV(int x, int y, int height, SkAlpha alpha); 119 virtual void blitV(int x, int y, int height, SkAlpha alpha);
120 virtual void blitRect(int x, int y, int width, int height); 120 virtual void blitRect(int x, int y, int width, int height);
121 virtual void blitMask(const SkMask&, const SkIRect&); 121 virtual void blitMask(const SkMask&, const SkIRect&);
122 virtual const SkBitmap* justAnOpaqueColor(uint32_t*); 122 virtual const SkBitmap* justAnOpaqueColor(uint32_t*);
123 void blitAntiH2(int x, int y, U8CPU a0, U8CPU a1) override; 123 void blitAntiH2(int x, int y, U8CPU a0, U8CPU a1) override;
124 void blitAntiV2(int x, int y, U8CPU a0, U8CPU a1) override; 124 void blitAntiV2(int x, int y, U8CPU a0, U8CPU a1) override;
125 125
126 protected: 126 protected:
127 SkColor fColor; 127 SkColor fColor;
128 SkPMColor fPMColor; 128 SkPMColor fPMColor;
129 SkBlitRow::ColorProc fColor32Proc;
130 129
131 private: 130 private:
132 unsigned fSrcA, fSrcR, fSrcG, fSrcB; 131 unsigned fSrcA, fSrcR, fSrcG, fSrcB;
133 132
134 // illegal 133 // illegal
135 SkARGB32_Blitter& operator=(const SkARGB32_Blitter&); 134 SkARGB32_Blitter& operator=(const SkARGB32_Blitter&);
136 135
137 typedef SkRasterBlitter INHERITED; 136 typedef SkRasterBlitter INHERITED;
138 }; 137 };
139 138
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 198
200 These pre-conditions must be handled by the caller, in our case 199 These pre-conditions must be handled by the caller, in our case
201 SkBlitter::Choose(...) 200 SkBlitter::Choose(...)
202 */ 201 */
203 202
204 SkBlitter* SkBlitter_ChooseD565(const SkBitmap& device, const SkPaint& paint, 203 SkBlitter* SkBlitter_ChooseD565(const SkBitmap& device, const SkPaint& paint,
205 SkShader::Context* shaderContext, 204 SkShader::Context* shaderContext,
206 SkTBlitterAllocator* allocator); 205 SkTBlitterAllocator* allocator);
207 206
208 #endif 207 #endif
OLDNEW
« no previous file with comments | « src/core/SkBlitter_ARGB32.cpp ('k') | src/effects/SkColorFilters.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698