[gtk+/wip/otte/vulkan: 54/59] gsk: Add a vulkan debug category
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/otte/vulkan: 54/59] gsk: Add a vulkan debug category
- Date: Mon, 5 Dec 2016 12:32:01 +0000 (UTC)
commit ee00f2ebcbf5ff02e0c28b5312b8af5d67eef088
Author: Benjamin Otte <otte redhat com>
Date: Wed Nov 30 02:07:57 2016 +0100
gsk: Add a vulkan debug category
gsk/gskdebug.c | 3 ++-
gsk/gskdebugprivate.h | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/gsk/gskdebug.c b/gsk/gskdebug.c
index 216e118..bf82b89 100644
--- a/gsk/gskdebug.c
+++ b/gsk/gskdebug.c
@@ -8,7 +8,8 @@ static const GDebugKey gsk_debug_keys[] = {
{ "opengl", GSK_DEBUG_OPENGL },
{ "shaders", GSK_DEBUG_SHADERS },
{ "transforms", GSK_DEBUG_TRANSFORMS },
- { "surface", GSK_DEBUG_SURFACE }
+ { "surface", GSK_DEBUG_SURFACE },
+ { "vulkan", GSK_DEBUG_VULKAN }
};
#endif
diff --git a/gsk/gskdebugprivate.h b/gsk/gskdebugprivate.h
index ee1857c..29e529b 100644
--- a/gsk/gskdebugprivate.h
+++ b/gsk/gskdebugprivate.h
@@ -12,7 +12,8 @@ typedef enum {
GSK_DEBUG_OPENGL = 1 << 3,
GSK_DEBUG_SHADERS = 1 << 4,
GSK_DEBUG_TRANSFORMS = 1 << 5,
- GSK_DEBUG_SURFACE = 1 << 6
+ GSK_DEBUG_SURFACE = 1 << 6,
+ GSK_DEBUG_VULKAN = 1 << 7
} GskDebugFlags;
typedef enum {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]