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
SkMipmapBuilder.h
Go to the documentation of this file.
1
/*
2
* Copyright 2020 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 SkMipmapBuilder_DEFINED
9
#define SkMipmapBuilder_DEFINED
10
11
#include "
include/core/SkRefCnt.h
"
12
13
class
SkImage
;
14
class
SkMipmap
;
15
class
SkPixmap
;
16
struct
SkImageInfo
;
17
18
class
SkMipmapBuilder
{
19
public
:
20
SkMipmapBuilder
(
const
SkImageInfo
&);
21
~SkMipmapBuilder
();
22
23
int
countLevels
()
const
;
24
SkPixmap
level
(
int
index)
const
;
25
26
/**
27
* If these levels are compatible with src, return a new Image that combines src's base level
28
* with these levels as mip levels. If not compatible, this returns nullptr.
29
*/
30
sk_sp<SkImage>
attachTo
(
const
sk_sp<const SkImage>
&
src
);
31
32
private
:
33
sk_sp<SkMipmap>
fMM;
34
};
35
36
#endif
SkRefCnt.h
SkImage
Definition:
SkImage.h:272
SkMipmapBuilder
Definition:
SkMipmapBuilder.h:18
SkMipmapBuilder::~SkMipmapBuilder
~SkMipmapBuilder()
Definition:
SkMipmapBuilder.cpp:21
SkMipmapBuilder::countLevels
int countLevels() const
Definition:
SkMipmapBuilder.cpp:23
SkMipmapBuilder::attachTo
sk_sp< SkImage > attachTo(const sk_sp< const SkImage > &src)
Definition:
SkMipmapBuilder.cpp:37
SkMipmapBuilder::level
SkPixmap level(int index) const
Definition:
SkMipmapBuilder.cpp:27
SkMipmapBuilder::SkMipmapBuilder
SkMipmapBuilder(const SkImageInfo &)
Definition:
SkMipmapBuilder.cpp:15
SkMipmap
Definition:
SkMipmap.h:39
SkPixmap
Definition:
SkPixmap.h:40
sk_sp< SkImage >
mskp_parser.src
src
Definition:
mskp_parser.py:22
SkImageInfo
Definition:
SkImageInfo.h:208
Generated on Sun Jun 23 2024 21:56:13 for Flutter Engine by
1.9.4