/external/skia/src/gpu/batches/ |
GrStencilAndCoverPathRenderer.cpp | 79 GrPipelineBuilder* pipelineBuilder = args.fPipelineBuilder; 82 SkASSERT(pipelineBuilder->getStencil().isDisabled()); 85 SkASSERT(pipelineBuilder->getRenderTarget()->isStencilBufferMultisampled()); 86 pipelineBuilder->enableState(GrPipelineBuilder::kHWAntialias_Flag); 103 pipelineBuilder->setStencil(kInvertedStencilPass); 106 args.fTarget->stencilPath(*pipelineBuilder, viewMatrix, p, p->getFillType()); 110 SkRect::MakeLTRB(0, 0, SkIntToScalar(pipelineBuilder->getRenderTarget()->width()), 111 SkIntToScalar(pipelineBuilder->getRenderTarget()->height())); 126 if (pipelineBuilder->getRenderTarget()->hasMixedSamples()) { 127 pipelineBuilder->disableState(GrPipelineBuilder::kHWAntialias_Flag) [all...] |
GrDefaultPathRenderer.cpp | 547 GrPipelineBuilder* pipelineBuilder, 568 const GrXPFactory* xpFactory = pipelineBuilder->getXPFactory(); 571 SkASSERT(GrPipelineBuilder::kBoth_DrawFace == pipelineBuilder->getDrawFace()); 669 GetPathDevBounds(path, pipelineBuilder->getRenderTarget(), viewMatrix, &devBounds); 672 pipelineBuilder->setDrawFace(drawFace[p]); 674 *pipelineBuilder->stencil() = *passes[p]; 678 // Reset the XP Factory on pipelineBuilder 679 pipelineBuilder->setXPFactory(backupXPFactory); 683 SkASSERT(pipelineBuilder->getRenderTarget()); 703 target->drawBatch(*pipelineBuilder, batch) [all...] |
/external/skia/src/gpu/ |
GrSoftwarePathRenderer.cpp | 32 bool get_path_and_clip_bounds(const GrPipelineBuilder* pipelineBuilder, 38 const GrRenderTarget* rt = pipelineBuilder->getRenderTarget(); 43 pipelineBuilder->clip().getConservativeBounds(rt->width(), rt->height(), devClipBounds); 70 const GrPipelineBuilder& pipelineBuilder, 77 drawTarget->drawBatch(pipelineBuilder, batch); 81 GrPipelineBuilder* pipelineBuilder, 95 draw_non_aa_rect(target, *pipelineBuilder, color, SkMatrix::I(), rect, invert); 100 draw_non_aa_rect(target, *pipelineBuilder, color, SkMatrix::I(), rect, invert); 105 draw_non_aa_rect(target, *pipelineBuilder, color, SkMatrix::I(), rect, invert); 110 draw_non_aa_rect(target, *pipelineBuilder, color, SkMatrix::I(), rect, invert) [all...] |
GrPipelineBuilder.cpp | 62 const GrPipelineBuilder* pipelineBuilder) { 79 fPipelineBuilder = const_cast<GrPipelineBuilder*>(pipelineBuilder); 80 if (nullptr != pipelineBuilder) { 81 fColorEffectCnt = pipelineBuilder->numColorFragmentProcessors(); 82 fCoverageEffectCnt = pipelineBuilder->numCoverageFragmentProcessors(); 83 SkDEBUGCODE(++pipelineBuilder->fBlockEffectRemovalCnt;)
|
GrDrawTarget.cpp | 125 bool GrDrawTarget::setupDstReadIfNecessary(const GrPipelineBuilder& pipelineBuilder, 132 if (!pipelineBuilder.willXPNeedDstTexture(*this->caps(), optimizations)) { 136 GrRenderTarget* rt = pipelineBuilder.getRenderTarget(); 149 pipelineBuilder.clip().getConservativeBounds(rt->width(), rt->height(), ©Rect); 224 void GrDrawTarget::drawBatch(const GrPipelineBuilder& pipelineBuilder, GrDrawBatch* batch) { 228 if (!fClipMaskManager->setupClipping(pipelineBuilder, &ars, &batch->bounds(), &clip)) { 233 arfps.set(&pipelineBuilder); 238 if (!this->installPipelineInDrawBatch(&pipelineBuilder, &clip.scissorState(), batch)) { 285 void GrDrawTarget::stencilPath(const GrPipelineBuilder& pipelineBuilder, 296 if (!fClipMaskManager->setupClipping(pipelineBuilder, &ars, nullptr, &clip)) [all...] |
GrClipMaskManager.cpp | 52 const GrPipelineBuilder& pipelineBuilder, 58 drawTarget->drawBatch(pipelineBuilder, batch); 162 bool GrClipMaskManager::useSWOnlyPath(const GrPipelineBuilder& pipelineBuilder, 182 if (PathNeedsSWRenderer(this->getContext(), pipelineBuilder.getStencil().isDisabled(), 322 bool GrClipMaskManager::setupClipping(const GrPipelineBuilder& pipelineBuilder, 335 GrRenderTarget* rt = pipelineBuilder.getRenderTarget(); 344 add_rect_to_clip(pipelineBuilder.clip(), *devBounds, &devBoundsClip); 346 const GrClip& clip = doDevBoundsClip ? devBoundsClip : pipelineBuilder.clip(); 349 this->setPipelineBuilderStencil(pipelineBuilder, ars); 363 this->setPipelineBuilderStencil(pipelineBuilder, ars) [all...] |
GrDrawContext.cpp | 230 GrPipelineBuilder pipelineBuilder(*paint, fRenderTarget, clip); 234 this->getDrawTarget()->drawBatch(pipelineBuilder, batch); 302 GrPipelineBuilder pipelineBuilder(paint, fRenderTarget, clip); 326 this->internalDrawPath(&pipelineBuilder, viewMatrix, color, true, path, *strokeInfo); 339 pipelineBuilder.setState(GrPipelineBuilder::kSnapVerticesToPixelCenters_Flag, 345 this->getDrawTarget()->drawBatch(pipelineBuilder, batch); 360 GrPipelineBuilder pipelineBuilder(paint, fRenderTarget, clip); 372 this->drawBatch(&pipelineBuilder, batch); 388 GrPipelineBuilder pipelineBuilder(paint, fRenderTarget, clip); 399 this->getDrawTarget()->drawBatch(pipelineBuilder, batch) [all...] |
GrPipeline.cpp | 180 void GrPipeline::adjustProgramFromOptimizations(const GrPipelineBuilder& pipelineBuilder, 191 *firstColorProcessorIdx = pipelineBuilder.numColorFragmentProcessors(); 199 *firstCoverageProcessorIdx = pipelineBuilder.numCoverageFragmentProcessors();
|
GrSWMaskHelper.cpp | 340 GrPipelineBuilder* pipelineBuilder, 348 GrPipelineBuilder::AutoRestoreFragmentProcessorState arfps(*pipelineBuilder); 362 pipelineBuilder->addCoverageFragmentProcessor( 370 target->drawBatch(*pipelineBuilder, batch);
|
GrDrawTarget.h | 122 void drawPathBatch(const GrPipelineBuilder& pipelineBuilder, GrDrawPathBatchBase* batch); 219 bool installPipelineInDrawBatch(const GrPipelineBuilder* pipelineBuilder,
|
GrPathRenderer.h | 74 * fPipelineBuilder The pipelineBuilder 117 * fPipelineBuilder The pipelineBuilder
|
GrTest.cpp | 264 void GrDrawContext::internal_drawBatch(const GrPipelineBuilder& pipelineBuilder, 271 this->getDrawTarget()->drawBatch(pipelineBuilder, batch);
|
GrSWMaskHelper.h | 96 GrPipelineBuilder* pipelineBuilder,
|
/external/skia/gm/ |
bigrrectaaeffect.cpp | 84 GrPipelineBuilder pipelineBuilder; 85 pipelineBuilder.setXPFactory( 93 pipelineBuilder.addCoverageFragmentProcessor(fp); 94 pipelineBuilder.setRenderTarget(rt); 102 drawContext->internal_drawBatch(pipelineBuilder, batch);
|
yuvtorgbeffect.cpp | 118 GrPipelineBuilder pipelineBuilder; 119 pipelineBuilder.setXPFactory( 130 pipelineBuilder.setRenderTarget(rt); 131 pipelineBuilder.addColorFragmentProcessor(fp); 135 drawContext->internal_drawBatch(pipelineBuilder, batch);
|
convexpolyeffect.cpp | 195 GrPipelineBuilder pipelineBuilder; 196 pipelineBuilder.setXPFactory( 198 pipelineBuilder.addCoverageFragmentProcessor(fp); 199 pipelineBuilder.setRenderTarget(rt); 208 drawContext->internal_drawBatch(pipelineBuilder, batch); 241 GrPipelineBuilder pipelineBuilder; 242 pipelineBuilder.setXPFactory( 244 pipelineBuilder.addCoverageFragmentProcessor(fp); 245 pipelineBuilder.setRenderTarget(rt); 255 drawContext->internal_drawBatch(pipelineBuilder, batch) [all...] |
texturedomaineffect.cpp | 119 GrPipelineBuilder pipelineBuilder; 120 pipelineBuilder.setXPFactory( 132 pipelineBuilder.setRenderTarget(rt); 133 pipelineBuilder.addColorFragmentProcessor(fp); 138 drawContext->internal_drawBatch(pipelineBuilder, batch);
|
beziereffects.cpp | 217 GrPipelineBuilder pipelineBuilder; 218 pipelineBuilder.setXPFactory( 220 pipelineBuilder.setRenderTarget(rt); 229 drawContext->internal_drawBatch(pipelineBuilder, batch); 358 GrPipelineBuilder pipelineBuilder; 359 pipelineBuilder.setXPFactory( 361 pipelineBuilder.setRenderTarget(rt); 370 drawContext->internal_drawBatch(pipelineBuilder, batch); 592 GrPipelineBuilder pipelineBuilder; 593 pipelineBuilder.setXPFactory [all...] |
rrects.cpp | 121 GrPipelineBuilder pipelineBuilder; 122 pipelineBuilder.setXPFactory( 131 pipelineBuilder.addCoverageFragmentProcessor(fp); 132 pipelineBuilder.setRenderTarget(rt); 140 drawContext->internal_drawBatch(pipelineBuilder, batch);
|
constcolorprocessor.cpp | 115 GrPipelineBuilder pipelineBuilder(grPaint, rt, clip); 116 pipelineBuilder.addColorFragmentProcessor(fp); 121 drawContext->internal_drawBatch(pipelineBuilder, batch);
|
/external/skia/tests/ |
GLProgramsTest.cpp | 181 static void set_random_xpf(GrPipelineBuilder* pipelineBuilder, GrProcessorTestData* d) { 184 pipelineBuilder->setXPFactory(xpf.get()); 234 static void set_random_color_coverage_stages(GrPipelineBuilder* pipelineBuilder, 244 pipelineBuilder->addColorFragmentProcessor(fp); 256 pipelineBuilder->addColorFragmentProcessor(fp); 258 pipelineBuilder->addCoverageFragmentProcessor(fp); 265 static void set_random_state(GrPipelineBuilder* pipelineBuilder, SkRandom* random) { 273 !pipelineBuilder->getRenderTarget()->isUnifiedMultisampled()) { 276 pipelineBuilder->enableState(state); 280 static void set_random_stencil(GrPipelineBuilder* pipelineBuilder, SkRandom* random) [all...] |
TessellatingPathRendererTests.cpp | 238 GrPipelineBuilder pipelineBuilder; 239 pipelineBuilder.setXPFactory( 241 pipelineBuilder.setRenderTarget(rt); 245 args.fPipelineBuilder = &pipelineBuilder;
|
/external/skia/src/gpu/text/ |
GrStencilAndCoverTextContext.cpp | 85 GrPipelineBuilder pipelineBuilder(paint, dc->accessRenderTarget(), clip); 87 run.draw(context, dc, &pipelineBuilder, paint.getColor(), viewMatrix, props, 0, 0, 118 GrPipelineBuilder pipelineBuilder(paint, dc->accessRenderTarget(), clip); 120 run.draw(context, dc, &pipelineBuilder, paint.getColor(), viewMatrix, props, 0, 0, 225 GrPipelineBuilder pipelineBuilder(paint, dc->accessRenderTarget(), clip); 229 run->draw(context, dc, &pipelineBuilder, paint.getColor(), viewMatrix, props, x, y, 569 GrPipelineBuilder* pipelineBuilder, 581 pipelineBuilder->setState(GrPipelineBuilder::kHWAntialias_Flag, fFont.isAntiAlias()); 591 *pipelineBuilder->stencil() = kStencilPass; 605 SkRect bounds = SkRect::MakeIWH(pipelineBuilder->getRenderTarget()->width() [all...] |
GrAtlasTextBlob.cpp | 300 void GrAtlasTextBlob::flushRun(GrDrawContext* dc, GrPipelineBuilder* pipelineBuilder, 317 dc->drawBatch(pipelineBuilder, batch); 416 GrPipelineBuilder pipelineBuilder(grPaint, dc->accessRenderTarget(), clip); 427 this->flushRun(dc, &pipelineBuilder, run, viewMatrix, x, y, color, skPaint, props, 445 GrPipelineBuilder pipelineBuilder(grPaint, dc->accessRenderTarget(), clip); 449 this->flushRun(dc, &pipelineBuilder, run, viewMatrix, x, y, color, skPaint, props,
|
/external/skia/include/gpu/ |
GrDrawContext.h | 266 void internal_drawBatch(const GrPipelineBuilder& pipelineBuilder, GrDrawBatch* batch); 292 void drawBatch(GrPipelineBuilder* pipelineBuilder, GrDrawBatch* batch);
|