Flutter Engine
The Flutter Engine
Namespaces | Functions
MtlGraphiteUtils.mm File Reference
#include "include/gpu/graphite/mtl/MtlGraphiteUtils.h"
#include "src/gpu/graphite/mtl/MtlGraphiteUtilsPriv.h"
#include "include/gpu/ShaderErrorHandler.h"
#include "include/gpu/graphite/Context.h"
#include "src/core/SkTraceEvent.h"
#include "src/gpu/graphite/ContextPriv.h"
#include "src/gpu/graphite/mtl/MtlQueueManager.h"
#include "src/gpu/graphite/mtl/MtlSharedContext.h"
#include "src/gpu/mtl/MtlUtilsPriv.h"

Go to the source code of this file.

Namespaces

namespace  skgpu
 
namespace  skgpu::graphite
 
namespace  skgpu::graphite::ContextFactory
 

Functions

SK_API std::unique_ptr< Contextskgpu::graphite::ContextFactory::MakeMetal (const MtlBackendContext &, const ContextOptions &)
 
sk_cfp< id< MTLLibrary > > skgpu::graphite::MtlCompileShaderLibrary (const MtlSharedContext *sharedContext, std::string_view label, std::string_view msl, ShaderErrorHandler *errorHandler)
 
size_t skgpu::graphite::MtlFormatBytesPerBlock (MtlPixelFormat format)
 
SkTextureCompressionType skgpu::graphite::MtlFormatToCompressionType (MtlPixelFormat format)