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
graphite
ComputePipeline.h
Go to the documentation of this file.
1
/*
2
* Copyright 2022 Google LLC
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 skgpu_graphite_ComputePipeline_DEFINED
9
#define skgpu_graphite_ComputePipeline_DEFINED
10
11
#include "
src/gpu/graphite/Resource.h
"
12
13
namespace
skgpu::graphite
{
14
15
class
SharedContext;
16
17
/**
18
* ComputePipeline corresponds to a backend specific pipeline used for compute (vs rendering),
19
* e.g. MTLComputePipelineState (Metal),
20
* CreateComputePipeline (Dawn),
21
* CreateComputePipelineState (D3D12),
22
* or VkComputePipelineCreateInfo (Vulkan).
23
*/
24
class
ComputePipeline
:
public
Resource
{
25
public
:
26
~ComputePipeline
()
override
=
default
;
27
28
// TODO(b/240615224): The pipeline should return an optional effective local workgroup
29
// size if the value was statically assigned in the shader (when it's not possible to assign
30
// them via specialization constants).
31
32
const
char
*
getResourceType
()
const override
{
return
"Compute Pipeline"
; }
33
34
protected
:
35
explicit
ComputePipeline
(
const
SharedContext
*);
36
};
37
38
}
// namespace skgpu::graphite
39
40
#endif
// skgpu_graphite_ComputePipeline_DEFINED
Resource.h
skgpu::graphite::ComputePipeline
Definition:
ComputePipeline.h:24
skgpu::graphite::ComputePipeline::getResourceType
const char * getResourceType() const override
Definition:
ComputePipeline.h:32
skgpu::graphite::ComputePipeline::ComputePipeline
ComputePipeline(const SharedContext *)
Definition:
ComputePipeline.cpp:12
skgpu::graphite::ComputePipeline::~ComputePipeline
~ComputePipeline() override=default
skgpu::graphite::Resource
Definition:
Resource.h:37
skgpu::graphite::SharedContext
Definition:
SharedContext.h:32
skgpu::graphite
Definition:
BoundsManagerBench.cpp:27
Generated on Sun Jun 23 2024 21:56:25 for Flutter Engine by
1.9.4