Flutter Engine
The Flutter Engine
Namespaces | Functions
MtlUtils.mm File Reference
#include "src/gpu/mtl/MtlUtilsPriv.h"
#include "include/gpu/ShaderErrorHandler.h"
#include "src/core/SkImageInfoPriv.h"
#include "src/sksl/SkSLCompiler.h"
#include "src/sksl/SkSLProgramSettings.h"
#include "src/utils/SkShaderUtils.h"

Go to the source code of this file.

Namespaces

namespace  skgpu
 

Functions

bool skgpu::MtlFormatIsDepthOrStencil (MTLPixelFormat format)
 
bool skgpu::MtlFormatIsDepth (MTLPixelFormat format)
 
bool skgpu::MtlFormatIsStencil (MTLPixelFormat format)
 
bool skgpu::MtlFormatIsCompressed (MTLPixelFormat mtlFormat)
 
const char * skgpu::MtlFormatToString (MTLPixelFormat mtlFormat)
 
uint32_t skgpu::MtlFormatChannels (MTLPixelFormat mtlFormat)
 
size_t skgpu::MtlFormatBytesPerBlock (MTLPixelFormat mtlFormat)
 
SkTextureCompressionType skgpu::MtlFormatToCompressionType (MTLPixelFormat mtlFormat)