summaryrefslogtreecommitdiff
path: root/gdk/gdkvulkancontext.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2017-12-04 15:58:30 -0800
committerMatthias Clasen <mclasen@redhat.com>2017-12-04 15:58:30 -0800
commit77f0e678ece8cee1b8da8fa0dab1adeec5e113d3 (patch)
treea220ea61c6b5e3cfcd219c64aa7218f03a3b507f /gdk/gdkvulkancontext.c
parentd5afb9e8050a268a6680e066c2fa87db37d82509 (diff)
downloadgtk+-77f0e678ece8cee1b8da8fa0dab1adeec5e113d3.tar.gz
gdk: Fill in some blanks in the docs
This is just an initial cut; more work is needed.
Diffstat (limited to 'gdk/gdkvulkancontext.c')
-rw-r--r--gdk/gdkvulkancontext.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/gdk/gdkvulkancontext.c b/gdk/gdkvulkancontext.c
index 3fd697a8af..6651f52472 100644
--- a/gdk/gdkvulkancontext.c
+++ b/gdk/gdkvulkancontext.c
@@ -28,6 +28,22 @@
#include "gdkinternals.h"
#include "gdkintl.h"
+/**
+ * SECTION:gdkvulkancontext
+ * @Title: GdkVulkanContext
+ * @Short_description: Vulkan context
+ *
+ * #GdkVulkanContext is an object representing the platform-specific
+ * Vulkan drawing context.
+ *
+ * #GdkVulkanContexts are created for a #GdkWindow using
+ * gdk_window_create_vulkan_context(), and the context will match the
+ * the characteristics of the window.
+ *
+ * Support for #GdkGLContext is platform-specific, context creation
+ * can fail, returning %NULL context.
+ */
+
typedef struct _GdkVulkanContextPrivate GdkVulkanContextPrivate;
struct _GdkVulkanContextPrivate {