mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-08 03:30:17 +00:00
a6b2bcbf24
Makes code a lot simpler.
46 lines
2.9 KiB
C
46 lines
2.9 KiB
C
#pragma once
|
|
|
|
#include <gdk/gdk.h>
|
|
#include <gsk/gskrendernode.h>
|
|
|
|
#include "gskvulkanbufferprivate.h"
|
|
#include "gskvulkanprivate.h"
|
|
#include "gskvulkanrenderprivate.h"
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
|
GskVulkanRenderPass * gsk_vulkan_render_pass_new (GdkVulkanContext *context,
|
|
GskVulkanRender *render,
|
|
GskVulkanImage *target,
|
|
const graphene_vec2_t *scale,
|
|
const graphene_rect_t *viewport,
|
|
cairo_region_t *clip,
|
|
GskRenderNode *node,
|
|
gboolean is_root);
|
|
|
|
void gsk_vulkan_render_pass_free (GskVulkanRenderPass *self);
|
|
|
|
void gsk_vulkan_render_pass_print (GskVulkanRenderPass *self,
|
|
GString *string,
|
|
guint indent);
|
|
|
|
gpointer gsk_vulkan_render_pass_alloc_op (GskVulkanRenderPass *self,
|
|
gsize size);
|
|
|
|
void gsk_vulkan_render_pass_upload (GskVulkanRenderPass *self,
|
|
GskVulkanUploader *uploader);
|
|
void gsk_vulkan_render_pass_reserve_descriptor_sets (GskVulkanRenderPass *self,
|
|
GskVulkanRender *render);
|
|
gsize gsk_vulkan_render_pass_count_vertex_data (GskVulkanRenderPass *self,
|
|
gsize n_bytes);
|
|
void gsk_vulkan_render_pass_collect_vertex_data (GskVulkanRenderPass *self,
|
|
guchar *data);
|
|
void gsk_vulkan_render_pass_draw (GskVulkanRenderPass *self,
|
|
GskVulkanRender *render,
|
|
VkPipelineLayout pipeline_layout,
|
|
VkCommandBuffer command_buffer);
|
|
|
|
G_END_DECLS
|
|
|