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
image
SkSpecialImage_Ganesh.h
Go to the documentation of this file.
1
/*
2
* Copyright 2019 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 SkSpecialImageGanesh_DEFINED
9
#define SkSpecialImageGanesh_DEFINED
10
11
#include "
include/core/SkRefCnt.h
"
12
#include "
src/gpu/ganesh/GrColorInfo.h
"
13
#include "
src/gpu/ganesh/GrSurfaceProxyView.h
"
14
15
#include <cstdint>
16
17
class
GrRecordingContext
;
18
class
SkImage
;
19
class
SkSpecialImage
;
20
class
SkSurfaceProps
;
21
struct
SkIRect
;
22
23
namespace
SkSpecialImages
{
24
25
sk_sp<SkSpecialImage>
MakeFromTextureImage
(
GrRecordingContext
* rContext,
26
const
SkIRect
& subset,
27
sk_sp<SkImage>
image
,
28
const
SkSurfaceProps
& props);
29
30
sk_sp<SkSpecialImage>
MakeDeferredFromGpu
(
GrRecordingContext
*,
31
const
SkIRect
& subset,
32
uint32_t uniqueID,
33
GrSurfaceProxyView
,
34
const
GrColorInfo
&,
35
const
SkSurfaceProps
&);
36
37
/**
38
* Regardless of how the underlying backing data is stored, returns the contents as a
39
* GrSurfaceProxyView. The returned view's proxy represents the entire backing image, so texture
40
* coordinates must be mapped from the content rect (e.g. relative to 'subset()') to the proxy's
41
* space (offset by subset().topLeft()).
42
*/
43
GrSurfaceProxyView
AsView
(
GrRecordingContext
*,
const
SkSpecialImage
*);
44
inline
GrSurfaceProxyView
AsView
(
GrRecordingContext
* rContext,
45
const
sk_sp<const SkSpecialImage>
& img) {
46
return
AsView
(rContext, img.
get
());
47
}
48
49
}
// namespace SkSpecialImages
50
51
#endif
GrColorInfo.h
GrSurfaceProxyView.h
SkRefCnt.h
GrColorInfo
Definition:
GrColorInfo.h:21
GrRecordingContext
Definition:
GrRecordingContext.h:42
GrSurfaceProxyView
Definition:
GrSurfaceProxyView.h:34
SkImage
Definition:
SkImage.h:272
SkSpecialImage
Definition:
SkSpecialImage.h:49
SkSurfaceProps
Definition:
SkSurfaceProps.h:53
sk_sp< SkSpecialImage >
sk_sp::get
T * get() const
Definition:
SkRefCnt.h:303
SkRecords::image
sk_sp< const SkImage > image
Definition:
SkRecords.h:269
SkSpecialImages
Definition:
SkSpecialImage.cpp:126
SkSpecialImages::AsView
GrSurfaceProxyView AsView(GrRecordingContext *context, const SkSpecialImage *img)
Definition:
SkSpecialImage_Ganesh.cpp:115
SkSpecialImages::MakeFromTextureImage
sk_sp< SkSpecialImage > MakeFromTextureImage(GrRecordingContext *rContext, const SkIRect &subset, sk_sp< SkImage > image, const SkSurfaceProps &props)
Definition:
SkSpecialImage_Ganesh.cpp:73
SkSpecialImages::MakeDeferredFromGpu
sk_sp< SkSpecialImage > MakeDeferredFromGpu(GrRecordingContext *context, const SkIRect &subset, uint32_t uniqueID, GrSurfaceProxyView view, const GrColorInfo &colorInfo, const SkSurfaceProps &props)
Definition:
SkSpecialImage_Ganesh.cpp:93
SkIRect
Definition:
SkRect.h:32
Generated on Sun Jun 23 2024 21:56:22 for Flutter Engine by
1.9.4