Home
last modified time | relevance | path

Searched refs:appliedClip (Results 1 – 25 of 51) sorted by relevance

123

/third_party/flutter/skia/src/gpu/
DGrPipeline.cpp21 GrAppliedClip&& appliedClip) in GrPipeline() argument
26 if (appliedClip.hasStencilClip()) { in GrPipeline()
29 if (appliedClip.scissorState().enabled()) { in GrPipeline()
33 fWindowRectsState = appliedClip.windowRectsState(); in GrPipeline()
53 appliedClip.numClipCoverageFragmentProcessors(); in GrPipeline()
63 for (int i = 0; i < appliedClip.numClipCoverageFragmentProcessors(); ++i, ++currFPIdx) { in GrPipeline()
64 fFragmentProcessors[currFPIdx] = appliedClip.detachClipCoverageFragmentProcessor(i); in GrPipeline()
DGrRenderTargetOpList.cpp125 GrAppliedClip* appliedClip, const DstProxy* dstProxy) in OpChain() argument
128 , fAppliedClip(appliedClip) {
237 const GrAppliedClip* appliedClip, const SkRect& bounds, const GrCaps& caps, in tryConcat() argument
245 SkToBool(fAppliedClip) != SkToBool(appliedClip) || in tryConcat()
246 (fAppliedClip && *fAppliedClip != *appliedClip) || in tryConcat()
319 const DstProxy* dstProxy, const GrAppliedClip* appliedClip, const GrCaps& caps, in appendOp() argument
329 &chain, processorAnalysis, *dstProxy, appliedClip, opBounds, caps, pool, auditTrail)) { in appendOp()
429 chain.appliedClip(), in onPrepare()
524 chain.appliedClip(), in onExecute()
/third_party/flutter/skia/src/gpu/ops/
DGrStencilAndCoverPathRenderer.cpp106 GrAppliedClip appliedClip; in onDrawPath() local
108 args.fContext, args.fRenderTargetContext, doStencilMSAA, true, &appliedClip, in onDrawPath()
112 GrStencilClip stencilClip(appliedClip.stencilStackID()); in onDrawPath()
113 if (appliedClip.scissorState().enabled()) { in onDrawPath()
114 stencilClip.fixedClip().setScissor(appliedClip.scissorState().rect()); in onDrawPath()
116 if (appliedClip.windowRectsState().enabled()) { in onDrawPath()
117 stencilClip.fixedClip().setWindowRectangles(appliedClip.windowRectsState().windows(), in onDrawPath()
118 appliedClip.windowRectsState().mode()); in onDrawPath()
DGrDrawPathOp.cpp70 const GrAppliedClip* appliedClip = flushState.drawOpArgs().fAppliedClip; in init_stencil_pass_settings() local
71 bool stencilClip = appliedClip && appliedClip->hasStencilClip(); in init_stencil_pass_settings()
89 GrAppliedClip appliedClip = state->detachAppliedClip(); in onExecute() local
90 GrPipeline::FixedDynamicState fixedDynamicState(appliedClip.scissorState().rect()); in onExecute()
92 std::move(appliedClip)); in onExecute()
/third_party/skia/src/gpu/
DGrOpFlushState.h62 GrAppliedClip* appliedClip, const GrDstProxyView& dstProxyView, in OpArgs()
68 , fAppliedClip(appliedClip) in OpArgs()
80 GrAppliedClip* appliedClip() { return fAppliedClip; } in appliedClip() function
81 const GrAppliedClip* appliedClip() const { return fAppliedClip; } in appliedClip() function
159 const GrAppliedClip* appliedClip() const final { return this->drawOpArgs().appliedClip(); } in appliedClip() function
161 return (fOpArgs->appliedClip()) ? in appliedHardClip()
162 fOpArgs->appliedClip()->hardClip() : GrAppliedHardClip::Disabled(); in appliedHardClip()
196 (this->appliedClip() && this->appliedClip()->scissorState().enabled())); in bindPipelineAndScissorClip()
199 this->setScissorRect(this->appliedClip()->scissorState().rect()); in bindPipelineAndScissorClip()
DGrPipeline.cpp35 GrAppliedClip&& appliedClip) in GrPipeline() argument
36 : GrPipeline(args, processors.refXferProcessor(), appliedClip.hardClip()) { in GrPipeline()
42 (appliedClip.hasCoverageFragmentProcessor() ? 1 : 0); in GrPipeline()
52 if (appliedClip.hasCoverageFragmentProcessor()) { in GrPipeline()
53 fFragmentProcessors[currFPIdx++] = appliedClip.detachCoverageFragmentProcessor(); in GrPipeline()
DGrOpFlushState.cpp213 return fOpArgs->appliedClip() ? std::move(*fOpArgs->appliedClip()) : GrAppliedClip::Disabled(); in detachAppliedClip()
DGrMeshDrawTarget.h112 virtual const GrAppliedClip* appliedClip() const = 0;
/third_party/skia/src/gpu/ops/
DGrSimpleMeshDrawOpHelper.cpp111 GrAppliedClip&& appliedClip, in CreatePipeline() argument
124 std::move(appliedClip)); in CreatePipeline()
154 GrAppliedClip&& appliedClip, in createPipeline() argument
159 std::move(appliedClip), in createPipeline()
170 GrAppliedClip&& appliedClip, in CreateProgramInfo() argument
182 std::move(appliedClip), in CreateProgramInfo()
219 GrAppliedClip&& appliedClip, in createProgramInfo() argument
229 std::move(appliedClip), in createProgramInfo()
DDrawAtlasPathOp.cpp150 GrAppliedClip&& appliedClip, in prepareProgram() argument
160 std::move(appliedClip)); in prepareProgram()
171 GrAppliedClip* appliedClip, const GrDstProxyView& dstProxyView, in onPrePrepare() argument
177 writeView, usesMSAASurface, std::move(*appliedClip), dstProxyView, in onPrePrepare()
DGrSimpleMeshDrawOpHelperWithStencil.cpp50 GrAppliedClip&& appliedClip, in createProgramInfoWithStencil() argument
60 std::move(appliedClip), in createProgramInfoWithStencil()
DOpsTask.cpp157 GrAppliedClip* appliedClip, const GrDstProxyView* dstProxyView) in OpChain() argument
160 , fAppliedClip(appliedClip) {
272 const GrAppliedClip* appliedClip, const SkRect& bounds, const GrCaps& caps, in tryConcat() argument
280 SkToBool(fAppliedClip) != SkToBool(appliedClip) || in tryConcat()
281 (fAppliedClip && *fAppliedClip != *appliedClip) || in tryConcat()
355 const GrDstProxyView* dstProxyView, const GrAppliedClip* appliedClip, const GrCaps& caps, in appendOp() argument
364 if (!this->tryConcat(&chain, processorAnalysis, *dstProxyView, appliedClip, opBounds, caps, in appendOp()
485 chain.appliedClip(), in onPrePrepare()
517 chain.appliedClip(), in onPrepare()
651 chain.appliedClip(), in onExecute()
DGrMeshDrawOp.h41 GrAppliedClip&& appliedClip, in createProgramInfo() argument
45 this->onCreateProgramInfo(caps, arena, writeView, usesMSAASurface, std::move(appliedClip), in createProgramInfo()
DGrMeshDrawOp.cpp53 GrAppliedClip appliedClip = clip ? std::move(*clip) : GrAppliedClip::Disabled(); in onPrePrepareDraws() local
56 std::move(appliedClip), dstProxyView, renderPassXferBarriers, in onPrePrepareDraws()
DPathTessellateOp.cpp71 GrAppliedClip&& appliedClip) { in prepareTessellator() argument
74 auto* pipeline = GrTessellationShader::MakePipeline(args, fAAType, std::move(appliedClip), in prepareTessellator()
DPathStencilCoverOp.cpp132 GrAppliedClip&& appliedClip) { in prePreparePrograms() argument
144 args, fAAType, appliedClip.hardClip(), pipelineFlags); in prePreparePrograms()
183 std::move(appliedClip), in prePreparePrograms()
DPathInnerTriangulateOp.cpp211 GrAppliedClip&& appliedClip) { in prePreparePrograms() argument
241 args, fAAType, appliedClip.hardClip(), pipelineFlags); in prePreparePrograms()
247 std::move(appliedClip), in prePreparePrograms()
DRegionOp.cpp91 GrAppliedClip&& appliedClip, in onCreateProgramInfo() argument
102 std::move(appliedClip), dstProxyView, in onCreateProgramInfo()
/third_party/skia/src/gpu/tessellate/shaders/
DGrTessellationShader.cpp12 GrAppliedClip&& appliedClip, in MakePipeline() argument
22 std::move(appliedClip)); in MakePipeline()
/third_party/skia/tools/gpu/
DProxyUtils.cpp99 GrAppliedClip&& appliedClip, in CreateProgramInfo() argument
115 &appliedClip, stencilSettings, *caps, in CreateProgramInfo()
120 std::move(appliedClip), dstProxyView, in CreateProgramInfo()
DTestOps.cpp183 GrAppliedClip&& appliedClip, in onCreateProgramInfo() argument
191 std::move(appliedClip), in onCreateProgramInfo()
/third_party/skia/gm/
Dfwidth_squircle.cpp175 GrAppliedClip&& appliedClip, in createProgramInfo() argument
182 std::move(appliedClip), dstProxyView, in createProgramInfo()
211 GrAppliedClip appliedClip = clip ? std::move(*clip) : GrAppliedClip::Disabled(); in onPrePrepare() local
214 usesMSAASurface, std::move(appliedClip), in onPrePrepare()
Dclockwise.cpp154 GrAppliedClip&& appliedClip, in createProgramInfo() argument
161 std::move(appliedClip), dstProxyView, in createProgramInfo()
190 GrAppliedClip appliedClip = clip ? std::move(*clip) : GrAppliedClip::Disabled(); in onPrePrepare() local
193 usesMSAASurface, std::move(appliedClip), in onPrePrepare()
/third_party/skia/tests/
DPrimitiveProcessorTest.cpp62 GrAppliedClip&& appliedClip, in onCreateProgramInfo() argument
134 std::move(appliedClip), in onCreateProgramInfo()
/third_party/skia/bench/
DVertexColorSpaceBench.cpp178 GrAppliedClip&& appliedClip, in onCreateProgramInfo() argument
188 std::move(appliedClip), in onCreateProgramInfo()

123