Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
formats_vk.h File Reference
#include <cstdint>
#include <ostream>
#include "flutter/fml/hash_combine.h"
#include "flutter/fml/macros.h"
#include "impeller/base/validation.h"
#include "impeller/core/formats.h"
#include "impeller/core/shader_types.h"
#include "impeller/renderer/backend/vulkan/vk.h"
#include "vulkan/vulkan_enums.hpp"

Go to the source code of this file.

Namespaces

namespace  impeller
 

Functions

constexpr vk::SampleCountFlagBits impeller::ToVKSampleCountFlagBits (SampleCount count)
 
constexpr vk::BlendFactor impeller::ToVKBlendFactor (BlendFactor factor)
 
constexpr vk::BlendOp impeller::ToVKBlendOp (BlendOperation op)
 
constexpr vk::ColorComponentFlags impeller::ToVKColorComponentFlags (ColorWriteMask type)
 
constexpr vk::PipelineColorBlendAttachmentState impeller::ToVKPipelineColorBlendAttachmentState (const ColorAttachmentDescriptor &desc)
 
constexpr std::optional< vk::ShaderStageFlagBits > impeller::ToVKShaderStageFlagBits (ShaderStage stage)
 
constexpr vk::Format impeller::ToVKImageFormat (PixelFormat format)
 
constexpr PixelFormat impeller::ToPixelFormat (vk::Format format)
 
constexpr vk::SampleCountFlagBits impeller::ToVKSampleCount (SampleCount sample_count)
 
constexpr vk::Filter impeller::ToVKSamplerMinMagFilter (MinMagFilter filter)
 
constexpr vk::SamplerMipmapMode impeller::ToVKSamplerMipmapMode (MipFilter filter)
 
constexpr vk::SamplerAddressMode impeller::ToVKSamplerAddressMode (SamplerAddressMode mode)
 
constexpr vk::ShaderStageFlags impeller::ToVkShaderStage (ShaderStage stage)
 
constexpr vk::DescriptorType impeller::ToVKDescriptorType (DescriptorType type)
 
constexpr vk::DescriptorSetLayoutBinding impeller::ToVKDescriptorSetLayoutBinding (const DescriptorSetLayout &layout)
 
constexpr vk::AttachmentLoadOp impeller::ToVKAttachmentLoadOp (LoadAction load_action)
 
constexpr vk::AttachmentStoreOp impeller::ToVKAttachmentStoreOp (StoreAction store_action, bool is_resolve_texture)
 
constexpr bool impeller::StoreActionPerformsResolve (StoreAction store_action)
 
constexpr vk::IndexType impeller::ToVKIndexType (IndexType index_type)
 
constexpr vk::PolygonMode impeller::ToVKPolygonMode (PolygonMode mode)
 
constexpr vk::PrimitiveTopology impeller::ToVKPrimitiveTopology (PrimitiveType primitive)
 
constexpr bool impeller::PixelFormatIsDepthStencil (PixelFormat format)
 
constexpr vk::CullModeFlags impeller::ToVKCullModeFlags (CullMode mode)
 
constexpr vk::CompareOp impeller::ToVKCompareOp (CompareFunction op)
 
constexpr vk::StencilOp impeller::ToVKStencilOp (StencilOperation op)
 
constexpr vk::StencilOpState impeller::ToVKStencilOpState (const StencilAttachmentDescriptor &desc)
 
constexpr vk::ImageAspectFlags impeller::ToVKImageAspectFlags (PixelFormat format)
 
constexpr uint32_t impeller::ToArrayLayerCount (TextureType type)
 
constexpr vk::ImageViewType impeller::ToVKImageViewType (TextureType type)
 
constexpr vk::ImageCreateFlags impeller::ToVKImageCreateFlags (TextureType type)
 
vk::PipelineDepthStencilStateCreateInfo impeller::ToVKPipelineDepthStencilStateCreateInfo (std::optional< DepthAttachmentDescriptor > depth, std::optional< StencilAttachmentDescriptor > front, std::optional< StencilAttachmentDescriptor > back)
 
constexpr vk::ImageAspectFlags impeller::ToImageAspectFlags (PixelFormat format)
 

Variables

static constexpr vk::AttachmentReference impeller::kUnusedAttachmentReference