Flutter Engine
The Flutter Engine
third_party
skia
src
gpu
ganesh
effects
GrOvalEffect.h
Go to the documentation of this file.
1
/*
2
* Copyright 2014 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 GrOvalEffect_DEFINED
9
#define GrOvalEffect_DEFINED
10
11
#include "
src/gpu/ganesh/GrFragmentProcessor.h
"
12
13
#include <memory>
14
15
enum class
GrClipEdgeType
;
16
struct
GrShaderCaps
;
17
struct
SkRect
;
18
19
namespace
GrOvalEffect
{
20
21
/**
22
* Creates an effect that performs clipping against an oval.
23
*/
24
GrFPResult
Make
(std::unique_ptr<GrFragmentProcessor>,
GrClipEdgeType
,
const
SkRect
&,
25
const
GrShaderCaps
&);
26
}
// namespace GrOvalEffect
27
28
#endif
GrFragmentProcessor.h
GrFPResult
std::tuple< bool, std::unique_ptr< GrFragmentProcessor > > GrFPResult
Definition:
GrFragmentProcessor.h:39
GrClipEdgeType
GrClipEdgeType
Definition:
GrTypesPriv.h:361
GrOvalEffect
Definition:
GrOvalEffect.h:19
GrOvalEffect::Make
GrFPResult Make(std::unique_ptr< GrFragmentProcessor >, GrClipEdgeType, const SkRect &, const GrShaderCaps &)
Definition:
GrOvalEffect.cpp:19
GrShaderCaps
Definition:
GrShaderCaps.h:17
SkRect
Definition:
extension.cpp:13
Generated on Sun Jun 23 2024 21:56:18 for Flutter Engine by
1.9.4