Home
last modified time | relevance | path

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

/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()
DGrRenderTargetOpList.h156 GrAppliedClip* appliedClip() const { return fAppliedClip; } in appliedClip() function
/external/skia/src/gpu/ops/
DGrDrawPathOp.cpp60 const GrAppliedClip* appliedClip = flushState.drawOpArgs().appliedClip(); in init_stencil_pass_settings() local
61 bool stencilClip = appliedClip && appliedClip->hasStencilClip(); in init_stencil_pass_settings()
82 const GrAppliedClip* appliedClip = flushState->appliedClip(); in onExecute() local
83 if (appliedClip && appliedClip->scissorState().enabled()) { in onExecute()
84 storage.fScissorRect = appliedClip->scissorState().rect(); in onExecute()
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()
DGrFillRRectOp.cpp458 GrAppliedClip appliedClip = clip ? std::move(*clip) : GrAppliedClip(); in onPrePrepare() local
465 std::move(appliedClip), dstProxyView); in onPrePrepare()
761 GrAppliedClip&& appliedClip, in createProgramInfo() argument
776 if (appliedClip.scissorState().enabled()) { in createProgramInfo()
778 appliedClip.scissorState().rect()); in createProgramInfo()
783 std::move(appliedClip)); in createProgramInfo()
DGrMeshDrawOp.h183 return MakeFixedDynamicState(this->allocator(), this->appliedClip(), in makeFixedDynamicState()
189 virtual const GrAppliedClip* appliedClip() const = 0;
DGrTextureOp.cpp859 desc.allocateCommon(arena, target->appliedClip()); in onPrepareDraws()
/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/tools/gpu/
DProxyUtils.cpp61 GrAppliedClip&& appliedClip, in CreateProgramInfo() argument
78 if (appliedClip.scissorState().enabled()) { in CreateProgramInfo()
80 appliedClip.scissorState().rect()); in CreateProgramInfo()
89 &appliedClip, stencil, false, in CreateProgramInfo()
95 std::move(appliedClip)); in CreateProgramInfo()
/external/skia/src/gpu/
DGrOpFlushState.h60 explicit OpArgs(GrOp* op, GrSurfaceProxyView* surfaceView, GrAppliedClip* appliedClip, in OpArgs()
65 , fAppliedClip(appliedClip) in OpArgs()
76 GrAppliedClip* appliedClip() { return fAppliedClip; } in appliedClip() function
77 const GrAppliedClip* appliedClip() const { return fAppliedClip; } in appliedClip() function
134 const GrAppliedClip* appliedClip() const final { return this->drawOpArgs().appliedClip(); } in appliedClip() function
DGrPipeline.cpp41 GrAppliedClip&& appliedClip) in GrPipeline() argument
42 : GrPipeline(args, processors.refXferProcessor(), appliedClip.hardClip()) { in GrPipeline()
48 appliedClip.numClipCoverageFragmentProcessors(); in GrPipeline()
58 for (int i = 0; i < appliedClip.numClipCoverageFragmentProcessors(); ++i, ++currFPIdx) { in GrPipeline()
59 fFragmentProcessors[currFPIdx] = appliedClip.detachClipCoverageFragmentProcessor(i); in GrPipeline()
DGrOpsTask.cpp126 GrAppliedClip* appliedClip, const DstProxyView* dstProxyView) in OpChain() argument
129 , fAppliedClip(appliedClip) {
238 const GrAppliedClip* appliedClip, const SkRect& bounds, const GrCaps& caps, in tryConcat() argument
246 SkToBool(fAppliedClip) != SkToBool(appliedClip) || in tryConcat()
247 (fAppliedClip && *fAppliedClip != *appliedClip) || in tryConcat()
321 const DstProxyView* dstProxyView, const GrAppliedClip* appliedClip, const GrCaps& caps, in appendOp() argument
331 &chain, processorAnalysis, *dstProxyView, appliedClip, opBounds, caps, in appendOp()
413 chain.appliedClip(), in onPrePrepare()
442 chain.appliedClip(), in onPrepare()
583 chain.appliedClip(), in onExecute()
DGrOpFlushState.cpp198 return fOpArgs->appliedClip() ? std::move(*fOpArgs->appliedClip()) : GrAppliedClip(); in detachAppliedClip()
DGrRenderTargetContext.cpp1020 GrAppliedHardClip appliedClip; in stencilPath() local
1021 if (!clip.apply(fRenderTargetContext->width(), fRenderTargetContext->height(), &appliedClip, in stencilPath()
1029 appliedClip.hasStencilClip(), in stencilPath()
1030 appliedClip.scissorState(), in stencilPath()
2485 GrAppliedClip appliedClip; in addDrawOp() local
2494 if (!clip.apply(fContext, this, usesHWAA, usesUserStencilBits, &appliedClip, &bounds)) { in addDrawOp()
2499 bool willUseStencil = usesUserStencilBits || appliedClip.hasStencilClip(); in addDrawOp()
2512 *this->caps(), &appliedClip, hasMixedSampledCoverage, clampType); in addDrawOp()
2527 opsTask->addDrawOp(std::move(op), analysis, std::move(appliedClip), dstProxyView, in addDrawOp()
DGrOpsTask.h192 GrAppliedClip* appliedClip() const { return fAppliedClip; } in appliedClip() function
/external/skia/gm/
Dfwidth_squircle.cpp180 GrAppliedClip appliedClip = clip ? std::move(*clip) : GrAppliedClip(); in onPrePrepare() local
186 std::move(appliedClip), dstProxyView, in onPrePrepare()
Dclockwise.cpp172 GrAppliedClip appliedClip = clip ? std::move(*clip) : GrAppliedClip(); in onPrePrepare() local
178 std::move(appliedClip), dstProxyView, in onPrePrepare()
Dsamplelocations.cpp254 GrAppliedClip appliedClip = clip ? std::move(*clip) : GrAppliedClip(); in onPrePrepare() local
259 std::move(appliedClip), dstProxyView, in onPrePrepare()
/external/skia/src/gpu/tessellate/
DGrTessellatePathOp.cpp52 (state->appliedClip() && state->appliedClip()->hasStencilClip())) { in onPrepare()
/external/skia/tests/
DGrMeshTest.cpp427 fState->appliedClip(), in drawMesh()