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
GrImageContext.cpp
Go to the documentation of this file.
1
/*
2
* Copyright 2019 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
#include "
include/private/gpu/ganesh/GrImageContext.h
"
8
9
#include "
include/core/SkRefCnt.h
"
10
#include "
include/gpu/GrContextThreadSafeProxy.h
"
11
#include "
src/gpu/ganesh/GrContextThreadSafeProxyPriv.h
"
12
13
#include <utility>
14
15
GrImageContext::GrImageContext
(
sk_sp<GrContextThreadSafeProxy>
proxy)
16
:
GrContext_Base
(
std
::move(proxy)) {
17
}
18
19
GrImageContext::~GrImageContext
() {}
20
21
void
GrImageContext::abandonContext
() {
22
fThreadSafeProxy
->
priv
().
abandonContext
();
23
}
24
25
bool
GrImageContext::abandoned
() {
26
return
fThreadSafeProxy
->
priv
().
abandoned
();
27
}
28
29
sk_sp<GrImageContext>
GrImageContext::MakeForPromiseImage(
sk_sp<GrContextThreadSafeProxy>
tsp) {
30
return
sk_sp<GrImageContext>
(
new
GrImageContext
(std::move(tsp)));
31
}
GrContextThreadSafeProxyPriv.h
GrContextThreadSafeProxy.h
GrImageContext.h
SkRefCnt.h
GrContextThreadSafeProxyPriv::abandonContext
void abandonContext()
Definition:
GrContextThreadSafeProxyPriv.h:47
GrContextThreadSafeProxyPriv::abandoned
bool abandoned() const
Definition:
GrContextThreadSafeProxyPriv.h:48
GrContextThreadSafeProxy::priv
GrContextThreadSafeProxyPriv priv()
Definition:
GrContextThreadSafeProxyPriv.h:66
GrContext_Base
Definition:
GrContext_Base.h:28
GrContext_Base::fThreadSafeProxy
sk_sp< GrContextThreadSafeProxy > fThreadSafeProxy
Definition:
GrContext_Base.h:98
GrImageContext::GrImageContext
GrImageContext(sk_sp< GrContextThreadSafeProxy >)
Definition:
GrImageContext.cpp:15
GrImageContext::~GrImageContext
~GrImageContext() override
Definition:
GrImageContext.cpp:19
GrImageContext::abandonContext
virtual SK_API void abandonContext()
Definition:
GrImageContext.cpp:21
GrImageContext::abandoned
virtual SK_API bool abandoned()
Definition:
GrImageContext.cpp:25
sk_sp< GrContextThreadSafeProxy >
std
Definition:
ref_ptr.h:256
Generated on Sun Jun 23 2024 21:56:20 for Flutter Engine by
1.9.4