OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |