gtk/gsk/vulkan/gskvulkanuploadopprivate.h
Benjamin Otte 492507af11 vulkan: Stop keeping the context around
These days, we can query it with gsk_vulkan_render_get_context().

Makes quite a few functions require one less argument.
And it also makes the GskVulkanRenderPass empty. Gotta figure out what
to do with it.
2023-07-19 21:30:35 +02:00

24 lines
1.4 KiB
C

#pragma once
#include "gskvulkanopprivate.h"
G_BEGIN_DECLS
GskVulkanImage * gsk_vulkan_upload_texture_op (GskVulkanRender *render,
GdkTexture *texture);
GskVulkanImage * gsk_vulkan_upload_cairo_op (GskVulkanRender *render,
GskRenderNode *node,
const graphene_vec2_t *scale,
const graphene_rect_t *viewport);
void gsk_vulkan_upload_glyph_op (GskVulkanRender *render,
GskVulkanImage *image,
cairo_rectangle_int_t *area,
PangoFont *font,
PangoGlyphInfo *glyph_info,
float scale);
G_END_DECLS