Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 #ifndef SkBlitRow_DEFINED | |
| 2 #define SkBlitRow_DEFINED | |
| 3 | |
| 4 #include "SkBitmap.h" | |
| 5 #include "SkColor.h" | |
| 6 | |
| 7 class SkBlitRow { | |
| 8 public: | |
| 9 enum { | |
| 10 kGlobalAlpha_Flag = 0x01, | |
| 11 kSrcPixelAlpha_Flag = 0x02, | |
| 12 kDither_Flag = 0x04 | |
| 13 }; | |
| 14 | |
| 15 typedef void (*Proc)(uint16_t* SK_RESTRICT dst, | |
| 16 const SkPMColor* SK_RESTRICT src, | |
| 17 int count, U8CPU alpha, int x, int y); | |
| 18 | |
| 19 static Proc Factory(unsigned flags, SkBitmap::Config); | |
| 20 }; | |
| 21 | |
| 22 #endif | |
| OLD | NEW |