Home
last modified time | relevance | path

Searched refs:fPipelineBuilder (Results 1 – 19 of 19) sorted by relevance

/external/skia/src/gpu/
DGrPipelineBuilder.cpp63 if (fPipelineBuilder) { in set()
64 int m = fPipelineBuilder->numColorFragmentProcessors() - fColorEffectCnt; in set()
67 fPipelineBuilder->fColorFragmentProcessors.fromBack(i)->unref(); in set()
69 fPipelineBuilder->fColorFragmentProcessors.pop_back_n(m); in set()
71 int n = fPipelineBuilder->numCoverageFragmentProcessors() - fCoverageEffectCnt; in set()
74 fPipelineBuilder->fCoverageFragmentProcessors.fromBack(i)->unref(); in set()
76 fPipelineBuilder->fCoverageFragmentProcessors.pop_back_n(n); in set()
77 SkDEBUGCODE(--fPipelineBuilder->fBlockEffectRemovalCnt;) in set()
79 fPipelineBuilder = const_cast<GrPipelineBuilder*>(pipelineBuilder); in set()
DGrPipelineBuilder.h112 : fPipelineBuilder(nullptr) in AutoRestoreFragmentProcessorState()
117 : fPipelineBuilder(nullptr) in AutoRestoreFragmentProcessorState()
127 bool isSet() const { return SkToBool(fPipelineBuilder); } in isSet()
132 return fPipelineBuilder->addCoverageFragmentProcessor(processor); in addCoverageFragmentProcessor()
137 GrPipelineBuilder* fPipelineBuilder;
241 AutoRestoreStencil() : fPipelineBuilder(nullptr) {} in AutoRestoreStencil()
243 … AutoRestoreStencil(const GrPipelineBuilder& ds) : fPipelineBuilder(nullptr) { this->set(&ds); } in AutoRestoreStencil()
248 if (fPipelineBuilder) { in set()
249 fPipelineBuilder->setStencil(fStencilSettings); in set()
251 fPipelineBuilder = const_cast<GrPipelineBuilder*>(ds); in set()
[all …]
DGrPathRenderer.h127 GrPipelineBuilder* fPipelineBuilder; member
137 SkASSERT(fPipelineBuilder); in validate()
159 canArgs.fIsStencilDisabled = args.fPipelineBuilder->getStencil().isDisabled(); in drawPath()
161 args.fPipelineBuilder->getRenderTarget()->isStencilBufferMultisampled(); in drawPath()
163 SkASSERT(args.fPipelineBuilder->getStencil().isDisabled() || in drawPath()
182 GrPipelineBuilder* fPipelineBuilder; member
190 SkASSERT(fPipelineBuilder); in validate()
274 args.fPipelineBuilder->setStencil(kIncrementStencil); in onStencilPath()
275 args.fPipelineBuilder->setDisableColorXPFactory(); in onStencilPath()
279 drawArgs.fPipelineBuilder = args.fPipelineBuilder; in onStencilPath()
DGrSoftwarePathRenderer.cpp125 if (!get_path_and_clip_bounds(args.fPipelineBuilder, *args.fPath, in onDrawPath()
128 draw_around_inv_path(args.fTarget, args.fPipelineBuilder, args.fColor, in onDrawPath()
142 GrSWMaskHelper::DrawToTargetWithPathMask(texture, args.fTarget, args.fPipelineBuilder, in onDrawPath()
146 draw_around_inv_path(args.fTarget, args.fPipelineBuilder, args.fColor, *args.fViewMatrix, in onDrawPath()
DGrPipeline.h50 const GrPipelineBuilder* fPipelineBuilder; member
DGrClipMaskManager.cpp567 args.fPipelineBuilder = pipelineBuilder; in drawElement()
859 args.fPipelineBuilder = &pipelineBuilder; in createStencilClipMask()
870 args.fPipelineBuilder = &pipelineBuilder; in createStencilClipMask()
894 args.fPipelineBuilder = &pipelineBuilder; in createStencilClipMask()
DGrPipeline.cpp21 const GrPipelineBuilder& builder = *args.fPipelineBuilder; in CreateAt()
DGrDrawTarget.cpp491 args.fPipelineBuilder = pipelineBuilder; in installPipelineInDrawBatch()
DGrDrawContext.cpp811 args.fPipelineBuilder = pipelineBuilder; in internalDrawPath()
/external/skia/src/gpu/batches/
DGrStencilAndCoverPathRenderer.cpp71 args.fTarget->stencilPath(*args.fPipelineBuilder, *args.fViewMatrix, p, p->getFillType()); in onStencilPath()
79 GrPipelineBuilder* pipelineBuilder = args.fPipelineBuilder; in onDrawPath()
DGrTessellatingPathRenderer.cpp254 const GrRenderTarget* rt = args.fPipelineBuilder->getRenderTarget(); in onDrawPath()
260 args.fPipelineBuilder->clip().getConservativeBounds(rt->width(), rt->height(), &clipBoundsI); in onDrawPath()
270 args.fTarget->drawBatch(*args.fPipelineBuilder, batch); in onDrawPath()
DGrDashLinePathRenderer.cpp25 return GrDashingEffect::DrawDashLine(args.fTarget, *args.fPipelineBuilder, args.fColor, in onDrawPath()
DGrAAHairLinePathRenderer.cpp975 GrRenderTarget* rt = args.fPipelineBuilder->getRenderTarget(); in onDrawPath()
976 args.fPipelineBuilder->clip().getConservativeBounds(rt->width(), rt->height(), &devClipBounds); in onDrawPath()
980 args.fTarget->drawBatch(*args.fPipelineBuilder, batch); in onDrawPath()
DGrDefaultPathRenderer.cpp734 args.fPipelineBuilder, in onDrawPath()
746 this->internalDrawPath(args.fTarget, args.fPipelineBuilder, GrColor_WHITE, *args.fViewMatrix, in onStencilPath()
DGrAALinearizingConvexPathRenderer.cpp339 args.fTarget->drawBatch(*args.fPipelineBuilder, batch); in onDrawPath()
DGrAADistanceFieldPathRenderer.cpp574 args.fTarget->drawBatch(*args.fPipelineBuilder, batch); in onDrawPath()
DGrAAConvexPathRenderer.cpp1015 args.fTarget->drawBatch(*args.fPipelineBuilder, batch); in onDrawPath()
DGrPLSPathRenderer.cpp991 args.fTarget->drawBatch(*args.fPipelineBuilder, batch);
/external/skia/tests/
DTessellatingPathRendererTests.cpp245 args.fPipelineBuilder = &pipelineBuilder; in test_path()