Lines Matching refs:stencil
75 const GrStencilSettings& stencil,
78 if (!stencil.isDisabled()) {
79 if (stencil.isTwoSided()) {
80 desc.frontFaceStencil = skia_stencil_to_mtl(stencil.postOriginCCWFace(origin));
81 desc.backFaceStencil = skia_stencil_to_mtl(stencil.postOriginCWFace(origin));
84 desc.frontFaceStencil = skia_stencil_to_mtl(stencil.singleSidedFace());
90 GenerateKey(stencil, origin));
110 GrMtlDepthStencil::Key GrMtlDepthStencil::GenerateKey(const GrStencilSettings& stencil,
114 if (stencil.isDisabled()) {
117 if (stencil.isTwoSided()) {
118 skia_stencil_to_key(stencil.postOriginCCWFace(origin), &depthStencilKey.fFront);
119 skia_stencil_to_key(stencil.postOriginCWFace(origin), &depthStencilKey.fBack);
122 skia_stencil_to_key(stencil.singleSidedFace(), &depthStencilKey.fFront);