mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
9da1055575
Instead of creating a pipeline GObject, just ask for the VkPipeline. And instead of having the Op handle it, just let the renderpass look up/create the relevant pipeline while creating commands so that it can insert vkCmdBindPipeline calls as-needed.
18 lines
877 B
C
18 lines
877 B
C
#pragma once
|
|
|
|
#include "gskvulkanopprivate.h"
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
void gsk_vulkan_texture_op (GskVulkanRenderPass *render_pass,
|
|
const char *clip_type,
|
|
GskVulkanImage *image,
|
|
GskVulkanRenderSampler sampler,
|
|
const graphene_rect_t *rect,
|
|
const graphene_point_t *offset,
|
|
const graphene_rect_t *tex_rect);
|
|
|
|
|
|
G_END_DECLS
|
|
|