mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-07 11:20:09 +00:00
7cf7870254
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().
17 lines
883 B
C
17 lines
883 B
C
#pragma once
|
|
|
|
#include "gskvulkanopprivate.h"
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
GskVulkanImage * gsk_vulkan_offscreen_op (GskVulkanRenderPass *render_pass,
|
|
GdkVulkanContext *context,
|
|
GskVulkanRender *render,
|
|
const graphene_vec2_t *scale,
|
|
const graphene_rect_t *viewport,
|
|
VkSemaphore signal_semaphore,
|
|
GskRenderNode *node);
|
|
|
|
G_END_DECLS
|
|
|