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
impeller
renderer
backend
vulkan
debug_report_vk.h
Go to the documentation of this file.
1
// Copyright 2013 The Flutter Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_DEBUG_REPORT_VK_H_
6
#define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_DEBUG_REPORT_VK_H_
7
8
#include "
impeller/renderer/backend/vulkan/vk.h
"
9
10
namespace
impeller
{
11
12
class
CapabilitiesVK;
13
14
class
DebugReportVK
{
15
public
:
16
DebugReportVK
(
const
CapabilitiesVK
& caps,
const
vk::Instance&
instance
);
17
18
~DebugReportVK
();
19
20
bool
IsValid
()
const
;
21
22
private
:
23
vk::UniqueDebugUtilsMessengerEXT messenger_;
24
bool
is_valid_ =
false
;
25
26
enum class
Result {
27
kContinue,
28
kAbort,
29
};
30
31
Result OnDebugCallback(vk::DebugUtilsMessageSeverityFlagBitsEXT severity,
32
vk::DebugUtilsMessageTypeFlagsEXT
type
,
33
const
VkDebugUtilsMessengerCallbackDataEXT
*
data
);
34
35
static
VKAPI_ATTR
VkBool32
VKAPI_CALL
DebugUtilsMessengerCallback(
36
VkDebugUtilsMessageSeverityFlagBitsEXT
severity,
37
VkDebugUtilsMessageTypeFlagsEXT
type
,
38
const
VkDebugUtilsMessengerCallbackDataEXT
* callback_data,
39
void
*
user_data
);
40
41
DebugReportVK
(
const
DebugReportVK
&) =
delete
;
42
43
DebugReportVK
& operator=(
const
DebugReportVK
&) =
delete
;
44
};
45
46
}
// namespace impeller
47
48
#endif
// FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_DEBUG_REPORT_VK_H_
type
GLenum type
Definition:
blit_command_gles.cc:126
impeller::CapabilitiesVK
The Vulkan layers and extensions wrangler.
Definition:
capabilities_vk.h:141
impeller::DebugReportVK
Definition:
debug_report_vk.h:14
impeller::DebugReportVK::DebugReportVK
DebugReportVK(const CapabilitiesVK &caps, const vk::Instance &instance)
Definition:
debug_report_vk.cc:12
impeller::DebugReportVK::IsValid
bool IsValid() const
Definition:
debug_report_vk.cc:44
impeller::DebugReportVK::~DebugReportVK
~DebugReportVK()
instance
VkInstance instance
Definition:
main.cc:48
impeller
Definition:
texture.h:18
VkDebugUtilsMessengerCallbackDataEXT
Definition:
vulkan_core.h:11957
data
std::shared_ptr< const fml::Mapping > data
Definition:
texture_gles.cc:63
user_data
void * user_data
Definition:
texture_registrar_unittests.cc:27
vk.h
VKAPI_CALL
#define VKAPI_CALL
Definition:
vk_platform.h:57
VKAPI_ATTR
#define VKAPI_ATTR
Definition:
vk_platform.h:56
VkDebugUtilsMessageTypeFlagsEXT
VkFlags VkDebugUtilsMessageTypeFlagsEXT
Definition:
vulkan_core.h:11939
VkBool32
uint32_t VkBool32
Definition:
vulkan_core.h:94
VkDebugUtilsMessageSeverityFlagBitsEXT
VkDebugUtilsMessageSeverityFlagBitsEXT
Definition:
vulkan_core.h:11924
Generated on Sun Jun 23 2024 21:55:03 for Flutter Engine by
1.9.4