Lines Matching refs:std

128 std::unique_ptr<SurfaceDrawContext> SurfaceDrawContext::Make(GrRecordingContext* rContext,
144 GrSurfaceProxyView writeView(std::move(proxy), origin, writeSwizzle);
146 return std::make_unique<SurfaceDrawContext>(rContext,
147 std::move(readView),
148 std::move(writeView),
150 std::move(colorSpace),
155 std::unique_ptr<SurfaceDrawContext> SurfaceDrawContext::Make(
191 GrSurfaceProxyView writeView(std::move(proxy), origin, writeSwizzle);
193 auto sdc = std::make_unique<SurfaceDrawContext>(rContext,
194 std::move(readView),
195 std::move(writeView),
197 std::move(colorSpace),
203 std::unique_ptr<SurfaceDrawContext> SurfaceDrawContext::Make(
237 std::move(proxy),
238 std::move(colorSpace),
243 std::unique_ptr<SurfaceDrawContext> SurfaceDrawContext::MakeWithFallback(
264 std::unique_ptr<SurfaceDrawContext> SurfaceDrawContext::MakeFromBackendTexture(
276 std::move(releaseHelper)));
281 return SurfaceDrawContext::Make(rContext, colorType, std::move(proxy), std::move(colorSpace),
297 std::move(readView),
298 std::move(writeView),
299 {colorType, kPremul_SkAlphaType, std::move(colorSpace)},
435 this->fillRectToRect(clip, std::move(paint), GrAA::kNo, SkMatrix::I(), r, r);
443 this->fillPixelsWithLocalMatrix(clip, std::move(paint), bounds, localMatrix);
599 this->drawRRect(nullptr, std::move(*paint), result.fAA, SkMatrix::I(), result.fRRect,
638 this->addDrawOp(finalClip, FillRectOp::Make(fContext, std::move(paint), aaType,
662 std::unique_ptr<GrFragmentProcessor> fp;
671 fp = GrColorSpaceXformEffect::Make(std::move(fp), std::move(colorSpaceXform));
673 fp = GrBlendFragmentProcessor::Make(std::move(fp), nullptr, SkBlendMode::kModulate);
674 paint.setColorFragmentProcessor(std::move(fp));
678 this->fillRectToRect(clip, std::move(paint), GrAA::kYes, viewMatrix, dstRect, srcRect);
686 this->drawTexturedQuad(clip, std::move(view), srcAlphaType, std::move(colorSpaceXform), filter,
725 TextureOp::Make(fContext, std::move(proxyView), srcAlphaType,
726 std::move(textureXform), filter, mm, color, saturate,
753 this->fillRectToRect(clip, std::move(paint), aa, viewMatrix, rect, rect);
770 GrOp::Owner op = StrokeRectOp::Make(fContext, std::move(paint), aaType, viewMatrix,
775 this->addDrawOp(clip, std::move(op));
780 this->drawShapeUsingPathRenderer(clip, std::move(paint), aa, viewMatrix,
828 if (auto op = FillRRectOp::Make(fContext, this->arenaAlloc(), std::move(paint),
831 this->addDrawOp(optimizedClip, std::move(op));
837 this->drawFilledQuad(clip, std::move(paint), aa, &quad);
848 FillRectOp::AddFillRectOps(this, clip, fContext, std::move(paint), aaType, viewMatrix,
907 FillRectOp::MakeNonAARect(fContext, std::move(paint), SkMatrix::I(),
976 mode, aaType, constraint, viewMatrix, std::move(texXform));
994 std::move(paint),
995 std::move(vertices),
1000 this->addDrawOp(clip, std::move(op));
1020 GrOp::Owner op = DrawAtlasOp::Make(fContext, std::move(paint), viewMatrix,
1022 this->addDrawOp(clip, std::move(op));
1097 op = GrOvalOpFactory::MakeCircularRRectOp(fContext, std::move(paint), viewMatrix, rrect,
1102 op = FillRRectOp::Make(fContext, this->arenaAlloc(), std::move(paint), viewMatrix, rrect,
1108 fContext, std::move(paint), viewMatrix, rrect, stroke, this->caps()->shaderCaps());
1111 this->addDrawOp(clip, std::move(op));
1116 this->drawShapeUsingPathRenderer(clip, std::move(paint), aa, viewMatrix,
1214 this->addDrawOp(clip, std::move(op));
1277 maxOffset = std::max(std::max(SkTAbs(spotShadowRRect.rect().fLeft -
1281 std::max(SkTAbs(spotShadowRRect.rect().fRight -
1295 maxOffset = SkScalarSqrt(std::max(SkPointPriv::LengthSqd(upperLeftOffset),
1298 insetWidth += std::max(blurOutset, maxOffset);
1319 this->addDrawOp(clip, std::move(op));
1355 return this->drawPath(clip, std::move(paint), aa, viewMatrix, path, style);
1359 GrOp::Owner op = RegionOp::Make(fContext, std::move(paint), viewMatrix, region, aaType, ss);
1360 this->addDrawOp(clip, std::move(op));
1381 this->drawRect(clip, std::move(paint), aa, viewMatrix, oval, &style);
1398 op = GrOvalOpFactory::MakeCircleOp(fContext, std::move(paint), viewMatrix, oval, style,
1408 op = FillRRectOp::Make(fContext, this->arenaAlloc(), std::move(paint), viewMatrix,
1413 op = GrOvalOpFactory::MakeOvalOp(fContext, std::move(paint), viewMatrix, oval, style,
1417 this->addDrawOp(clip, std::move(op));
1422 this->drawShapeUsingPathRenderer(clip, std::move(paint), aa, viewMatrix,
1447 std::move(paint),
1456 this->addDrawOp(clip, std::move(op));
1461 this->drawShapeUsingPathRenderer(clip, std::move(paint), aa, viewMatrix,
1473 std::unique_ptr<SkLatticeIter> iter,
1483 LatticeOp::MakeNonAA(fContext, std::move(paint), viewMatrix, std::move(view),
1484 alphaType, std::move(csxf), filter, std::move(iter), dst);
1485 this->addDrawOp(clip, std::move(op));
1488 void SurfaceDrawContext::drawDrawable(std::unique_ptr<SkDrawable::GpuDrawHandler> drawable,
1490 GrOp::Owner op(DrawableOp::Make(fContext, std::move(drawable), bounds));
1492 this->addOp(std::move(op));
1537 std::unique_ptr<std::unique_ptr<GrSemaphore>[]> grSemaphores(
1538 new std::unique_ptr<GrSemaphore>[numSemaphores]);
1544 this->drawingManager()->newWaitRenderTask(this->asSurfaceProxyRef(), std::move(grSemaphores),
1561 this->drawShape(clip, std::move(paint), aa, viewMatrix, std::move(shape));
1576 this->drawPaint(clip, std::move(paint), viewMatrix);
1584 this->drawShapeUsingPathRenderer(clip, std::move(paint), aa, viewMatrix, std::move(shape),
1607 this->stencilRect(clip, ss, std::move(paint), GrAA::kNo, SkMatrix::I(),
1649 std::move(paint),
1718 this->fillQuadWithEdgeAA(clip, std::move(paint), aa, edgeAA, viewMatrix, corners, nullptr);
1745 this->drawStrokedLine(clip, std::move(*paint), aa, viewMatrix, linePts,
1751 this->drawRect(clip, std::move(*paint), aa, viewMatrix, rrect.rect(),
1755 this->drawOval(clip, std::move(*paint), aa, viewMatrix, rrect.rect(),
1759 this->drawRRect(clip, std::move(*paint), aa, viewMatrix, rrect, shape.style());
1770 GrOp::Owner op = StrokeRectOp::MakeNested(fContext, std::move(*paint),
1773 this->addDrawOp(clip, std::move(op));
1889 std::move(paint),
1903 const std::function<WillAddOpFn>& willAddFn) {
2012 opsTask->addDrawOp(this->drawingManager(), std::move(op), drawNeedsMSAA, analysis,
2013 std::move(appliedClip), dstProxyView,
2120 dstProxyView->setProxyView({std::move(copy), this->origin(), this->readSwizzle()});
2139 this->addOp(GrOp::Make<BlurOp>(fContext, std::move(proxyView), blurArg));