Home
last modified time | relevance | path

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

12

/external/skqp/src/gpu/
DGrPipeline.cpp21 GrAppliedClip&& appliedClip) { in GrPipeline() argument
25 if (appliedClip.hasStencilClip()) { in GrPipeline()
28 if (appliedClip.scissorState().enabled()) { in GrPipeline()
32 fWindowRectsState = appliedClip.windowRectsState(); in GrPipeline()
54 appliedClip.numClipCoverageFragmentProcessors(); in GrPipeline()
69 for (int i = 0; i < appliedClip.numClipCoverageFragmentProcessors(); ++i, ++currFPIdx) { in GrPipeline()
70 fFragmentProcessors[currFPIdx] = appliedClip.detachClipCoverageFragmentProcessor(i); in GrPipeline()
DGrRenderTargetOpList.cpp120 GrAppliedClip* appliedClip, const DstProxy* dstProxy) in OpChain() argument
123 , fAppliedClip(appliedClip) {
233 const GrAppliedClip* appliedClip, const SkRect& bounds, const GrCaps& caps, in tryConcat() argument
241 SkToBool(fAppliedClip) != SkToBool(appliedClip) || in tryConcat()
242 (fAppliedClip && *fAppliedClip != *appliedClip) || in tryConcat()
315 const DstProxy* dstProxy, const GrAppliedClip* appliedClip, const GrCaps& caps, in appendOp() argument
325 &chain, processorAnalysis, *dstProxy, appliedClip, opBounds, caps, pool, auditTrail)) { in appendOp()
420 chain.appliedClip(), in onPrepare()
505 chain.appliedClip(), in onExecute()
DGrRenderTargetContext.cpp821 GrAppliedHardClip appliedClip; in stencilPath() local
822 if (!clip.apply(fRenderTargetContext->width(), fRenderTargetContext->height(), &appliedClip, in stencilPath()
833 appliedClip.hasStencilClip(), in stencilPath()
834 appliedClip.scissorState(), in stencilPath()
1947 GrAppliedClip appliedClip; in addDrawOp() local
1950 fixedFunctionFlags & GrDrawOp::FixedFunctionFlags::kUsesStencil, &appliedClip, in addDrawOp()
1957 appliedClip.hasStencilClip()) { in addDrawOp()
1976 GrProcessorSet::Analysis analysis = op->finalize(*this->caps(), &appliedClip); in addDrawOp()
1989 opList->addDrawOp(std::move(op), analysis, std::move(appliedClip), dstProxy, *this->caps()); in addDrawOp()
/external/skqp/src/gpu/ops/
DGrStencilAndCoverPathRenderer.cpp108 GrAppliedClip appliedClip; in onDrawPath() local
110 GrAATypeIsHW(args.fAAType), true, &appliedClip, &devBounds)) { in onDrawPath()
113 GrStencilClip stencilClip(appliedClip.stencilStackID()); in onDrawPath()
114 if (appliedClip.scissorState().enabled()) { in onDrawPath()
115 stencilClip.fixedClip().setScissor(appliedClip.scissorState().rect()); in onDrawPath()
117 if (appliedClip.windowRectsState().enabled()) { in onDrawPath()
118 stencilClip.fixedClip().setWindowRectangles(appliedClip.windowRectsState().windows(), in onDrawPath()
119 appliedClip.windowRectsState().mode()); in onDrawPath()
DGrDrawPathOp.cpp58 const GrAppliedClip* appliedClip = flushState.drawOpArgs().fAppliedClip; in init_stencil_pass_settings() local
59 bool stencilClip = appliedClip && appliedClip->hasStencilClip(); in init_stencil_pass_settings()
77 GrAppliedClip appliedClip = state->detachAppliedClip(); in onExecute() local
78 GrPipeline::FixedDynamicState fixedDynamicState(appliedClip.scissorState().rect()); in onExecute()
80 std::move(appliedClip)); in onExecute()
/external/skia/src/gpu/
DGrOpFlushState.h62 GrAppliedClip* appliedClip, in OpArgs()
69 , fAppliedClip(appliedClip) in OpArgs()
81 GrAppliedClip* appliedClip() { return fAppliedClip; } in appliedClip() function
82 const GrAppliedClip* appliedClip() const { return fAppliedClip; } in appliedClip() function
160 const GrAppliedClip* appliedClip() const final { return this->drawOpArgs().appliedClip(); } in appliedClip() function
162 return (fOpArgs->appliedClip()) ? in appliedHardClip()
163 fOpArgs->appliedClip()->hardClip() : GrAppliedHardClip::Disabled(); in appliedHardClip()
197 (this->appliedClip() && this->appliedClip()->scissorState().enabled())); in bindPipelineAndScissorClip()
200 this->setScissorRect(this->appliedClip()->scissorState().rect()); in bindPipelineAndScissorClip()
DGrPipeline.cpp44 GrAppliedClip&& appliedClip) in GrPipeline() argument
45 : GrPipeline(args, processors.refXferProcessor(), appliedClip.hardClip()) { in GrPipeline()
51 (appliedClip.hasCoverageFragmentProcessor() ? 1 : 0); in GrPipeline()
61 if (appliedClip.hasCoverageFragmentProcessor()) { in GrPipeline()
62 fFragmentProcessors[currFPIdx++] = appliedClip.detachCoverageFragmentProcessor(); in GrPipeline()
DGrOpsTask.cpp125 GrAppliedClip* appliedClip, const DstProxyView* dstProxyView) in OpChain() argument
128 , fAppliedClip(appliedClip) {
240 const GrAppliedClip* appliedClip, const SkRect& bounds, const GrCaps& caps, in tryConcat() argument
248 SkToBool(fAppliedClip) != SkToBool(appliedClip) || in tryConcat()
249 (fAppliedClip && *fAppliedClip != *appliedClip) || in tryConcat()
323 const DstProxyView* dstProxyView, const GrAppliedClip* appliedClip, const GrCaps& caps, in appendOp() argument
332 if (!this->tryConcat(&chain, processorAnalysis, *dstProxyView, appliedClip, opBounds, caps, in appendOp()
465 chain.appliedClip(), in onPrePrepare()
496 chain.appliedClip(), in onPrepare()
661 chain.appliedClip(), in onExecute()
DGrOpFlushState.cpp204 return fOpArgs->appliedClip() ? std::move(*fOpArgs->appliedClip()) : GrAppliedClip::Disabled(); in detachAppliedClip()
/external/skia/src/gpu/ops/
DGrSimpleMeshDrawOpHelper.cpp113 GrAppliedClip&& appliedClip, in CreatePipeline() argument
126 std::move(appliedClip)); in CreatePipeline()
156 GrAppliedClip&& appliedClip, in createPipeline() argument
161 std::move(appliedClip), in createPipeline()
171 GrAppliedClip&& appliedClip, in CreateProgramInfo() argument
183 std::move(appliedClip), in CreateProgramInfo()
215 GrAppliedClip&& appliedClip, in createProgramInfo() argument
224 std::move(appliedClip), in createProgramInfo()
DGrSimpleMeshDrawOpHelperWithStencil.cpp49 GrAppliedClip&& appliedClip, in createProgramInfoWithStencil() argument
58 std::move(appliedClip), in createProgramInfoWithStencil()
DGrMeshDrawOp.h44 GrAppliedClip&& appliedClip, in createProgramInfo() argument
48 this->onCreateProgramInfo(caps, arena, writeView, std::move(appliedClip), dstProxyView, in createProgramInfo()
229 virtual const GrAppliedClip* appliedClip() const = 0;
DGrMeshDrawOp.cpp40 GrAppliedClip appliedClip = clip ? std::move(*clip) : GrAppliedClip::Disabled(); in onPrePrepareDraws() local
43 std::move(appliedClip), dstProxyView, renderPassXferBarriers, in onPrePrepareDraws()
DGrRegionOp.cpp89 GrAppliedClip&& appliedClip, in onCreateProgramInfo() argument
100 std::move(appliedClip), dstProxyView, in onCreateProgramInfo()
DGrDrawAtlasOp.cpp204 GrAppliedClip&& appliedClip, in onCreateProgramInfo() argument
214 fProgramInfo = fHelper.createProgramInfo(caps, arena, writeView, std::move(appliedClip), in onCreateProgramInfo()
/external/skia/tools/gpu/
DProxyUtils.cpp94 GrAppliedClip&& appliedClip, in CreateProgramInfo() argument
110 &appliedClip, stencilSettings, *caps, in CreateProgramInfo()
115 std::move(appliedClip), dstProxyView, in CreateProgramInfo()
DTestOps.cpp186 GrAppliedClip&& appliedClip, in onCreateProgramInfo() argument
193 std::move(appliedClip), in onCreateProgramInfo()
/external/skia/gm/
Dfwidth_squircle.cpp170 GrAppliedClip&& appliedClip, in createProgramInfo() argument
177 std::move(appliedClip), dstProxyView, in createProgramInfo()
202 GrAppliedClip appliedClip = clip ? std::move(*clip) : GrAppliedClip::Disabled(); in onPrePrepare() local
205 std::move(appliedClip), dstProxyView, in onPrePrepare()
Dclockwise.cpp161 GrAppliedClip&& appliedClip, in createProgramInfo() argument
168 std::move(appliedClip), dstProxyView, in createProgramInfo()
193 GrAppliedClip appliedClip = clip ? std::move(*clip) : GrAppliedClip::Disabled(); in onPrePrepare() local
196 std::move(appliedClip), dstProxyView, in onPrePrepare()
/external/skia/src/gpu/tessellate/
DGrPathStencilFillOp.cpp45 GrAppliedClip&& appliedClip) { in prePreparePrograms() argument
61 args, fAAType, fOpFlags, appliedClip.hardClip()); in prePreparePrograms()
104 std::move(appliedClip), in prePreparePrograms()
DGrFillPathShader.h29 GrAAType aaType, GrAppliedClip&& appliedClip, in MakeFillPassPipeline() argument
36 args.fCaps, args.fArena, args.fWriteView.swizzle(), std::move(appliedClip), in MakeFillPassPipeline()
DGrPathInnerTriangulateOp.cpp60 GrAppliedClip&& appliedClip) { in prePreparePrograms() argument
86 appliedClip.hardClip()); in prePreparePrograms()
92 std::move(appliedClip), in prePreparePrograms()
/external/skia/tests/
DPrimitiveProcessorTest.cpp62 GrAppliedClip&& appliedClip, in onCreateProgramInfo() argument
131 std::move(appliedClip), in onCreateProgramInfo()
/external/skia/bench/
DVertexColorSpaceBench.cpp175 GrAppliedClip&& appliedClip, in onCreateProgramInfo() argument
184 std::move(appliedClip), in onCreateProgramInfo()
/external/skia/src/gpu/mock/
DGrMockOpTarget.h107 UNIMPL(const GrAppliedClip* appliedClip() const)

12