forked from AuroraMiddleware/gtk
e68b18aa4e
That way, different pipelines can draw different kinds of data.
32 lines
1.7 KiB
C
32 lines
1.7 KiB
C
#ifndef __GSK_VULKAN_BLEND_PIPELINE_PRIVATE_H__
|
|
#define __GSK_VULKAN_BLEND_PIPELINE_PRIVATE_H__
|
|
|
|
#include <graphene.h>
|
|
|
|
#include "gskvulkanpipelineprivate.h"
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
typedef struct _GskVulkanBlendPipelineLayout GskVulkanBlendPipelineLayout;
|
|
|
|
#define GSK_TYPE_VULKAN_BLEND_PIPELINE (gsk_vulkan_blend_pipeline_get_type ())
|
|
|
|
G_DECLARE_FINAL_TYPE (GskVulkanBlendPipeline, gsk_vulkan_blend_pipeline, GSK, VULKAN_BLEND_PIPELINE, GskVulkanPipeline)
|
|
|
|
GskVulkanPipeline * gsk_vulkan_blend_pipeline_new (GskVulkanPipelineLayout * layout,
|
|
const char *shader_name,
|
|
VkRenderPass render_pass);
|
|
|
|
gsize gsk_vulkan_blend_pipeline_count_vertex_data (GskVulkanBlendPipeline *pipeline);
|
|
void gsk_vulkan_blend_pipeline_collect_vertex_data (GskVulkanBlendPipeline *pipeline,
|
|
guchar *data,
|
|
const graphene_rect_t *rect);
|
|
gsize gsk_vulkan_blend_pipeline_draw (GskVulkanBlendPipeline *pipeline,
|
|
VkCommandBuffer command_buffer,
|
|
gsize offset,
|
|
gsize n_commands);
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* __GSK_VULKAN_BLEND_PIPELINE_PRIVATE_H__ */
|