| 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 virtual void blitAntiH(int x, int y, const SkAlpha antialias[], const int16_
t runs[]); | 118 virtual void blitAntiH(int x, int y, const SkAlpha antialias[], const int16_
t runs[]); |
| 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 | 123 |
| 124 protected: | 124 protected: |
| 125 SkColor fColor; | 125 SkColor fColor; |
| 126 SkPMColor fPMColor; | 126 SkPMColor fPMColor; |
| 127 SkBlitRow::ColorProc fColor32Proc; | 127 SkBlitRow::ColorProc fColor32Proc; |
| 128 SkBlitRow::ColorRectProc fColorRect32Proc; | |
| 129 | 128 |
| 130 private: | 129 private: |
| 131 unsigned fSrcA, fSrcR, fSrcG, fSrcB; | 130 unsigned fSrcA, fSrcR, fSrcG, fSrcB; |
| 132 | 131 |
| 133 // illegal | 132 // illegal |
| 134 SkARGB32_Blitter& operator=(const SkARGB32_Blitter&); | 133 SkARGB32_Blitter& operator=(const SkARGB32_Blitter&); |
| 135 | 134 |
| 136 typedef SkRasterBlitter INHERITED; | 135 typedef SkRasterBlitter INHERITED; |
| 137 }; | 136 }; |
| 138 | 137 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 | 193 |
| 195 These pre-conditions must be handled by the caller, in our case | 194 These pre-conditions must be handled by the caller, in our case |
| 196 SkBlitter::Choose(...) | 195 SkBlitter::Choose(...) |
| 197 */ | 196 */ |
| 198 | 197 |
| 199 SkBlitter* SkBlitter_ChooseD565(const SkBitmap& device, const SkPaint& paint, | 198 SkBlitter* SkBlitter_ChooseD565(const SkBitmap& device, const SkPaint& paint, |
| 200 SkShader::Context* shaderContext, | 199 SkShader::Context* shaderContext, |
| 201 SkTBlitterAllocator* allocator); | 200 SkTBlitterAllocator* allocator); |
| 202 | 201 |
| 203 #endif | 202 #endif |
| OLD | NEW |