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
d3d
GrD3DTypesPriv.h
Go to the documentation of this file.
1
/*
2
* Copyright 2020 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 GrD3DTypesPriv_DEFINED
9
#define GrD3DTypesPriv_DEFINED
10
11
#include "
include/gpu/d3d/GrD3DTypes.h
"
12
13
struct
GrD3DTextureResourceSpec
{
14
GrD3DTextureResourceSpec
()
15
:
fFormat
(DXGI_FORMAT_UNKNOWN)
16
,
fSampleQualityPattern
(DXGI_STANDARD_MULTISAMPLE_QUALITY_PATTERN) {}
17
18
GrD3DTextureResourceSpec
(
const
GrD3DSurfaceInfo
&
info
)
19
:
fFormat
(
info
.
fFormat
),
fSampleQualityPattern
(
info
.
fSampleQualityPattern
) {}
20
21
DXGI_FORMAT
fFormat
;
22
unsigned
int
fSampleQualityPattern
;
23
};
24
25
GrD3DSurfaceInfo
GrD3DTextureResourceSpecToSurfaceInfo
(
const
GrD3DTextureResourceSpec
& d3dSpec,
26
uint32_t sampleCount,
27
uint32_t levelCount,
28
skgpu::Protected
isProtected);
29
30
#endif
info
static void info(const char *fmt,...) SK_PRINTF_LIKE(1
Definition:
DM.cpp:213
GrD3DTextureResourceSpecToSurfaceInfo
GrD3DSurfaceInfo GrD3DTextureResourceSpecToSurfaceInfo(const GrD3DTextureResourceSpec &d3dSpec, uint32_t sampleCount, uint32_t levelCount, skgpu::Protected isProtected)
Definition:
GrD3DTypesPriv.cpp:10
GrD3DTypes.h
skgpu::Protected
Protected
Definition:
GpuTypes.h:61
GrD3DSurfaceInfo
Definition:
GrD3DTypes.h:239
GrD3DTextureResourceSpec
Definition:
GrD3DTypesPriv.h:13
GrD3DTextureResourceSpec::fFormat
DXGI_FORMAT fFormat
Definition:
GrD3DTypesPriv.h:21
GrD3DTextureResourceSpec::GrD3DTextureResourceSpec
GrD3DTextureResourceSpec(const GrD3DSurfaceInfo &info)
Definition:
GrD3DTypesPriv.h:18
GrD3DTextureResourceSpec::fSampleQualityPattern
unsigned int fSampleQualityPattern
Definition:
GrD3DTypesPriv.h:22
GrD3DTextureResourceSpec::GrD3DTextureResourceSpec
GrD3DTextureResourceSpec()
Definition:
GrD3DTypesPriv.h:14
Generated on Sun Jun 23 2024 21:56:17 for Flutter Engine by
1.9.4