Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Namespaces | Functions
MtlUtilsPriv.h File Reference
import <Metal/Metal.h>
#include "include/core/SkTextureCompressionType.h"
#include "src/gpu/PipelineUtils.h"
#include "src/sksl/codegen/SkSLMetalCodeGenerator.h"

Go to the source code of this file.

Namespaces

namespace  SkSL
 
namespace  skgpu
 

Functions

bool skgpu::SkSLToMSL (const SkSL::ShaderCaps *caps, const std::string &sksl, SkSL::ProgramKind programKind, const SkSL::ProgramSettings &settings, std::string *msl, SkSL::ProgramInterface *outInterface, ShaderErrorHandler *errorHandler)
 
bool skgpu::MtlFormatIsDepthOrStencil (MTLPixelFormat format)
 
bool skgpu::MtlFormatIsDepth (MTLPixelFormat format)
 
bool skgpu::MtlFormatIsStencil (MTLPixelFormat format)
 
bool skgpu::MtlFormatIsCompressed (MTLPixelFormat mtlFormat)
 
uint32_t skgpu::MtlFormatChannels (MTLPixelFormat mtlFormat)
 
size_t skgpu::MtlFormatBytesPerBlock (MTLPixelFormat mtlFormat)
 
SkTextureCompressionType skgpu::MtlFormatToCompressionType (MTLPixelFormat mtlFormat)
 
const char * skgpu::MtlFormatToString (MTLPixelFormat mtlFormat)