Flutter Engine
The Flutter Engine
Namespaces | Functions
VulkanGraphicsPipeline.cpp File Reference
#include "src/gpu/graphite/vk/VulkanGraphicsPipeline.h"
#include "include/gpu/ShaderErrorHandler.h"
#include "include/gpu/graphite/TextureInfo.h"
#include "include/private/base/SkTArray.h"
#include "src/core/SkSLTypeShared.h"
#include "src/core/SkTraceEvent.h"
#include "src/gpu/PipelineUtils.h"
#include "src/gpu/graphite/Attribute.h"
#include "src/gpu/graphite/ContextUtils.h"
#include "src/gpu/graphite/GraphicsPipelineDesc.h"
#include "src/gpu/graphite/Log.h"
#include "src/gpu/graphite/RenderPassDesc.h"
#include "src/gpu/graphite/RendererProvider.h"
#include "src/gpu/graphite/RuntimeEffectDictionary.h"
#include "src/gpu/graphite/vk/VulkanCaps.h"
#include "src/gpu/graphite/vk/VulkanRenderPass.h"
#include "src/gpu/graphite/vk/VulkanSharedContext.h"
#include "src/gpu/vk/VulkanUtilsPriv.h"
#include "src/sksl/SkSLProgramKind.h"
#include "src/sksl/SkSLProgramSettings.h"
#include "src/sksl/ir/SkSLProgram.h"

Go to the source code of this file.

Namespaces

namespace  skgpu
 
namespace  skgpu::graphite
 

Functions

static VkFormat skgpu::graphite::attrib_type_to_vkformat (VertexAttribType type)
 
static void skgpu::graphite::setup_vertex_input_state (const SkSpan< const Attribute > &vertexAttrs, const SkSpan< const Attribute > &instanceAttrs, VkPipelineVertexInputStateCreateInfo *vertexInputInfo, skia_private::STArray< 2, VkVertexInputBindingDescription, true > *bindingDescs, skia_private::STArray< 16, VkVertexInputAttributeDescription > *attributeDescs)
 
static VkPrimitiveTopology skgpu::graphite::primitive_type_to_vk_topology (PrimitiveType primitiveType)
 
static void skgpu::graphite::setup_input_assembly_state (PrimitiveType primitiveType, VkPipelineInputAssemblyStateCreateInfo *inputAssemblyInfo)
 
static VkStencilOp skgpu::graphite::stencil_op_to_vk_stencil_op (StencilOp op)
 
static VkCompareOp skgpu::graphite::compare_op_to_vk_compare_op (CompareOp op)
 
static void skgpu::graphite::setup_stencil_op_state (VkStencilOpState *opState, const DepthStencilSettings::Face &face, uint32_t referenceValue)
 
static void skgpu::graphite::setup_depth_stencil_state (const DepthStencilSettings &stencilSettings, VkPipelineDepthStencilStateCreateInfo *stencilInfo)
 
static void skgpu::graphite::setup_viewport_scissor_state (VkPipelineViewportStateCreateInfo *viewportInfo)
 
static void skgpu::graphite::setup_multisample_state (int numSamples, VkPipelineMultisampleStateCreateInfo *multisampleInfo)
 
static VkBlendFactor skgpu::graphite::blend_coeff_to_vk_blend (skgpu::BlendCoeff coeff)
 
static VkBlendOp skgpu::graphite::blend_equation_to_vk_blend_op (skgpu::BlendEquation equation)
 
static void skgpu::graphite::setup_color_blend_state (const skgpu::BlendInfo &blendInfo, VkPipelineColorBlendStateCreateInfo *colorBlendInfo, VkPipelineColorBlendAttachmentState *attachmentState)
 
static void skgpu::graphite::setup_raster_state (bool isWireframe, VkPipelineRasterizationStateCreateInfo *rasterInfo)
 
static void skgpu::graphite::setup_shader_stage_info (VkShaderStageFlagBits stage, VkShaderModule shaderModule, VkPipelineShaderStageCreateInfo *shaderStageInfo)
 
static VkDescriptorSetLayout skgpu::graphite::descriptor_data_to_layout (const VulkanSharedContext *sharedContext, const SkSpan< DescriptorData > &descriptorData)
 
static void skgpu::graphite::destroy_desc_set_layouts (const VulkanSharedContext *sharedContext, skia_private::TArray< VkDescriptorSetLayout > &setLayouts)
 
static VkPipelineLayout skgpu::graphite::setup_pipeline_layout (const VulkanSharedContext *sharedContext, bool usesIntrinsicConstantUbo, bool hasStepUniforms, int numPaintUniforms, int numTextureSamplers, int numInputAttachments)
 
static void skgpu::graphite::destroy_shader_modules (const VulkanSharedContext *sharedContext, VkShaderModule vsModule, VkShaderModule fsModule)
 
static void skgpu::graphite::setup_dynamic_state (VkPipelineDynamicStateCreateInfo *dynamicInfo, VkDynamicState *dynamicStates)