Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
GrCustomXfermode.h
Go to the documentation of this file.
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
11class GrXPFactory;
12enum class SkBlendMode;
13
14/**
15 * Custom Xfer modes are used for blending when the blend mode cannot be represented using blend
16 * coefficients.
17 */
20 const GrXPFactory* Get(SkBlendMode mode);
21} // namespace GrCustomXfermode
22
23#endif
SkBlendMode
Definition SkBlendMode.h:38
bool IsSupportedMode(SkBlendMode mode)
const GrXPFactory * Get(SkBlendMode mode)