• Home
  • Raw
  • Download

Lines Matching refs:batch

231         SkAutoTUnref<GrDrawBatch> batch(  in drawPaint()  local
234 this->getDrawTarget()->drawBatch(pipelineBuilder, batch); in drawPaint()
305 SkAutoTUnref<GrDrawBatch> batch; in drawRect() local
310 batch.reset(GrRectBatchFactory::CreateAAStroke(color, viewMatrix, rect, in drawRect()
318 batch.reset(GrRectBatchFactory::CreateAAFill(color, viewMatrix, rect, in drawRect()
322 if (!batch) { in drawRect()
333 batch.reset(GrRectBatchFactory::CreateNonAAStroke(color, viewMatrix, rect, width, in drawRect()
343 batch.reset(GrRectBatchFactory::CreateNonAAFill(color, viewMatrix, rect, nullptr, nullptr)); in drawRect()
345 this->getDrawTarget()->drawBatch(pipelineBuilder, batch); in drawRect()
361 SkAutoTUnref<GrDrawBatch> batch; in fillRectToRect() local
364 batch.reset(GrAAFillRectBatch::CreateWithLocalRect(paint.getColor(), viewMatrix, rectToDraw, in fillRectToRect()
367 batch.reset(GrRectBatchFactory::CreateNonAAFill(paint.getColor(), viewMatrix, rectToDraw, in fillRectToRect()
371 if (batch) { in fillRectToRect()
372 this->drawBatch(&pipelineBuilder, batch); in fillRectToRect()
390 SkAutoTUnref<GrDrawBatch> batch; in fillRectWithLocalMatrix() local
393 batch.reset(GrAAFillRectBatch::Create(paint.getColor(), viewMatrix, localMatrix, in fillRectWithLocalMatrix()
396 batch.reset(GrRectBatchFactory::CreateNonAAFill(paint.getColor(), viewMatrix, rectToDraw, in fillRectWithLocalMatrix()
399 this->getDrawTarget()->drawBatch(pipelineBuilder, batch); in fillRectWithLocalMatrix()
440 SkAutoTUnref<GrDrawBatch> batch(GrDrawVerticesBatch::Create(geometry, primitiveType, viewMatrix, in drawVertices() local
445 this->getDrawTarget()->drawBatch(pipelineBuilder, batch); in drawVertices()
468 SkAutoTUnref<GrDrawBatch> batch(GrDrawAtlasBatch::Create(geometry, viewMatrix, spriteCount, in drawAtlas() local
471 this->getDrawTarget()->drawBatch(pipelineBuilder, batch); in drawAtlas()
500 SkAutoTUnref<GrDrawBatch> batch(GrOvalRenderer::CreateRRectBatch(color, in drawRRect() local
505 if (batch) { in drawRRect()
506 this->getDrawTarget()->drawBatch(pipelineBuilder, batch); in drawRRect()
543 SkAutoTUnref<GrDrawBatch> batch(GrOvalRenderer::CreateOvalBatch(color, in drawOval() local
548 if (batch) { in drawOval()
549 this->getDrawTarget()->drawBatch(pipelineBuilder, batch); in drawOval()
575 SkAutoTUnref<GrDrawBatch> batch(GrNinePatch::CreateNonAA(paint.getColor(), viewMatrix, in drawImageNine() local
580 this->getDrawTarget()->drawBatch(pipelineBuilder, batch); in drawImageNine()
635 const GrPaint& paint, GrDrawBatch* batch) { in drawBatch() argument
644 this->getDrawTarget()->drawBatch(pipelineBuilder, batch); in drawBatch()
648 GrDrawPathBatchBase* batch) { in drawPathBatch() argument
656 this->getDrawTarget()->drawPathBatch(pipelineBuilder, batch); in drawPathBatch()
692 SkAutoTUnref<GrDrawBatch> batch(GrRectBatchFactory::CreateAAFillNestedRects( in drawPath() local
694 this->getDrawTarget()->drawBatch(pipelineBuilder, batch); in drawPath()
703 SkAutoTUnref<GrDrawBatch> batch(GrOvalRenderer::CreateOvalBatch(color, in drawPath() local
708 if (batch) { in drawPath()
709 this->getDrawTarget()->drawBatch(pipelineBuilder, batch); in drawPath()
820 void GrDrawContext::drawBatch(GrPipelineBuilder* pipelineBuilder, GrDrawBatch* batch) { in drawBatch() argument
826 this->getDrawTarget()->drawBatch(*pipelineBuilder, batch); in drawBatch()