2016-12-17 23:57:37 +00:00
|
|
|
#ifndef __GSK_VULKAN_BLEND_PIPELINE_PRIVATE_H__
|
|
|
|
#define __GSK_VULKAN_BLEND_PIPELINE_PRIVATE_H__
|
|
|
|
|
2016-12-18 00:45:07 +00:00
|
|
|
#include <graphene.h>
|
2016-12-17 23:57:37 +00:00
|
|
|
|
|
|
|
#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);
|
|
|
|
|
2016-12-18 00:45:07 +00:00
|
|
|
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);
|
|
|
|
|
2016-12-17 23:57:37 +00:00
|
|
|
G_END_DECLS
|
|
|
|
|
|
|
|
#endif /* __GSK_VULKAN_BLEND_PIPELINE_PRIVATE_H__ */
|