diff options
author | Matthias Clasen <mclasen@redhat.com> | 2017-12-04 15:58:30 -0800 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-12-04 15:58:30 -0800 |
commit | 77f0e678ece8cee1b8da8fa0dab1adeec5e113d3 (patch) | |
tree | a220ea61c6b5e3cfcd219c64aa7218f03a3b507f /gdk/gdkvulkancontext.c | |
parent | d5afb9e8050a268a6680e066c2fa87db37d82509 (diff) | |
download | gtk+-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.c | 16 |
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 { |