GstVulkanBarrierState

A GstVulkanBarrierState tracks a set of barriers transitions that could be applied within a command buffer.

GstVulkanBarrierState

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstVulkanBarrierState

Members

parent (GstObject) –

the parent GstObject

device (GstVulkanDevice *) –
No description available

Since : 1.30


Class structure

GstVulkanBarrierStateClass

Fields
parent_class (GstObjectClass) –
No description available

GstVulkan.VulkanBarrierStateClass

Attributes
parent_class (Gst.ObjectClass) –
No description available

GstVulkan.VulkanBarrierStateClass

Attributes
parent_class (Gst.ObjectClass) –
No description available

GstVulkan.VulkanBarrierState

GObject.Object
    ╰──GObject.InitiallyUnowned
        ╰──Gst.Object
            ╰──GstVulkan.VulkanBarrierState

Members

parent (Gst.Object) –

the parent Gst.Object

device (GstVulkan.VulkanDevice) –
No description available

Since : 1.30


GstVulkan.VulkanBarrierState

GObject.Object
    ╰──GObject.InitiallyUnowned
        ╰──Gst.Object
            ╰──GstVulkan.VulkanBarrierState

Members

parent (Gst.Object) –

the parent Gst.Object

device (GstVulkan.VulkanDevice) –
No description available

Since : 1.30


Constructors

gst_vulkan_barrier_state_new

GstVulkanBarrierState *
gst_vulkan_barrier_state_new (GstVulkanDevice * device)

Parameters:

device
No description available
Returns
No description available

GstVulkan.VulkanBarrierState.prototype.new

function GstVulkan.VulkanBarrierState.prototype.new(device: GstVulkan.VulkanDevice): {
    // javascript wrapper for 'gst_vulkan_barrier_state_new'
}

Parameters:

device (GstVulkan.VulkanDevice)
No description available
No description available

GstVulkan.VulkanBarrierState.new

def GstVulkan.VulkanBarrierState.new (device):
    #python wrapper for 'gst_vulkan_barrier_state_new'

Parameters:

device (GstVulkan.VulkanDevice)
No description available
No description available

Methods

gst_vulkan_barrier_state_add_buffer_barrier

gboolean
gst_vulkan_barrier_state_add_buffer_barrier (GstVulkanBarrierState * self,
                                             GstVulkanBufferMemory * buffer,
                                             guint64 src_stage,
                                             guint64 dst_stage,
                                             guint64 new_access,
                                             GstVulkanQueue * new_queue)

Adds a buffer barrier for buffer to the list of barriers that will be used when calling gst_vulkan_barrier_state_pipeline_barrier and applied to the buffer when calling gst_vulkan_barrier_state_commit.

Parameters:

buffer

the GstVulkanBufferMemory the barrier is representing

src_stage

the pipeline stage to wait for (VkPipelineStageFlags or VkPipelineStageFlags2)

dst_stage

the pipeline stage to signal (VkPipelineStageFlags or VkPipelineStageFlags2)

new_access

the new access flags for buffer (VkAccessFlags or VkAccessFlags2)

new_queue ( [nullable])

destination queue for transfer of the buffer ownership

Returns

whether the barrier could be added.

Since : 1.30


GstVulkan.VulkanBarrierState.prototype.add_buffer_barrier

function GstVulkan.VulkanBarrierState.prototype.add_buffer_barrier(buffer: GstVulkan.VulkanBufferMemory, src_stage: Number, dst_stage: Number, new_access: Number, new_queue: GstVulkan.VulkanQueue): {
    // javascript wrapper for 'gst_vulkan_barrier_state_add_buffer_barrier'
}

Adds a buffer barrier for buffer to the list of barriers that will be used when calling GstVulkan.VulkanBarrierState.prototype.pipeline_barrier and applied to the buffer when calling GstVulkan.VulkanBarrierState.prototype.commit.

Parameters:

the GstVulkan.VulkanBufferMemory the barrier is representing

src_stage (Number)

the pipeline stage to wait for (VkPipelineStageFlags or VkPipelineStageFlags2)

dst_stage (Number)

the pipeline stage to signal (VkPipelineStageFlags or VkPipelineStageFlags2)

new_access (Number)

the new access flags for buffer (VkAccessFlags or VkAccessFlags2)

new_queue (GstVulkan.VulkanQueue)

destination queue for transfer of the buffer ownership

Returns (Number)

whether the barrier could be added.

Since : 1.30


GstVulkan.VulkanBarrierState.add_buffer_barrier

def GstVulkan.VulkanBarrierState.add_buffer_barrier (self, buffer, src_stage, dst_stage, new_access, new_queue):
    #python wrapper for 'gst_vulkan_barrier_state_add_buffer_barrier'

Adds a buffer barrier for buffer to the list of barriers that will be used when calling GstVulkan.VulkanBarrierState.pipeline_barrier and applied to the buffer when calling GstVulkan.VulkanBarrierState.commit.

Parameters:

the GstVulkan.VulkanBufferMemory the barrier is representing

src_stage (int)

the pipeline stage to wait for (VkPipelineStageFlags or VkPipelineStageFlags2)

dst_stage (int)

the pipeline stage to signal (VkPipelineStageFlags or VkPipelineStageFlags2)

new_access (int)

the new access flags for buffer (VkAccessFlags or VkAccessFlags2)

new_queue (GstVulkan.VulkanQueue)

destination queue for transfer of the buffer ownership

Returns (bool)

whether the barrier could be added.

Since : 1.30


gst_vulkan_barrier_state_add_image_barrier

gboolean
gst_vulkan_barrier_state_add_image_barrier (GstVulkanBarrierState * self,
                                            GstVulkanImageMemory * image,
                                            guint64 src_stage,
                                            guint64 dst_stage,
                                            guint64 new_access,
                                            VkImageLayout new_layout,
                                            GstVulkanQueue * new_queue)

Adds an image barrier for image to the list of barriers that will be used when calling gst_vulkan_barrier_state_pipeline_barrier and applied to the image when calling gst_vulkan_barrier_state_commit.

Parameters:

image

the GstVulkanImageMemory the barrier is representing

src_stage

the pipeline stage to wait for (VkPipelineStageFlags or VkPipelineStageFlags2)

dst_stage

the pipeline stage to signal (VkPipelineStageFlags or VkPipelineStageFlags2)

new_access

the new access flags for image (VkAccessFlags or VkAccessFlags2)

new_layout

the new VkImageLayout for image

new_queue ( [nullable])

destination queue for transfer of the image ownership

Returns

whether the barrier could be added.

Since : 1.30


GstVulkan.VulkanBarrierState.prototype.add_image_barrier

function GstVulkan.VulkanBarrierState.prototype.add_image_barrier(image: GstVulkan.VulkanImageMemory, src_stage: Number, dst_stage: Number, new_access: Number, new_layout: Vulkan.ImageLayout, new_queue: GstVulkan.VulkanQueue): {
    // javascript wrapper for 'gst_vulkan_barrier_state_add_image_barrier'
}

Adds an image barrier for image to the list of barriers that will be used when calling GstVulkan.VulkanBarrierState.prototype.pipeline_barrier and applied to the image when calling GstVulkan.VulkanBarrierState.prototype.commit.

Parameters:

the GstVulkan.VulkanImageMemory the barrier is representing

src_stage (Number)

the pipeline stage to wait for (VkPipelineStageFlags or VkPipelineStageFlags2)

dst_stage (Number)

the pipeline stage to signal (VkPipelineStageFlags or VkPipelineStageFlags2)

new_access (Number)

the new access flags for image (VkAccessFlags or VkAccessFlags2)

new_layout (Vulkan.ImageLayout)

the new VkImageLayout for image

new_queue (GstVulkan.VulkanQueue)

destination queue for transfer of the image ownership

Returns (Number)

whether the barrier could be added.

Since : 1.30


GstVulkan.VulkanBarrierState.add_image_barrier

def GstVulkan.VulkanBarrierState.add_image_barrier (self, image, src_stage, dst_stage, new_access, new_layout, new_queue):
    #python wrapper for 'gst_vulkan_barrier_state_add_image_barrier'

Adds an image barrier for image to the list of barriers that will be used when calling GstVulkan.VulkanBarrierState.pipeline_barrier and applied to the image when calling GstVulkan.VulkanBarrierState.commit.

Parameters:

the GstVulkan.VulkanImageMemory the barrier is representing

src_stage (int)

the pipeline stage to wait for (VkPipelineStageFlags or VkPipelineStageFlags2)

dst_stage (int)

the pipeline stage to signal (VkPipelineStageFlags or VkPipelineStageFlags2)

new_access (int)

the new access flags for image (VkAccessFlags or VkAccessFlags2)

new_layout (Vulkan.ImageLayout)

the new VkImageLayout for image

new_queue (GstVulkan.VulkanQueue)

destination queue for transfer of the image ownership

Returns (bool)

whether the barrier could be added.

Since : 1.30


gst_vulkan_barrier_state_add_raw_barrier

gboolean
gst_vulkan_barrier_state_add_raw_barrier (GstVulkanBarrierState * self,
                                          gconstpointer barrier,
                                          guint64 src_stage,
                                          guint64 dst_stage)

Adds a vulkan memory barrier to the list of barriers performed when using gst_vulkan_barrier_state_pipeline_barrier. Does not do any tracking of any resources (if any) mentioned in the barrier and does not impact the result of gst_vulkan_barrier_state_commit.

Currently supported barriers are VkImageMemoryBarrier, VkImageMemoryBarrier2, VkBufferMemoryBarrier, VkBufferMemoryBarrier2, VkMemoryBarrier, and VkMemoryBarrier2.

Parameters:

barrier

a VkImageMemoryBarrier, VkImageMemoryBarrier2, VkBufferMemoryBarrier, VkBufferMemoryBarrier2, VkMemoryBarrier, or VkMemoryBarrier2

src_stage
No description available
dst_stage
No description available
Returns
No description available

Since : 1.30


GstVulkan.VulkanBarrierState.prototype.add_raw_barrier

function GstVulkan.VulkanBarrierState.prototype.add_raw_barrier(barrier: Object, src_stage: Number, dst_stage: Number): {
    // javascript wrapper for 'gst_vulkan_barrier_state_add_raw_barrier'
}

Adds a vulkan memory barrier to the list of barriers performed when using GstVulkan.VulkanBarrierState.prototype.pipeline_barrier. Does not do any tracking of any resources (if any) mentioned in the barrier and does not impact the result of GstVulkan.VulkanBarrierState.prototype.commit.

Currently supported barriers are VkImageMemoryBarrier, VkImageMemoryBarrier2, VkBufferMemoryBarrier, VkBufferMemoryBarrier2, VkMemoryBarrier, and VkMemoryBarrier2.

Parameters:

barrier (Object)

a VkImageMemoryBarrier, VkImageMemoryBarrier2, VkBufferMemoryBarrier, VkBufferMemoryBarrier2, VkMemoryBarrier, or VkMemoryBarrier2

src_stage (Number)
No description available
dst_stage (Number)
No description available
Returns (Number)
No description available

Since : 1.30


GstVulkan.VulkanBarrierState.add_raw_barrier

def GstVulkan.VulkanBarrierState.add_raw_barrier (self, barrier, src_stage, dst_stage):
    #python wrapper for 'gst_vulkan_barrier_state_add_raw_barrier'

Adds a vulkan memory barrier to the list of barriers performed when using GstVulkan.VulkanBarrierState.pipeline_barrier. Does not do any tracking of any resources (if any) mentioned in the barrier and does not impact the result of GstVulkan.VulkanBarrierState.commit.

Currently supported barriers are VkImageMemoryBarrier, VkImageMemoryBarrier2, VkBufferMemoryBarrier, VkBufferMemoryBarrier2, VkMemoryBarrier, and VkMemoryBarrier2.

Parameters:

barrier (object)

a VkImageMemoryBarrier, VkImageMemoryBarrier2, VkBufferMemoryBarrier, VkBufferMemoryBarrier2, VkMemoryBarrier, or VkMemoryBarrier2

src_stage (int)
No description available
dst_stage (int)
No description available
Returns (bool)
No description available

Since : 1.30


gst_vulkan_barrier_state_commit

gboolean
gst_vulkan_barrier_state_commit (GstVulkanBarrierState * self,
                                 gpointer state)

Commit all the barrier states to their respective GstVulkanImageMemory, or GstVulkanBufferMemory.

Can fail if the original state of the image/buffer barrier has changed after gst_vulkan_barrier_state_add_buffer_barrier or gst_vulkan_barrier_state_add_image_barrier was originally called. The operation (entire command buffer) should be retried in this case.

It is strongly recommended to only call this just before submission of associated the command buffer.

Parameters:

state

a state cookie from gst_vulkan_barrier_state_lock

Returns

TRUE on success, FALSE if at least one state transition failed.

Since : 1.30


GstVulkan.VulkanBarrierState.prototype.commit

function GstVulkan.VulkanBarrierState.prototype.commit(state: Object): {
    // javascript wrapper for 'gst_vulkan_barrier_state_commit'
}

Commit all the barrier states to their respective GstVulkan.VulkanImageMemory, or GstVulkan.VulkanBufferMemory.

Can fail if the original state of the image/buffer barrier has changed after GstVulkan.VulkanBarrierState.prototype.add_buffer_barrier or GstVulkan.VulkanBarrierState.prototype.add_image_barrier was originally called. The operation (entire command buffer) should be retried in this case.

It is strongly recommended to only call this just before submission of associated the command buffer.

Returns (Number)

true on success, false if at least one state transition failed.

Since : 1.30


GstVulkan.VulkanBarrierState.commit

def GstVulkan.VulkanBarrierState.commit (self, state):
    #python wrapper for 'gst_vulkan_barrier_state_commit'

Commit all the barrier states to their respective GstVulkan.VulkanImageMemory, or GstVulkan.VulkanBufferMemory.

Can fail if the original state of the image/buffer barrier has changed after GstVulkan.VulkanBarrierState.add_buffer_barrier or GstVulkan.VulkanBarrierState.add_image_barrier was originally called. The operation (entire command buffer) should be retried in this case.

It is strongly recommended to only call this just before submission of associated the command buffer.

Returns (bool)

True on success, False if at least one state transition failed.

Since : 1.30


gst_vulkan_barrier_state_foreach_buffer_unlocked

gst_vulkan_barrier_state_foreach_buffer_unlocked (GstVulkanBarrierState * self,
                                                  gpointer state,
                                                  GstVulkanBarrierStateForEachBufferFunc func,
                                                  gpointer user_data)

Call a user provided function for every GstVulkanBufferMemory currently locked by self.

Parameters:

state

a state cookie from gst_vulkan_barrier_state_lock

func ( [scope call])

function to call on every GstVulkanBufferMemory currently tracked by self.

user_data

user provided data for func

Since : 1.30


GstVulkan.VulkanBarrierState.prototype.foreach_buffer_unlocked

function GstVulkan.VulkanBarrierState.prototype.foreach_buffer_unlocked(state: Object, func: GstVulkan.VulkanBarrierStateForEachBufferFunc, user_data: Object): {
    // javascript wrapper for 'gst_vulkan_barrier_state_foreach_buffer_unlocked'
}

Call a user provided function for every GstVulkan.VulkanBufferMemory currently locked by self.

Parameters:

state (Object)

a state cookie from GstVulkan.VulkanBarrierState.prototype.lock

function to call on every GstVulkan.VulkanBufferMemory currently tracked by self.

user_data (Object)

user provided data for func

Since : 1.30


GstVulkan.VulkanBarrierState.foreach_buffer_unlocked

def GstVulkan.VulkanBarrierState.foreach_buffer_unlocked (self, state, func, *user_data):
    #python wrapper for 'gst_vulkan_barrier_state_foreach_buffer_unlocked'

Call a user provided function for every GstVulkan.VulkanBufferMemory currently locked by self.

Parameters:

state (object)

a state cookie from GstVulkan.VulkanBarrierState.lock

function to call on every GstVulkan.VulkanBufferMemory currently tracked by self.

user_data (variadic)

user provided data for func

Since : 1.30


gst_vulkan_barrier_state_foreach_image_unlocked

gst_vulkan_barrier_state_foreach_image_unlocked (GstVulkanBarrierState * self,
                                                 gpointer state,
                                                 GstVulkanBarrierStateForEachImageFunc func,
                                                 gpointer user_data)

Call a user provided function for every GstVulkanImageMemory currently locked by self.

Parameters:

state

a state cookie from gst_vulkan_barrier_state_lock

func ( [scope call])

function to call on every GstVulkanImageMemory currently tracked by self.

user_data

user provided data for func

Since : 1.30


GstVulkan.VulkanBarrierState.prototype.foreach_image_unlocked

function GstVulkan.VulkanBarrierState.prototype.foreach_image_unlocked(state: Object, func: GstVulkan.VulkanBarrierStateForEachImageFunc, user_data: Object): {
    // javascript wrapper for 'gst_vulkan_barrier_state_foreach_image_unlocked'
}

Call a user provided function for every GstVulkan.VulkanImageMemory currently locked by self.

Parameters:

state (Object)

a state cookie from GstVulkan.VulkanBarrierState.prototype.lock

function to call on every GstVulkan.VulkanImageMemory currently tracked by self.

user_data (Object)

user provided data for func

Since : 1.30


GstVulkan.VulkanBarrierState.foreach_image_unlocked

def GstVulkan.VulkanBarrierState.foreach_image_unlocked (self, state, func, *user_data):
    #python wrapper for 'gst_vulkan_barrier_state_foreach_image_unlocked'

Call a user provided function for every GstVulkan.VulkanImageMemory currently locked by self.

Parameters:

state (object)

a state cookie from GstVulkan.VulkanBarrierState.lock

function to call on every GstVulkan.VulkanImageMemory currently tracked by self.

user_data (variadic)

user provided data for func

Since : 1.30


gst_vulkan_barrier_state_foreach_timeline_semaphore_unlocked

gst_vulkan_barrier_state_foreach_timeline_semaphore_unlocked (GstVulkanBarrierState * self,
                                                              gpointer state,
                                                              GstVulkanBarrierStateForEachTimelineSemaphoreFunc func,
                                                              gpointer user_data)

Call a user provided function for every GstVulkanTimelineSemaphore currently locked by self.

Parameters:

state

a state cookie from gst_vulkan_barrier_state_lock

func ( [scope call])

function to call on every GstVulkanTimelineSemaphore currently tracked by self.

user_data

user provided data for func

Since : 1.30


GstVulkan.VulkanBarrierState.prototype.foreach_timeline_semaphore_unlocked

function GstVulkan.VulkanBarrierState.prototype.foreach_timeline_semaphore_unlocked(state: Object, func: GstVulkan.VulkanBarrierStateForEachTimelineSemaphoreFunc, user_data: Object): {
    // javascript wrapper for 'gst_vulkan_barrier_state_foreach_timeline_semaphore_unlocked'
}

Call a user provided function for every GstVulkan.VulkanTimelineSemaphore currently locked by self.

Parameters:

state (Object)

a state cookie from GstVulkan.VulkanBarrierState.prototype.lock

function to call on every GstVulkan.VulkanTimelineSemaphore currently tracked by self.

user_data (Object)

user provided data for func

Since : 1.30


GstVulkan.VulkanBarrierState.foreach_timeline_semaphore_unlocked

def GstVulkan.VulkanBarrierState.foreach_timeline_semaphore_unlocked (self, state, func, *user_data):
    #python wrapper for 'gst_vulkan_barrier_state_foreach_timeline_semaphore_unlocked'

Call a user provided function for every GstVulkan.VulkanTimelineSemaphore currently locked by self.

Parameters:

state (object)

a state cookie from GstVulkan.VulkanBarrierState.lock

function to call on every GstVulkan.VulkanTimelineSemaphore currently tracked by self.

user_data (variadic)

user provided data for func

Since : 1.30


gst_vulkan_barrier_state_lock

gpointer
gst_vulkan_barrier_state_lock (GstVulkanBarrierState * self)

Lock all the GstVulkanImageMemory, or GstVulkanBufferMemory tracked by self.

It is strongly recommended to call this just before submission of the command buffer.

Parameters:

Returns

A state cookie that must be passed to gst_vulkan_barrier_state_unlock.

Since : 1.30


GstVulkan.VulkanBarrierState.prototype.lock

function GstVulkan.VulkanBarrierState.prototype.lock(): {
    // javascript wrapper for 'gst_vulkan_barrier_state_lock'
}

Lock all the GstVulkan.VulkanImageMemory, or GstVulkan.VulkanBufferMemory tracked by self.

It is strongly recommended to call this just before submission of the command buffer.

Returns (Object)

A state cookie that must be passed to GstVulkan.VulkanBarrierState.prototype.unlock.

Since : 1.30


GstVulkan.VulkanBarrierState.lock

def GstVulkan.VulkanBarrierState.lock (self):
    #python wrapper for 'gst_vulkan_barrier_state_lock'

Lock all the GstVulkan.VulkanImageMemory, or GstVulkan.VulkanBufferMemory tracked by self.

It is strongly recommended to call this just before submission of the command buffer.

Returns (object)

A state cookie that must be passed to GstVulkan.VulkanBarrierState.unlock.

Since : 1.30


gst_vulkan_barrier_state_pipeline_barrier

gboolean
gst_vulkan_barrier_state_pipeline_barrier (GstVulkanBarrierState * self,
                                           GstVulkanCommandBuffer * cmd,
                                           VkDependencyFlags dep_flags)

Performs the equivalent of vmCmdPipelineBarrier/2 in cmd for the currently stored list of barriers. The list of barriers is then reset to an empty list.

Parameters:

cmd

the GstVulkanCommandBuffer to record the barriers into.

dep_flags
No description available
Returns

whether the pipeline barrier was successfully recorded to cmd.

Since : 1.30


GstVulkan.VulkanBarrierState.prototype.pipeline_barrier

function GstVulkan.VulkanBarrierState.prototype.pipeline_barrier(cmd: GstVulkan.VulkanCommandBuffer, dep_flags: Vulkan.DependencyFlags): {
    // javascript wrapper for 'gst_vulkan_barrier_state_pipeline_barrier'
}

Performs the equivalent of vmCmdPipelineBarrier/2 in cmd for the currently stored list of barriers. The list of barriers is then reset to an empty list.

Parameters:

the GstVulkan.VulkanCommandBuffer to record the barriers into.

dep_flags (Vulkan.DependencyFlags)
No description available
Returns (Number)

whether the pipeline barrier was successfully recorded to cmd.

Since : 1.30


GstVulkan.VulkanBarrierState.pipeline_barrier

def GstVulkan.VulkanBarrierState.pipeline_barrier (self, cmd, dep_flags):
    #python wrapper for 'gst_vulkan_barrier_state_pipeline_barrier'

Performs the equivalent of vmCmdPipelineBarrier/2 in cmd for the currently stored list of barriers. The list of barriers is then reset to an empty list.

Parameters:

the GstVulkan.VulkanCommandBuffer to record the barriers into.

dep_flags (Vulkan.DependencyFlags)
No description available
Returns (bool)

whether the pipeline barrier was successfully recorded to cmd.

Since : 1.30


gst_vulkan_barrier_state_reset

gst_vulkan_barrier_state_reset (GstVulkanBarrierState * self)

Reset self to that of a newly created instance. All stored data is removed.

Parameters:

Since : 1.30


GstVulkan.VulkanBarrierState.prototype.reset

function GstVulkan.VulkanBarrierState.prototype.reset(): {
    // javascript wrapper for 'gst_vulkan_barrier_state_reset'
}

Reset self to that of a newly created instance. All stored data is removed.

Since : 1.30


GstVulkan.VulkanBarrierState.reset

def GstVulkan.VulkanBarrierState.reset (self):
    #python wrapper for 'gst_vulkan_barrier_state_reset'

Reset self to that of a newly created instance. All stored data is removed.

Since : 1.30


gst_vulkan_barrier_state_rollback

gst_vulkan_barrier_state_rollback (GstVulkanBarrierState * self,
                                   gpointer state)

Rollback all barrier updates performed by gst_vulkan_barrier_state_commit.

It is strongly recommended to only call this if command buffer submission fails. Do not call this if gst_vulkan_barrier_state_commit fails.

Parameters:

state

a state cookie from gst_vulkan_barrier_state_lock

Since : 1.30


GstVulkan.VulkanBarrierState.prototype.rollback

function GstVulkan.VulkanBarrierState.prototype.rollback(state: Object): {
    // javascript wrapper for 'gst_vulkan_barrier_state_rollback'
}

Rollback all barrier updates performed by GstVulkan.VulkanBarrierState.prototype.commit.

It is strongly recommended to only call this if command buffer submission fails. Do not call this if GstVulkan.VulkanBarrierState.prototype.commit fails.

Since : 1.30


GstVulkan.VulkanBarrierState.rollback

def GstVulkan.VulkanBarrierState.rollback (self, state):
    #python wrapper for 'gst_vulkan_barrier_state_rollback'

Rollback all barrier updates performed by GstVulkan.VulkanBarrierState.commit.

It is strongly recommended to only call this if command buffer submission fails. Do not call this if GstVulkan.VulkanBarrierState.commit fails.

Since : 1.30


gst_vulkan_barrier_state_unlock

gst_vulkan_barrier_state_unlock (GstVulkanBarrierState * self,
                                 gpointer state)

Unlock all the GstVulkanImageMemory, or GstVulkanBufferMemory tracked by self.

Parameters:

state

a state pointer returned from gst_vulkan_barrier_state_lock.

Since : 1.30


GstVulkan.VulkanBarrierState.prototype.unlock

function GstVulkan.VulkanBarrierState.prototype.unlock(state: Object): {
    // javascript wrapper for 'gst_vulkan_barrier_state_unlock'
}

Unlock all the GstVulkan.VulkanImageMemory, or GstVulkan.VulkanBufferMemory tracked by self.

Parameters:

state (Object)

a state pointer returned from GstVulkan.VulkanBarrierState.prototype.lock.

Since : 1.30


GstVulkan.VulkanBarrierState.unlock

def GstVulkan.VulkanBarrierState.unlock (self, state):
    #python wrapper for 'gst_vulkan_barrier_state_unlock'

Unlock all the GstVulkan.VulkanImageMemory, or GstVulkan.VulkanBufferMemory tracked by self.

Parameters:

state (object)

a state pointer returned from GstVulkan.VulkanBarrierState.lock.

Since : 1.30


gst_vulkan_barrier_state_update_buffer_barrier

gst_vulkan_barrier_state_update_buffer_barrier (GstVulkanBarrierState * self,
                                                GstVulkanBufferMemory * buffer,
                                                guint64 dst_stage,
                                                guint64 new_access,
                                                GstVulkanQueue * new_queue)

Adds (or updates) the buffer barrier state that will be applied to the buffer when calling gst_vulkan_barrier_state_commit.

This does not add any barrier to the vulkan command stream. This would need to be done manually or through gst_vulkan_barrier_state_add_raw_barrier.

Parameters:

buffer

the GstVulkanBufferMemory the barrier is representing

dst_stage

the pipeline stage to signal (VkPipelineStageFlags or VkPipelineStageFlags2)

new_access

the new access flags for buffer (VkAccessFlags or VkAccessFlags2)

new_queue ( [nullable])

destination queue for transfer of the buffer ownership

Since : 1.30


GstVulkan.VulkanBarrierState.prototype.update_buffer_barrier

function GstVulkan.VulkanBarrierState.prototype.update_buffer_barrier(buffer: GstVulkan.VulkanBufferMemory, dst_stage: Number, new_access: Number, new_queue: GstVulkan.VulkanQueue): {
    // javascript wrapper for 'gst_vulkan_barrier_state_update_buffer_barrier'
}

Adds (or updates) the buffer barrier state that will be applied to the buffer when calling GstVulkan.VulkanBarrierState.prototype.commit.

This does not add any barrier to the vulkan command stream. This would need to be done manually or through GstVulkan.VulkanBarrierState.prototype.add_raw_barrier.

Parameters:

the GstVulkan.VulkanBufferMemory the barrier is representing

dst_stage (Number)

the pipeline stage to signal (VkPipelineStageFlags or VkPipelineStageFlags2)

new_access (Number)

the new access flags for buffer (VkAccessFlags or VkAccessFlags2)

new_queue (GstVulkan.VulkanQueue)

destination queue for transfer of the buffer ownership

Since : 1.30


GstVulkan.VulkanBarrierState.update_buffer_barrier

def GstVulkan.VulkanBarrierState.update_buffer_barrier (self, buffer, dst_stage, new_access, new_queue):
    #python wrapper for 'gst_vulkan_barrier_state_update_buffer_barrier'

Adds (or updates) the buffer barrier state that will be applied to the buffer when calling GstVulkan.VulkanBarrierState.commit.

This does not add any barrier to the vulkan command stream. This would need to be done manually or through GstVulkan.VulkanBarrierState.add_raw_barrier.

Parameters:

the GstVulkan.VulkanBufferMemory the barrier is representing

dst_stage (int)

the pipeline stage to signal (VkPipelineStageFlags or VkPipelineStageFlags2)

new_access (int)

the new access flags for buffer (VkAccessFlags or VkAccessFlags2)

new_queue (GstVulkan.VulkanQueue)

destination queue for transfer of the buffer ownership

Since : 1.30


gst_vulkan_barrier_state_update_image_barrier

gst_vulkan_barrier_state_update_image_barrier (GstVulkanBarrierState * self,
                                               GstVulkanImageMemory * image,
                                               guint64 dst_stage,
                                               guint64 new_access,
                                               VkImageLayout new_layout,
                                               GstVulkanQueue * new_queue)

Adds (or updates) the image barrier state that will be applied to the image when calling gst_vulkan_barrier_state_commit.

This does not add any barrier to the vulkan command stream. This would need to be done manually or through gst_vulkan_barrier_state_add_raw_barrier.

Parameters:

image

the GstVulkanImageMemory the barrier is representing

dst_stage

the pipeline stage to signal (VkPipelineStageFlags or VkPipelineStageFlags2)

new_access

the new access flags for image (VkAccessFlags or VkAccessFlags2)

new_layout

the new VkImageLayout for image

new_queue ( [nullable])

destination queue for transfer of the image ownership

Since : 1.30


GstVulkan.VulkanBarrierState.prototype.update_image_barrier

function GstVulkan.VulkanBarrierState.prototype.update_image_barrier(image: GstVulkan.VulkanImageMemory, dst_stage: Number, new_access: Number, new_layout: Vulkan.ImageLayout, new_queue: GstVulkan.VulkanQueue): {
    // javascript wrapper for 'gst_vulkan_barrier_state_update_image_barrier'
}

Adds (or updates) the image barrier state that will be applied to the image when calling GstVulkan.VulkanBarrierState.prototype.commit.

This does not add any barrier to the vulkan command stream. This would need to be done manually or through GstVulkan.VulkanBarrierState.prototype.add_raw_barrier.

Parameters:

the GstVulkan.VulkanImageMemory the barrier is representing

dst_stage (Number)

the pipeline stage to signal (VkPipelineStageFlags or VkPipelineStageFlags2)

new_access (Number)

the new access flags for image (VkAccessFlags or VkAccessFlags2)

new_layout (Vulkan.ImageLayout)

the new VkImageLayout for image

new_queue (GstVulkan.VulkanQueue)

destination queue for transfer of the image ownership

Since : 1.30


GstVulkan.VulkanBarrierState.update_image_barrier

def GstVulkan.VulkanBarrierState.update_image_barrier (self, image, dst_stage, new_access, new_layout, new_queue):
    #python wrapper for 'gst_vulkan_barrier_state_update_image_barrier'

Adds (or updates) the image barrier state that will be applied to the image when calling GstVulkan.VulkanBarrierState.commit.

This does not add any barrier to the vulkan command stream. This would need to be done manually or through GstVulkan.VulkanBarrierState.add_raw_barrier.

Parameters:

the GstVulkan.VulkanImageMemory the barrier is representing

dst_stage (int)

the pipeline stage to signal (VkPipelineStageFlags or VkPipelineStageFlags2)

new_access (int)

the new access flags for image (VkAccessFlags or VkAccessFlags2)

new_layout (Vulkan.ImageLayout)

the new VkImageLayout for image

new_queue (GstVulkan.VulkanQueue)

destination queue for transfer of the image ownership

Since : 1.30


gst_vulkan_barrier_state_update_timeline_semaphore

gboolean
gst_vulkan_barrier_state_update_timeline_semaphore (GstVulkanBarrierState * self,
                                                    GstVulkanTimelineSemaphore * timeline,
                                                    guint64 new_value)

Adds (or updates) the image's timeline semaphore value when calling gst_vulkan_barrier_state_commit.

This does not add any semaphore waits or signal to the vulkan command stream. This would need to be done manually or by using GstVulkanOperation.

This can fail if the existing value of image's timeline semaphore does not currently match any previously stored value.

Parameters:

timeline

the GstVulkanTimelineSemaphore

new_value

the new value of the timeline semaphore

Returns

whether the semaphore value could be updated.

Since : 1.30


GstVulkan.VulkanBarrierState.prototype.update_timeline_semaphore

function GstVulkan.VulkanBarrierState.prototype.update_timeline_semaphore(timeline: GstVulkan.VulkanTimelineSemaphore, new_value: Number): {
    // javascript wrapper for 'gst_vulkan_barrier_state_update_timeline_semaphore'
}

Adds (or updates) the image's timeline semaphore value when calling GstVulkan.VulkanBarrierState.prototype.commit.

This does not add any semaphore waits or signal to the vulkan command stream. This would need to be done manually or by using GstVulkan.VulkanOperation.

This can fail if the existing value of image's timeline semaphore does not currently match any previously stored value.

Parameters:

new_value (Number)

the new value of the timeline semaphore

Returns (Number)

whether the semaphore value could be updated.

Since : 1.30


GstVulkan.VulkanBarrierState.update_timeline_semaphore

def GstVulkan.VulkanBarrierState.update_timeline_semaphore (self, timeline, new_value):
    #python wrapper for 'gst_vulkan_barrier_state_update_timeline_semaphore'

Adds (or updates) the image's timeline semaphore value when calling GstVulkan.VulkanBarrierState.commit.

This does not add any semaphore waits or signal to the vulkan command stream. This would need to be done manually or by using GstVulkan.VulkanOperation.

This can fail if the existing value of image's timeline semaphore does not currently match any previously stored value.

Parameters:

new_value (int)

the new value of the timeline semaphore

Returns (bool)

whether the semaphore value could be updated.

Since : 1.30


Properties

device

“device” GstVulkanDevice *

Flags : Read / Write / Construct Only


device

“device” GstVulkan.VulkanDevice

Flags : Read / Write / Construct Only


device

“self.props.device” GstVulkan.VulkanDevice

Flags : Read / Write / Construct Only


Callbacks

GstVulkanBarrierStateForEachBufferFunc

(*GstVulkanBarrierStateForEachBufferFunc) (GstVulkanBufferMemory * buffer,
                                           gpointer user_data)

Parameters:

buffer
No description available
user_data
No description available

Since : 1.30


GstVulkan.VulkanBarrierStateForEachBufferFunc

function GstVulkan.VulkanBarrierStateForEachBufferFunc(buffer: GstVulkan.VulkanBufferMemory, user_data: Object): {
    // javascript wrapper for 'GstVulkanBarrierStateForEachBufferFunc'
}

Parameters:

No description available
user_data (Object)
No description available

Since : 1.30


GstVulkan.VulkanBarrierStateForEachBufferFunc

def GstVulkan.VulkanBarrierStateForEachBufferFunc (buffer, *user_data):
    #python wrapper for 'GstVulkanBarrierStateForEachBufferFunc'

Parameters:

No description available
user_data (variadic)
No description available

Since : 1.30


GstVulkanBarrierStateForEachImageFunc

(*GstVulkanBarrierStateForEachImageFunc) (GstVulkanImageMemory * image,
                                          gpointer user_data)

Parameters:

image
No description available
user_data
No description available

Since : 1.30


GstVulkan.VulkanBarrierStateForEachImageFunc

function GstVulkan.VulkanBarrierStateForEachImageFunc(image: GstVulkan.VulkanImageMemory, user_data: Object): {
    // javascript wrapper for 'GstVulkanBarrierStateForEachImageFunc'
}

Parameters:

No description available
user_data (Object)
No description available

Since : 1.30


GstVulkan.VulkanBarrierStateForEachImageFunc

def GstVulkan.VulkanBarrierStateForEachImageFunc (image, *user_data):
    #python wrapper for 'GstVulkanBarrierStateForEachImageFunc'

Parameters:

No description available
user_data (variadic)
No description available

Since : 1.30


GstVulkanBarrierStateForEachTimelineSemaphoreFunc

(*GstVulkanBarrierStateForEachTimelineSemaphoreFunc) (GstVulkanTimelineSemaphore * timeline,
                                                      gpointer user_data)

Parameters:

timeline
No description available
user_data
No description available

Since : 1.30


GstVulkan.VulkanBarrierStateForEachTimelineSemaphoreFunc

function GstVulkan.VulkanBarrierStateForEachTimelineSemaphoreFunc(timeline: GstVulkan.VulkanTimelineSemaphore, user_data: Object): {
    // javascript wrapper for 'GstVulkanBarrierStateForEachTimelineSemaphoreFunc'
}

Parameters:

No description available
user_data (Object)
No description available

Since : 1.30


GstVulkan.VulkanBarrierStateForEachTimelineSemaphoreFunc

def GstVulkan.VulkanBarrierStateForEachTimelineSemaphoreFunc (timeline, *user_data):
    #python wrapper for 'GstVulkanBarrierStateForEachTimelineSemaphoreFunc'

Parameters:

No description available
user_data (variadic)
No description available

Since : 1.30


The results of the search are