mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-05 18:31:09 +00:00
6f2fd001a0
The render pass ops were not updating the image's layout to the final layout when a render pass ends. Fix that. Also make the layouts explicit arguments to the render pass op.
24 lines
1.6 KiB
C
24 lines
1.6 KiB
C
#pragma once
|
|
|
|
#include "gskvulkanopprivate.h"
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
void gsk_vulkan_render_pass_op (GskVulkanRender *render,
|
|
GdkVulkanContext *context,
|
|
GskVulkanImage *image,
|
|
cairo_region_t *clip,
|
|
const graphene_vec2_t *scale,
|
|
const graphene_rect_t *viewport,
|
|
GskRenderNode *node,
|
|
VkImageLayout initial_layout,
|
|
VkImageLayout final_layout);
|
|
GskVulkanImage * gsk_vulkan_render_pass_op_offscreen (GskVulkanRender *render,
|
|
GdkVulkanContext *context,
|
|
const graphene_vec2_t *scale,
|
|
const graphene_rect_t *viewport,
|
|
GskRenderNode *node);
|
|
|
|
G_END_DECLS
|
|
|