Flutter Engine
The Flutter Engine
Namespaces | Functions
VulkanUtilsPriv.h File Reference
#include "include/core/SkColor.h"
#include "include/core/SkTextureCompressionType.h"
#include "include/gpu/vk/VulkanTypes.h"
#include "include/private/base/SkAssert.h"
#include "include/private/gpu/vk/SkiaVulkan.h"
#include "src/gpu/PipelineUtils.h"
#include "src/sksl/codegen/SkSLSPIRVCodeGenerator.h"
#include <cstdint>
#include <string>
#include <cstddef>

Go to the source code of this file.

Namespaces

namespace  SkSL
 
namespace  skgpu
 

Functions

bool skgpu::SkSLToSPIRV (const SkSL::ShaderCaps *caps, const std::string &sksl, SkSL::ProgramKind programKind, const SkSL::ProgramSettings &settings, std::string *spirv, SkSL::ProgramInterface *outInterface, ShaderErrorHandler *errorHandler)
 
static constexpr uint32_t skgpu::VkFormatChannels (VkFormat vkFormat)
 
static constexpr size_t skgpu::VkFormatBytesPerBlock (VkFormat vkFormat)
 
static constexpr SkTextureCompressionType skgpu::VkFormatToCompressionType (VkFormat vkFormat)
 
static constexpr int skgpu::VkFormatIsStencil (VkFormat format)
 
static constexpr int skgpu::VkFormatIsDepth (VkFormat format)
 
static constexpr int skgpu::VkFormatStencilBits (VkFormat format)
 
static constexpr bool skgpu::VkFormatNeedsYcbcrSampler (VkFormat format)
 
static constexpr bool skgpu::SampleCountToVkSampleCount (uint32_t samples, VkSampleCountFlagBits *vkSamples)
 
static constexpr bool skgpu::VkFormatIsCompressed (VkFormat vkFormat)
 
template<typename T >
Tskgpu::GetExtensionFeatureStruct (const VkPhysicalDeviceFeatures2 &features, VkStructureType type)
 
void skgpu::SetupSamplerYcbcrConversionInfo (VkSamplerYcbcrConversionCreateInfo *outInfo, const VulkanYcbcrConversionInfo &conversionInfo)
 
static constexpr const char * skgpu::VkFormatToStr (VkFormat vkFormat)
 
void skgpu::InvokeDeviceLostCallback (const skgpu::VulkanInterface *vulkanInterface, VkDevice vkDevice, skgpu::VulkanDeviceLostContext deviceLostContext, skgpu::VulkanDeviceLostProc deviceLostProc, bool supportsDeviceFaultInfoExtension)