8#ifndef GrMtlPipeline_DEFINED
9#define GrMtlPipeline_DEFINED
13#import <Metal/Metal.h>
23#ifdef SK_TRACE_MANAGED_RESOURCES
26 void dumpInfo()
const override {
27 SkDebugf(
"GrMtlRenderPipeline: %p (%ld refs)\n", fPipelineState,
28 CFGetRetainCount((CFTypeRef)fPipelineState));
41 , fPipelineState(pso) {
44 mutable id<MTLRenderPipelineState> fPipelineState;
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
static sk_sp< GrMtlRenderPipeline > Make(id< MTLRenderPipelineState > pso)
id< MTLRenderPipelineState > mtlPipelineState() const
void freeGPUData() const override