gtk/gsk/vulkan/gskvulkanuploadcairoopprivate.h
Benjamin Otte 7cf7870254 vulkan: Initialize ops differently
Instead of creating the op manually, just pass in the renderpass and
have the op created from there.

This way ops aren't really initialized anymore, they are more appended
to the queue, so instead of foo_op_init() we can just call the function
foo_op().
2023-07-16 12:12:36 +02:00

17 lines
649 B
C

#pragma once
#include "gskvulkanopprivate.h"
G_BEGIN_DECLS
GskVulkanImage * gsk_vulkan_upload_cairo_op (GskVulkanRenderPass *render_pass,
GdkVulkanContext *context,
GskRenderNode *node,
const graphene_vec2_t *scale,
const graphene_rect_t *viewport);
G_END_DECLS