Home
last modified time | relevance | path

Searched refs:stencilSettings (Results 1 – 25 of 35) sorted by relevance

12

/external/skia/src/gpu/ops/
DGrSimpleMeshDrawOpHelperWithStencil.cpp13 const GrUserStencilSettings* stencilSettings, in GrSimpleMeshDrawOpHelperWithStencil() argument
16 , fStencilSettings(stencilSettings ? stencilSettings : &GrUserStencilSettings::kUnused) {} in GrSimpleMeshDrawOpHelperWithStencil()
66 this->stencilSettings()); in createProgramInfoWithStencil()
DGrRegionOp.cpp46 const GrUserStencilSettings* stencilSettings = nullptr) { in Make() argument
48 aaType, stencilSettings); in Make()
53 const GrUserStencilSettings* stencilSettings) in RegionOp() argument
55 , fHelper(processorSet, aaType, stencilSettings) in RegionOp()
207 const GrUserStencilSettings* stencilSettings) { in Make() argument
211 return RegionOp::Make(context, std::move(paint), viewMatrix, region, aaType, stencilSettings); in Make()
DGrSimpleMeshDrawOpHelper.cpp179 const GrUserStencilSettings* stencilSettings) { in CreateProgramInfo() argument
189 renderPassXferBarriers, colorLoadOp, stencilSettings); in CreateProgramInfo()
199 … const GrUserStencilSettings* stencilSettings) { in CreateProgramInfo() argument
202 stencilSettings, in CreateProgramInfo()
DGrAALinearizingConvexPathRenderer.cpp144 const GrUserStencilSettings* stencilSettings) { in Make() argument
148 stencilSettings); in Make()
159 const GrUserStencilSettings* stencilSettings) in AAFlatteningConvexPathOp() argument
160 : INHERITED(ClassID()), fHelper(processorSet, GrAAType::kCoverage, stencilSettings) { in AAFlatteningConvexPathOp()
439 const GrUserStencilSettings* stencilSettings = GrGetRandomStencil(random, context); in GR_DRAW_OP_TEST_DEFINE() local
441 style, join, miterLimit, stencilSettings); in GR_DRAW_OP_TEST_DEFINE()
DGrFillRectOp.cpp69 const GrUserStencilSettings* stencilSettings, in Make() argument
75 stencilSettings, inputFlags); in Make()
485 const GrUserStencilSettings* stencilSettings, in MakeOp() argument
495 &quad, stencilSettings, InputFlags::kNone); in MakeOp()
527 const GrUserStencilSettings* stencilSettings) { in AddFillRectOps() argument
535 &quads[offset], numLeft, stencilSettings, in AddFillRectOps()
DGrRegionOp.h28 const GrUserStencilSettings* stencilSettings = nullptr);
DGrTriangulatingPathRenderer.cpp247 const GrUserStencilSettings* stencilSettings) { in Make() argument
250 stencilSettings); in Make()
269 const GrUserStencilSettings* stencilSettings) in TriangulatingPathOp() argument
271 , fHelper(processorSet, aaType, stencilSettings) in TriangulatingPathOp()
DGrSmallPathRenderer.cpp110 const GrUserStencilSettings* stencilSettings) { in Make() argument
112 gammaCorrect, stencilSettings); in Make()
117 const GrUserStencilSettings* stencilSettings) in SmallPathOp() argument
119 , fHelper(processorSet, GrAAType::kCoverage, stencilSettings) { in SmallPathOp()
626 fHelper.stencilSettings()); in onExecute()
DGrAAConvexPathRenderer.cpp719 const GrUserStencilSettings* stencilSettings) { in Make() argument
721 stencilSettings); in Make()
726 const GrUserStencilSettings* stencilSettings) in AAConvexPathOp() argument
727 : INHERITED(ClassID()), fHelper(processorSet, GrAAType::kCoverage, stencilSettings) { in AAConvexPathOp()
945 const GrUserStencilSettings* stencilSettings = GrGetRandomStencil(random, context); in GR_DRAW_OP_TEST_DEFINE() local
946 return AAConvexPathOp::Make(context, std::move(paint), viewMatrix, path, stencilSettings); in GR_DRAW_OP_TEST_DEFINE()
DGrDefaultPathRenderer.cpp372 const GrUserStencilSettings* stencilSettings) { in Make() argument
375 devBounds, stencilSettings); in Make()
391 const GrUserStencilSettings* stencilSettings) in DefaultPathOp() argument
393 , fHelper(processorSet, aaType, stencilSettings) in DefaultPathOp()
/external/skqp/src/gpu/gl/
DGrGLPathRendering.cpp248 void GrGLPathRendering::flushPathStencilSettings(const GrStencilSettings& stencilSettings) { in flushPathStencilSettings() argument
249 if (fHWPathStencilSettings != stencilSettings) { in flushPathStencilSettings()
250 SkASSERT(stencilSettings.isValid()); in flushPathStencilSettings()
253 uint16_t ref = stencilSettings.front().fRef; in flushPathStencilSettings()
254 GrStencilTest test = stencilSettings.front().fTest; in flushPathStencilSettings()
255 uint16_t testMask = stencilSettings.front().fTestMask; in flushPathStencilSettings()
263 fHWPathStencilSettings = stencilSettings; in flushPathStencilSettings()
/external/skqp/src/gpu/ops/
DGrRegionOp.cpp46 const GrUserStencilSettings* stencilSettings = nullptr) { in Make() argument
48 aaType, stencilSettings); in Make()
53 const GrUserStencilSettings* stencilSettings) in RegionOp() argument
55 , fHelper(helperArgs, aaType, stencilSettings) in RegionOp()
176 const GrUserStencilSettings* stencilSettings) { in Make() argument
180 return RegionOp::Make(context, std::move(paint), viewMatrix, region, aaType, stencilSettings); in Make()
DGrFillRectOp.cpp63 const GrUserStencilSettings* stencilSettings, in Make() argument
71 stencilSettings, deviceQuad, deviceQuadType, localQuad, localQuadType); in Make()
170 const GrUserStencilSettings* stencilSettings);
340 const GrUserStencilSettings* stencilSettings) { in MakePerEdge() argument
341 return FillRectOp::Make(context, std::move(paint), aaType, edgeAA, stencilSettings, in MakePerEdge()
353 const GrUserStencilSettings* stencilSettings) { in MakePerEdgeWithLocalMatrix() argument
355 return FillRectOp::Make(context, std::move(paint), aaType, edgeAA, stencilSettings, in MakePerEdgeWithLocalMatrix()
367 const GrUserStencilSettings* stencilSettings) { in MakePerEdgeWithLocalRect() argument
368 return FillRectOp::Make(context, std::move(paint), aaType, edgeAA, stencilSettings, in MakePerEdgeWithLocalRect()
379 const GrUserStencilSettings* stencilSettings) { in MakeSet() argument
[all …]
DGrAALinearizingConvexPathRenderer.cpp131 const GrUserStencilSettings* stencilSettings) { in Make() argument
135 stencilSettings); in Make()
146 const GrUserStencilSettings* stencilSettings) in AAFlatteningConvexPathOp() argument
147 : INHERITED(ClassID()), fHelper(helperArgs, GrAAType::kCoverage, stencilSettings) { in AAFlatteningConvexPathOp()
382 const GrUserStencilSettings* stencilSettings = GrGetRandomStencil(random, context); in GR_DRAW_OP_TEST_DEFINE() local
384 style, join, miterLimit, stencilSettings); in GR_DRAW_OP_TEST_DEFINE()
DGrSimpleMeshDrawOpHelper.cpp162 const MakeArgs& args, GrAAType aaType, const GrUserStencilSettings* stencilSettings, in GrSimpleMeshDrawOpHelperWithStencil() argument
165 , fStencilSettings(stencilSettings ? stencilSettings : &GrUserStencilSettings::kUnused) {} in GrSimpleMeshDrawOpHelperWithStencil()
DGrTessellatingPathRenderer.cpp182 const GrUserStencilSettings* stencilSettings) { in Make() argument
185 aaType, stencilSettings); in Make()
210 const GrUserStencilSettings* stencilSettings) in TessellatingPathOp() argument
212 , fHelper(helperArgs, aaType, stencilSettings) in TessellatingPathOp()
DGrRegionOp.h27 const GrUserStencilSettings* stencilSettings = nullptr);
DGrAAConvexPathRenderer.cpp678 const GrUserStencilSettings* stencilSettings) { in Make() argument
680 stencilSettings); in Make()
685 const GrUserStencilSettings* stencilSettings) in AAConvexPathOp() argument
686 : INHERITED(ClassID()), fHelper(helperArgs, GrAAType::kCoverage, stencilSettings) { in AAConvexPathOp()
856 const GrUserStencilSettings* stencilSettings = GrGetRandomStencil(random, context); in GR_DRAW_OP_TEST_DEFINE() local
857 return AAConvexPathOp::Make(context, std::move(paint), viewMatrix, path, stencilSettings); in GR_DRAW_OP_TEST_DEFINE()
DGrDefaultPathRenderer.cpp351 const GrUserStencilSettings* stencilSettings) { in Make() argument
354 devBounds, stencilSettings); in Make()
379 const GrUserStencilSettings* stencilSettings) in DefaultPathOp() argument
381 , fHelper(helperArgs, aaType, stencilSettings) in DefaultPathOp()
/external/skia/src/gpu/d3d/
DGrD3DOpsRenderPass.cpp78 GrStencilSettings stencilSettings = info.nonGLStencilSettings(); in set_stencil_ref() local
79 if (!stencilSettings.isDisabled()) { in set_stencil_ref()
81 if (stencilSettings.isTwoSided()) { in set_stencil_ref()
82 SkASSERT(stencilSettings.postOriginCCWFace(info.origin()).fRef == in set_stencil_ref()
83 stencilSettings.postOriginCWFace(info.origin()).fRef); in set_stencil_ref()
84 stencilRef = stencilSettings.postOriginCCWFace(info.origin()).fRef; in set_stencil_ref()
86 stencilRef = stencilSettings.singleSidedFace().fRef; in set_stencil_ref()
DGrD3DPipelineStateBuilder.cpp455 GrStencilSettings stencilSettings = programInfo.nonGLStencilSettings(); in fill_in_depth_stencil_state() local
461 dsDesc->StencilEnable = !stencilSettings.isDisabled(); in fill_in_depth_stencil_state()
462 if (!stencilSettings.isDisabled()) { in fill_in_depth_stencil_state()
463 if (stencilSettings.isTwoSided()) { in fill_in_depth_stencil_state()
464 const auto& frontFace = stencilSettings.postOriginCCWFace(origin); in fill_in_depth_stencil_state()
465 const auto& backFace = stencilSettings.postOriginCWFace(origin); in fill_in_depth_stencil_state()
475 dsDesc->StencilReadMask = stencilSettings.singleSidedFace().fTestMask; in fill_in_depth_stencil_state()
476 dsDesc->StencilWriteMask = stencilSettings.singleSidedFace().fWriteMask; in fill_in_depth_stencil_state()
477 setup_stencilop_desc(&dsDesc->FrontFace, stencilSettings.singleSidedFace()); in fill_in_depth_stencil_state()
/external/skia/tools/gpu/
DProxyUtils.cpp102 const GrUserStencilSettings* stencilSettings) { in CreateProgramInfo() argument
110 &appliedClip, stencilSettings, *caps, in CreateProgramInfo()
118 colorLoadOp, flags, stencilSettings); in CreateProgramInfo()
/external/skia/src/gpu/vk/
DGrVkPipeline.cpp240 const GrStencilSettings& stencilSettings, in setup_depth_stencil_state() argument
253 stencilInfo->stencilTestEnable = !stencilSettings.isDisabled(); in setup_depth_stencil_state()
254 if (!stencilSettings.isDisabled()) { in setup_depth_stencil_state()
255 if (!stencilSettings.isTwoSided()) { in setup_depth_stencil_state()
256 setup_stencil_op_state(&stencilInfo->front, stencilSettings.singleSidedFace()); in setup_depth_stencil_state()
259 setup_stencil_op_state(&stencilInfo->front, stencilSettings.postOriginCCWFace(origin)); in setup_depth_stencil_state()
260 setup_stencil_op_state(&stencilInfo->back, stencilSettings.postOriginCWFace(origin)); in setup_depth_stencil_state()
499 const GrStencilSettings& stencilSettings, in Make() argument
525 setup_depth_stencil_state(stencilSettings, origin, &depthStencilInfo); in Make()
/external/skqp/src/gpu/vk/
DGrVkPipeline.cpp223 static void setup_depth_stencil_state(const GrStencilSettings& stencilSettings, in setup_depth_stencil_state() argument
234 stencilInfo->stencilTestEnable = !stencilSettings.isDisabled(); in setup_depth_stencil_state()
235 if (!stencilSettings.isDisabled()) { in setup_depth_stencil_state()
237 const GrStencilSettings::Face& front = stencilSettings.front(); in setup_depth_stencil_state()
247 if (!stencilSettings.isTwoSided()) { in setup_depth_stencil_state()
250 const GrStencilSettings::Face& back = stencilSettings.back(); in setup_depth_stencil_state()
/external/skia/src/gpu/dawn/
DGrDawnProgramBuilder.cpp205 GrStencilSettings stencilSettings = programInfo.nonGLStencilSettings(); in create_depth_stencil_state() local
210 if (!stencilSettings.isDisabled()) { in create_depth_stencil_state()
211 if (stencilSettings.isTwoSided()) { in create_depth_stencil_state()
212 auto front = stencilSettings.postOriginCCWFace(origin); in create_depth_stencil_state()
213 auto back = stencilSettings.postOriginCWFace(origin); in create_depth_stencil_state()
219 auto frontAndBack = stencilSettings.singleSidedFace(); in create_depth_stencil_state()

12