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 SkSpriteBlitter_DEFINED | 8 #ifndef SkSpriteBlitter_DEFINED |
9 #define SkSpriteBlitter_DEFINED | 9 #define SkSpriteBlitter_DEFINED |
10 | 10 |
(...skipping 12 matching lines...) Expand all Loading... |
23 | 23 |
24 #ifdef SK_DEBUG | 24 #ifdef SK_DEBUG |
25 void blitH(int x, int y, int width) override; | 25 void blitH(int x, int y, int width) override; |
26 void blitAntiH(int x, int y, const SkAlpha antialias[], const int16_t runs[]
) override; | 26 void blitAntiH(int x, int y, const SkAlpha antialias[], const int16_t runs[]
) override; |
27 void blitV(int x, int y, int height, SkAlpha alpha) override; | 27 void blitV(int x, int y, int height, SkAlpha alpha) override; |
28 void blitMask(const SkMask&, const SkIRect& clip) override; | 28 void blitMask(const SkMask&, const SkIRect& clip) override; |
29 #endif | 29 #endif |
30 | 30 |
31 static SkSpriteBlitter* ChooseD16(const SkPixmap& source, const SkPaint&, Sk
TBlitterAllocator*); | 31 static SkSpriteBlitter* ChooseD16(const SkPixmap& source, const SkPaint&, Sk
TBlitterAllocator*); |
32 static SkSpriteBlitter* ChooseD32(const SkPixmap& source, const SkPaint&, Sk
TBlitterAllocator*); | 32 static SkSpriteBlitter* ChooseD32(const SkPixmap& source, const SkPaint&, Sk
TBlitterAllocator*); |
| 33 static SkSpriteBlitter* ChooseD64(const SkPixmap& source, const SkPaint&, Sk
TBlitterAllocator*); |
33 | 34 |
34 protected: | 35 protected: |
35 SkPixmap fDst; | 36 SkPixmap fDst; |
36 const SkPixmap fSource; | 37 const SkPixmap fSource; |
37 int fLeft, fTop; | 38 int fLeft, fTop; |
38 const SkPaint* fPaint; | 39 const SkPaint* fPaint; |
39 }; | 40 }; |
40 | 41 |
41 #endif | 42 #endif |
OLD | NEW |