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
include
gpu
d3d
GrD3DBackendContext.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 GrD3DBackendContext_DEFINED
9
#define GrD3DBackendContext_DEFINED
10
11
// GrD3DTypes.h includes d3d12.h, which in turn includes windows.h, which redefines many
12
// common identifiers such as:
13
// * interface
14
// * small
15
// * near
16
// * far
17
// * CreateSemaphore
18
// * MemoryBarrier
19
//
20
// You should only include GrD3DBackendContext.h if you are prepared to rename those identifiers.
21
#include "
include/gpu/d3d/GrD3DTypes.h
"
22
23
#include "
include/gpu/GrTypes.h
"
24
25
// The BackendContext contains all of the base D3D objects needed by the GrD3DGpu. The assumption
26
// is that the client will set these up and pass them to the GrD3DGpu constructor.
27
struct
SK_API
GrD3DBackendContext
{
28
gr_cp<IDXGIAdapter1>
fAdapter
;
29
gr_cp<ID3D12Device>
fDevice
;
30
gr_cp<ID3D12CommandQueue>
fQueue
;
31
sk_sp<GrD3DMemoryAllocator>
fMemoryAllocator
;
32
GrProtected
fProtectedContext =
GrProtected::kNo
;
33
};
34
35
#endif
GrD3DTypes.h
GrTypes.h
SK_API
#define SK_API
Definition:
SkAPI.h:35
gr_cp< IDXGIAdapter1 >
sk_sp< GrD3DMemoryAllocator >
skgpu::Protected
Protected
Definition:
GpuTypes.h:61
skgpu::Protected::kNo
@ kNo
GrD3DBackendContext
Definition:
GrD3DBackendContext.h:27
GrD3DBackendContext::fDevice
gr_cp< ID3D12Device > fDevice
Definition:
GrD3DBackendContext.h:29
GrD3DBackendContext::fMemoryAllocator
sk_sp< GrD3DMemoryAllocator > fMemoryAllocator
Definition:
GrD3DBackendContext.h:31
GrD3DBackendContext::fAdapter
gr_cp< IDXGIAdapter1 > fAdapter
Definition:
GrD3DBackendContext.h:28
GrD3DBackendContext::fQueue
gr_cp< ID3D12CommandQueue > fQueue
Definition:
GrD3DBackendContext.h:30
Generated on Sun Jun 23 2024 21:56:02 for Flutter Engine by
1.9.4