diff options
author | Benjamin Otte <otte@redhat.com> | 2016-11-28 16:34:01 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2016-12-09 18:35:51 +0100 |
commit | 6d1d6e67925035742f70b9d167ab41dfe7075ff3 (patch) | |
tree | 9f9c032b4cf0a2d39027fe1d13e46f1b8ff45c95 /gdk/gdkdisplayprivate.h | |
parent | cca547e5bccda95fd8bf283bec1bfc7b564e88f6 (diff) | |
download | gtk+-6d1d6e67925035742f70b9d167ab41dfe7075ff3.tar.gz |
vulkan: Add more infrastructure
gdk_window_create_vulkan_context() now exists and will return a Vulkan
context for the given window. It even initializes the surface. But it
doesn't do anything useful yet.
Diffstat (limited to 'gdk/gdkdisplayprivate.h')
-rw-r--r-- | gdk/gdkdisplayprivate.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/gdkdisplayprivate.h b/gdk/gdkdisplayprivate.h index c90c611647..4164b9ce88 100644 --- a/gdk/gdkdisplayprivate.h +++ b/gdk/gdkdisplayprivate.h @@ -145,6 +145,8 @@ struct _GdkDisplayClass GObjectClass parent_class; GType window_type; /* type for native windows for this display, set in class_init */ + GType vk_context_type; /* type for GdkVulkanContext, must be set if vk_extension_name != NULL */ + const char *vk_extension_name; /* Name of required windowing vulkan extension or %NULL (default) if Vulkan isn't supported */ const gchar * (*get_name) (GdkDisplay *display); GdkScreen * (*get_default_screen) (GdkDisplay *display); |