gtk/gsk/vulkan/gskvulkanuploadopprivate.h
Benjamin Otte 94a64329c2 vulkan: Add new renderops for texture rendering
Adds 2 ops:

- Upload
  Creates a new Vulkan image and uploads data into it

- Texture
  Draws a given image

These 2 ops are then used for GskTextureNodes.
2023-07-16 12:12:36 +02:00

16 lines
509 B
C

#pragma once
#include "gskvulkanopprivate.h"
G_BEGIN_DECLS
gsize gsk_vulkan_upload_op_size (void) G_GNUC_CONST;
GskVulkanImage * gsk_vulkan_upload_op_init_texture (GskVulkanOp *op,
GdkVulkanContext *context,
GdkTexture *texture);
G_END_DECLS