Flutter Engine
The Flutter Engine
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Properties
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Related Functions
:
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
y
Enumerator
b
c
d
e
f
g
h
k
l
m
n
p
r
s
t
u
v
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
third_party
skia
src
gpu
ganesh
ops
TriangulatingPathRenderer.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 TriangulatingPathRenderer_DEFINED
9
#define TriangulatingPathRenderer_DEFINED
10
11
#if !defined(SK_ENABLE_OPTIMIZE_SIZE)
12
13
#include "
src/gpu/ganesh/PathRenderer.h
"
14
15
namespace
skgpu::ganesh
{
16
17
/**
18
* Subclass that renders the path by converting to screen-space trapezoids plus
19
* extra 1-pixel geometry for AA.
20
*/
21
class
TriangulatingPathRenderer
final :
public
PathRenderer
{
22
public
:
23
TriangulatingPathRenderer
();
24
#if defined(GR_TEST_UTILS)
25
void
setMaxVerbCount(
int
maxVerbCount) { fMaxVerbCount = maxVerbCount; }
26
#endif
27
28
const
char
*
name
()
const override
{
return
"Triangulating"
; }
29
30
private
:
31
CanDrawPath
onCanDrawPath(
const
CanDrawPathArgs&)
const override
;
32
33
StencilSupport
onGetStencilSupport(
const
GrStyledShape
&)
const override
{
34
return
kNoSupport_StencilSupport
;
35
}
36
37
bool
onDrawPath(
const
DrawPathArgs&)
override
;
38
39
int
fMaxVerbCount;
40
};
41
42
}
// namespace skgpu::ganesh
43
44
#endif
// SK_ENABLE_OPTIMIZE_SIZE
45
46
#endif
// TriangulatingPathRenderer_DEFINED
PathRenderer.h
GrStyledShape
Definition:
GrStyledShape.h:49
skgpu::ganesh::PathRenderer
Definition:
PathRenderer.h:36
skgpu::ganesh::PathRenderer::StencilSupport
StencilSupport
Definition:
PathRenderer.h:60
skgpu::ganesh::PathRenderer::kNoSupport_StencilSupport
@ kNoSupport_StencilSupport
Definition:
PathRenderer.h:61
skgpu::ganesh::PathRenderer::CanDrawPath
CanDrawPath
Definition:
PathRenderer.h:75
skgpu::ganesh::TriangulatingPathRenderer
Definition:
TriangulatingPathRenderer.h:21
skgpu::ganesh::TriangulatingPathRenderer::TriangulatingPathRenderer
TriangulatingPathRenderer()
Definition:
TriangulatingPathRenderer.cpp:582
skgpu::ganesh::TriangulatingPathRenderer::name
const char * name() const override
Definition:
TriangulatingPathRenderer.h:28
skgpu::ganesh
Definition:
TessellateBench.cpp:24
Generated on Sun Jun 23 2024 21:56:24 for Flutter Engine by
1.9.4