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

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

Issue 1102363006: Revert of De-proc Color32 (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 5 years, 7 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;
129 130
130 private: 131 private:
131 unsigned fSrcA, fSrcR, fSrcG, fSrcB; 132 unsigned fSrcA, fSrcR, fSrcG, fSrcB;
132 133
133 // illegal 134 // illegal
134 SkARGB32_Blitter& operator=(const SkARGB32_Blitter&); 135 SkARGB32_Blitter& operator=(const SkARGB32_Blitter&);
135 136
136 typedef SkRasterBlitter INHERITED; 137 typedef SkRasterBlitter INHERITED;
137 }; 138 };
138 139
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 199
199 These pre-conditions must be handled by the caller, in our case 200 These pre-conditions must be handled by the caller, in our case
200 SkBlitter::Choose(...) 201 SkBlitter::Choose(...)
201 */ 202 */
202 203
203 SkBlitter* SkBlitter_ChooseD565(const SkBitmap& device, const SkPaint& paint, 204 SkBlitter* SkBlitter_ChooseD565(const SkBitmap& device, const SkPaint& paint,
204 SkShader::Context* shaderContext, 205 SkShader::Context* shaderContext,
205 SkTBlitterAllocator* allocator); 206 SkTBlitterAllocator* allocator);
206 207
207 #endif 208 #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