mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
492507af11
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.
24 lines
1.4 KiB
C
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
|
|
|