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
core
SkYUVPlanesCache.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 SkYUVPlanesCache_DEFINED
9
#define SkYUVPlanesCache_DEFINED
10
11
#include "
include/core/SkTypes.h
"
12
13
#include <cstdint>
14
15
class
SkCachedData
;
16
class
SkResourceCache
;
17
class
SkYUVAPixmaps
;
18
19
class
SkYUVPlanesCache
{
20
public
:
21
/**
22
* On success, return a ref to the SkCachedData that holds the pixel data. The SkYUVAPixmaps
23
* contains a description of the YUVA data and has a SkPixmap for each plane that points
24
* into the SkCachedData.
25
*
26
* On failure, return nullptr.
27
*/
28
static
SkCachedData
*
FindAndRef
(uint32_t genID,
29
SkYUVAPixmaps
* pixmaps,
30
SkResourceCache
* localCache =
nullptr
);
31
32
/**
33
* Add a pixelRef ID and its YUV planes data to the cache. The SkYUVAPixmaps should contain
34
* SkPixmaps that store their pixel data in the SkCachedData.
35
*/
36
static
void
Add
(uint32_t genID,
SkCachedData
*
data
,
const
SkYUVAPixmaps
& pixmaps,
37
SkResourceCache
* localCache =
nullptr
);
38
};
39
40
#endif
SkTypes.h
SkCachedData
Definition:
SkCachedData.h:19
SkResourceCache
Definition:
SkResourceCache.h:31
SkYUVAPixmaps
Definition:
SkYUVAPixmaps.h:172
SkYUVPlanesCache
Definition:
SkYUVPlanesCache.h:19
SkYUVPlanesCache::Add
static void Add(uint32_t genID, SkCachedData *data, const SkYUVAPixmaps &pixmaps, SkResourceCache *localCache=nullptr)
Definition:
SkYUVPlanesCache.cpp:93
SkYUVPlanesCache::FindAndRef
static SkCachedData * FindAndRef(uint32_t genID, SkYUVAPixmaps *pixmaps, SkResourceCache *localCache=nullptr)
Definition:
SkYUVPlanesCache.cpp:80
data
std::shared_ptr< const fml::Mapping > data
Definition:
texture_gles.cc:63
Generated on Sun Jun 23 2024 21:56:16 for Flutter Engine by
1.9.4