Flutter Engine
The Flutter Engine
|
#include <GrMtlResourceProvider.h>
Public Member Functions | |
GrMtlResourceProvider (GrMtlGpu *gpu) | |
GrMtlPipelineState * | findOrCreateCompatiblePipelineState (const GrProgramDesc &, const GrProgramInfo &, GrThreadSafePipelineBuilder::Stats::ProgramCacheResult *stat=nullptr) |
bool | precompileShader (const SkData &key, const SkData &data) |
GrMtlDepthStencil * | findOrCreateCompatibleDepthStencilState (const GrStencilSettings &, GrSurfaceOrigin) |
GrMtlSampler * | findOrCreateCompatibleSampler (GrSamplerState) |
const GrMtlRenderPipeline * | findOrCreateMSAALoadPipeline (MTLPixelFormat colorFormat, int sampleCount, MTLPixelFormat stencilFormat) |
void | destroyResources () |
Definition at line 28 of file GrMtlResourceProvider.h.
GR_NORETAIN_BEGIN GrMtlResourceProvider::GrMtlResourceProvider | ( | GrMtlGpu * | gpu | ) |
Definition at line 28 of file GrMtlResourceProvider.mm.
void GrMtlResourceProvider::destroyResources | ( | ) |
Definition at line 157 of file GrMtlResourceProvider.mm.
GrMtlDepthStencil * GrMtlResourceProvider::findOrCreateCompatibleDepthStencilState | ( | const GrStencilSettings & | stencil, |
GrSurfaceOrigin | origin | ||
) |
Definition at line 46 of file GrMtlResourceProvider.mm.
GrMtlPipelineState * GrMtlResourceProvider::findOrCreateCompatiblePipelineState | ( | const GrProgramDesc & | programDesc, |
const GrProgramInfo & | programInfo, | ||
GrThreadSafePipelineBuilder::Stats::ProgramCacheResult * | stat = nullptr |
||
) |
Definition at line 33 of file GrMtlResourceProvider.mm.
GrMtlSampler * GrMtlResourceProvider::findOrCreateCompatibleSampler | ( | GrSamplerState | params | ) |
Definition at line 59 of file GrMtlResourceProvider.mm.
const GrMtlRenderPipeline * GrMtlResourceProvider::findOrCreateMSAALoadPipeline | ( | MTLPixelFormat | colorFormat, |
int | sampleCount, | ||
MTLPixelFormat | stencilFormat | ||
) |
Definition at line 70 of file GrMtlResourceProvider.mm.
Definition at line 40 of file GrMtlResourceProvider.mm.