Home
last modified time | relevance | path

Searched refs:GrMtlDepthStencil (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/gpu/mtl/
DGrMtlDepthStencil.h21 class GrMtlDepthStencil : public SkRefCnt {
23 static GrMtlDepthStencil* Create(const GrMtlGpu*, const GrStencilSettings&, GrSurfaceOrigin);
25 ~GrMtlDepthStencil() override { fMtlDepthStencilState = nil; } in ~GrMtlDepthStencil()
51 static const Key& GetKey(const GrMtlDepthStencil& depthStencil) { return depthStencil.fKey; } in GetKey()
57 GrMtlDepthStencil(id<MTLDepthStencilState> mtlDepthStencilState, Key key) in GrMtlDepthStencil() function
DGrMtlDepthStencil.mm9 #include "src/gpu/mtl/GrMtlDepthStencil.h"
74 GrMtlDepthStencil* GrMtlDepthStencil::Create(const GrMtlGpu* gpu,
89 return new GrMtlDepthStencil([gpu->device() newDepthStencilStateWithDescriptor: desc],
93 void skia_stencil_to_key(GrStencilSettings::Face face, GrMtlDepthStencil::Key::Face* faceKey) {
110 GrMtlDepthStencil::Key GrMtlDepthStencil::GenerateKey(const GrStencilSettings& stencil,
DGrMtlResourceProvider.h35 GrMtlDepthStencil* findOrCreateCompatibleDepthStencilState(const GrStencilSettings&,
86 SkTDynamicHash<GrMtlDepthStencil, GrMtlDepthStencil::Key> fDepthStencilStates;
DGrMtlResourceProvider.mm45 GrMtlDepthStencil* GrMtlResourceProvider::findOrCreateCompatibleDepthStencilState(
47 GrMtlDepthStencil* depthStencilState;
48 GrMtlDepthStencil::Key key = GrMtlDepthStencil::GenerateKey(stencil, origin);
51 depthStencilState = GrMtlDepthStencil::Create(fGpu, stencil, origin);
73 fDepthStencilStates.foreach([&](GrMtlDepthStencil* stencil) { stencil->unref(); });
DGrMtlPipelineState.mm178 GrMtlDepthStencil* state =
/external/skia/gn/
Dgpu.gni817 "$_src/gpu/mtl/GrMtlDepthStencil.h",
818 "$_src/gpu/mtl/GrMtlDepthStencil.mm",