Gdk.VulkanContext

g GObject.GInterface GObject.GInterface Gio.Initable Gio.Initable GObject.GInterface->Gio.Initable GObject.Object GObject.Object Gdk.DrawContext Gdk.DrawContext GObject.Object->Gdk.DrawContext Gdk.VulkanContext Gdk.VulkanContext Gdk.DrawContext->Gdk.VulkanContext Gio.Initable->Gdk.VulkanContext

Subclasses:

None

Methods

Inherited:

Gdk.DrawContext (6), GObject.Object (37), Gio.Initable (2)

Structs:

GObject.ObjectClass (5)

Virtual Methods

Inherited:

GObject.Object (7), Gio.Initable (1)

Properties

Inherited:

Gdk.DrawContext (2)

Signals

Inherited:

GObject.Object (1)

Name

Short Description

images-updated

Emitted when the images managed by this context have changed.

Fields

Inherited:

GObject.Object (1)

Class Details

class Gdk.VulkanContext(**kwargs)
Bases:

Gdk.DrawContext, Gio.Initable

Abstract:

Yes

GdkVulkanContext is an object representing the platform-specific Vulkan draw context.

``GdkVulkanContext``s are created for a surface using [method`Gdk`.Surface.create_vulkan_context], and the context will match the characteristics of the surface.

Support for GdkVulkanContext is platform-specific and context creation can fail, returning None context.

Signal Details

Gdk.VulkanContext.signals.images_updated(vulkan_context)
Signal Name:

images-updated

Flags:

RUN_LAST

Parameters:

vulkan_context (Gdk.VulkanContext) – The object which received the signal

Emitted when the images managed by this context have changed.

Usually this means that the swapchain had to be recreated, for example in response to a change of the surface size.