Debian Codegraph @

src/gpu/ganesh/effects/GrCustomXfermode.h

raw
1 /*
2 * Copyright 2015 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 GrCustomXfermode_DEFINED
9 #define GrCustomXfermode_DEFINED
10
11 class GrXPFactory;
12 enum class SkBlendMode;
13
14 /**
15 * Custom Xfer modes are used for blending when the blend mode cannot be represented using blend
16 * coefficients.
17 */
18 namespace GrCustomXfermode {
19 bool IsSupportedMode(SkBlendMode mode);
20 const GrXPFactory* Get(SkBlendMode mode);
21 } // namespace GrCustomXfermode
22
23 #endif