Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
third_party
skia
src
gpu
ganesh
effects
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
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
SkBlendMode
SkBlendMode
Definition
SkBlendMode.h:38
GrXPFactory
Definition
GrXferProcessor.h:202
GrCustomXfermode
Definition
GrCustomXfermode.h:18
GrCustomXfermode::IsSupportedMode
bool IsSupportedMode(SkBlendMode mode)
Definition
GrCustomXfermode.cpp:31
GrCustomXfermode::Get
const GrXPFactory * Get(SkBlendMode mode)
Definition
GrCustomXfermode.cpp:379
Generated on Fri Apr 26 2024 06:16:58 for Flutter Engine by
1.9.8