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
mock
GrMockTypesPriv.h
Go to the documentation of this file.
1
/*
2
* Copyright 2021 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 GrMockTypesPriv_DEFINED
9
#define GrMockTypesPriv_DEFINED
10
11
#include "
include/core/SkTextureCompressionType.h
"
12
#include "
include/gpu/GrTypes.h
"
13
#include "
include/gpu/mock/GrMockTypes.h
"
14
#include "
include/private/gpu/ganesh/GrTypesPriv.h
"
15
16
#include <cstdint>
17
18
struct
GrMockTextureSpec
{
19
GrMockTextureSpec
()
20
:
fColorType
(
GrColorType
::
kUnknown
)
21
,
fCompressionType
(
SkTextureCompressionType
::
kNone
) {}
22
GrMockTextureSpec
(
const
GrMockSurfaceInfo
&
info
)
23
:
fColorType
(
info
.
fColorType
)
24
,
fCompressionType
(
info
.
fCompressionType
) {}
25
26
GrColorType
fColorType
=
GrColorType::kUnknown
;
27
SkTextureCompressionType
fCompressionType
=
SkTextureCompressionType::kNone
;
28
};
29
30
GrMockSurfaceInfo
GrMockTextureSpecToSurfaceInfo
(
const
GrMockTextureSpec
& mockSpec,
31
uint32_t sampleCount,
32
uint32_t levelCount,
33
GrProtected
isProtected);
34
35
#endif
36
ImageMode::kNone
@ kNone
info
static void info(const char *fmt,...) SK_PRINTF_LIKE(1
Definition:
DM.cpp:213
GrGLFormat::kUnknown
@ kUnknown
GrMockTextureSpecToSurfaceInfo
GrMockSurfaceInfo GrMockTextureSpecToSurfaceInfo(const GrMockTextureSpec &mockSpec, uint32_t sampleCount, uint32_t levelCount, GrProtected isProtected)
Definition:
GrMockTypes.cpp:23
GrMockTypes.h
GrTypesPriv.h
GrColorType
GrColorType
Definition:
GrTypesPriv.h:540
GrColorType::kUnknown
@ kUnknown
GrTypes.h
SkTextureCompressionType.h
SkTextureCompressionType
SkTextureCompressionType
Definition:
SkTextureCompressionType.h:20
SkTextureCompressionType::kNone
@ kNone
skgpu::Protected
Protected
Definition:
GpuTypes.h:61
GrMockSurfaceInfo
Definition:
GrMockTypes.h:101
GrMockTextureSpec
Definition:
GrMockTypesPriv.h:18
GrMockTextureSpec::fColorType
GrColorType fColorType
Definition:
GrMockTypesPriv.h:26
GrMockTextureSpec::GrMockTextureSpec
GrMockTextureSpec(const GrMockSurfaceInfo &info)
Definition:
GrMockTypesPriv.h:22
GrMockTextureSpec::GrMockTextureSpec
GrMockTextureSpec()
Definition:
GrMockTypesPriv.h:19
GrMockTextureSpec::fCompressionType
SkTextureCompressionType fCompressionType
Definition:
GrMockTypesPriv.h:27
Generated on Sun Jun 23 2024 21:56:22 for Flutter Engine by
1.9.4