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
vk
GrVkManagedResource.h
Go to the documentation of this file.
1
/*
2
* Copyright 2020 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 GrVkManagedResource_DEFINED
9
#define GrVkManagedResource_DEFINED
10
11
#include "
src/gpu/ganesh/GrManagedResource.h
"
12
13
class
GrVkGpu
;
14
15
class
GrVkManagedResource
:
public
GrManagedResource
{
16
public
:
17
GrVkManagedResource
(
const
GrVkGpu
* gpu) :
fGpu
(gpu) {}
18
19
protected
:
20
const
GrVkGpu
*
fGpu
;
// pointer to gpu object that can be used
21
// in subclass's freeGPUData()
22
23
private
:
24
using
INHERITED
=
GrManagedResource
;
25
};
26
27
class
GrVkRecycledResource
:
public
GrRecycledResource
{
28
public
:
29
GrVkRecycledResource
(
GrVkGpu
* gpu) :
fGpu
(gpu) {}
30
31
protected
:
32
GrVkGpu
*
fGpu
;
// pointer to gpu object that can be used
33
// in subclass's freeGPUData() and onRecycle().
34
// mustn't be const
35
};
36
37
#endif
GrManagedResource.h
GrManagedResource
Definition:
GrManagedResource.h:39
GrManagedResource::GrManagedResource
GrManagedResource()
Definition:
GrManagedResource.h:80
GrRecycledResource
Definition:
GrManagedResource.h:194
GrVkGpu
Definition:
GrVkGpu.h:42
GrVkManagedResource
Definition:
GrVkManagedResource.h:15
GrVkManagedResource::fGpu
const GrVkGpu * fGpu
Definition:
GrVkManagedResource.h:20
GrVkManagedResource::GrVkManagedResource
GrVkManagedResource(const GrVkGpu *gpu)
Definition:
GrVkManagedResource.h:17
GrVkRecycledResource
Definition:
GrVkManagedResource.h:27
GrVkRecycledResource::GrVkRecycledResource
GrVkRecycledResource(GrVkGpu *gpu)
Definition:
GrVkManagedResource.h:29
GrVkRecycledResource::fGpu
GrVkGpu * fGpu
Definition:
GrVkManagedResource.h:32
SkNoncopyable
Definition:
SkNoncopyable.h:18
Generated on Sun Jun 23 2024 21:56:25 for Flutter Engine by
1.9.4