mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 14:00: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().
18 lines
876 B
C
18 lines
876 B
C
#pragma once
|
|
|
|
#include "gskvulkanopprivate.h"
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
void gsk_vulkan_texture_op (GskVulkanRenderPass *render_pass,
|
|
GskVulkanPipeline *pipeline,
|
|
GskVulkanImage *image,
|
|
GskVulkanRenderSampler sampler,
|
|
const graphene_rect_t *rect,
|
|
const graphene_point_t *offset,
|
|
const graphene_rect_t *tex_rect);
|
|
|
|
|
|
G_END_DECLS
|
|
|