OLD | NEW |
| (Empty) |
1 /* | |
2 * Copyright 2016 Google Inc. | |
3 * | |
4 * Use of this source code is governed by a BSD-style license that can be | |
5 * found in the LICENSE file. | |
6 */ | |
7 | |
8 #ifndef SkXfermodePriv_DEFINED | |
9 #define SkXfermodePriv_DEFINED | |
10 | |
11 #include "SkXfermode.h" | |
12 | |
13 enum SkXfef4fFlags { | |
14 kSrcIsOpaque_SkXfer4fFlag = 1 << 0, | |
15 kDstIsSRGB_SkXfer4fFlag = 1 << 1, | |
16 }; | |
17 | |
18 typedef void (*SkPM4fXfer1Proc)(uint32_t dst[], const SkPM4f& src, int count); | |
19 typedef void (*SkPM4fXferNProc)(uint32_t dst[], const SkPM4f src[], int count); | |
20 | |
21 SkPM4fXfer1Proc SkPM4fXfer1ProcFactory(SkXfermode::Mode, uint32_t flags); | |
22 SkPM4fXferNProc SkPM4fXferNProcFactory(SkXfermode::Mode, uint32_t flags); | |
23 | |
24 #endif | |
OLD | NEW |