summaryrefslogtreecommitdiff
path: root/gst-libs/gst/vulkan/gstvkdebug-private.h
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2019-09-11 19:24:50 +1000
committerMatthew Waters <matthew@centricular.com>2019-09-11 20:22:56 +1000
commit2b7050120ee78f091f59d0c8022e4c243a08bf6b (patch)
tree9adb0af6a483c3a8edc000e68377dfaf9af8a54d /gst-libs/gst/vulkan/gstvkdebug-private.h
parente3508a4f26e0d743c3024d5f7b95565db9113952 (diff)
downloadgstreamer-plugins-bad-2b7050120ee78f091f59d0c8022e4c243a08bf6b.tar.gz
vulkan: dump most of the device information
Dump anything that can be queried using the physical device like features, limits, queue properties, memory properties.
Diffstat (limited to 'gst-libs/gst/vulkan/gstvkdebug-private.h')
-rw-r--r--gst-libs/gst/vulkan/gstvkdebug-private.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/gst-libs/gst/vulkan/gstvkdebug-private.h b/gst-libs/gst/vulkan/gstvkdebug-private.h
new file mode 100644
index 000000000..899749e25
--- /dev/null
+++ b/gst-libs/gst/vulkan/gstvkdebug-private.h
@@ -0,0 +1,37 @@
+/*
+ * GStreamer
+ * Copyright (C) 2019 Matthew Waters <matthew@centricular.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ */
+
+#ifndef __GST_VULKAN_DEBUG_PRIVATE_H__
+#define __GST_VULKAN_DEBUG_PRIVATE_H__
+
+#include <gst/gst.h>
+#include <vulkan/vulkan.h>
+#include <gst/vulkan/vulkan-prelude.h>
+
+G_BEGIN_DECLS
+
+gchar * gst_vulkan_memory_property_flags_to_string (VkMemoryPropertyFlags prop_bits);
+gchar * gst_vulkan_memory_heap_flags_to_string (VkMemoryHeapFlags prop_bits);
+gchar * gst_vulkan_queue_flags_to_string (VkQueueFlags queue_bits);
+gchar * gst_vulkan_sample_count_flags_to_string (VkSampleCountFlags sample_count_bits);
+
+G_END_DECLS
+
+#endif /* __GST_VULKAN_DEBUG_PRIVATE_H__ */