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