/third_party/skia/src/core/ |
D | SkAutoBlitterChoose.h | 24 SkAutoBlitterChoose(const SkDraw& draw, const SkMatrixProvider* matrixProvider, 26 this->choose(draw, matrixProvider, paint, drawCoverage); 32 SkBlitter* choose(const SkDraw& draw, const SkMatrixProvider* matrixProvider, 35 if (!matrixProvider) { 36 matrixProvider = draw.fMatrixProvider; 38 fBlitter = SkBlitter::Choose(draw.fDst, *matrixProvider, paint, &fAlloc, drawCoverage, 44 SkBlitter::Choose(*draw.fCoverage, *matrixProvider, SkPaint(), &fAlloc, true,
|
D | SkDraw.cpp | 599 const SkPaint& paint, const SkMatrixProvider* matrixProvider) { in draw_rect_as_path() argument 601 draw.fMatrixProvider = matrixProvider; in draw_rect_as_path() 617 const SkMatrixProvider* matrixProvider = fMatrixProvider; in drawRect() local 621 matrixProvider = preConcatMatrixProvider.init(*matrixProvider, *paintMatrix); in drawRect() 631 draw_rect_as_path(*this, prePaintRect, paint, matrixProvider); in drawRect() 660 draw_rect_as_path(*this, prePaintRect, paint, matrixProvider); in drawRect() 669 SkAutoBlitterChoose blitterStorage(*this, matrixProvider, paint); in drawRect() 888 const SkMatrixProvider* matrixProvider = fMatrixProvider; in drawPath() local 903 matrixProvider = preConcatMatrixProvider.init(*matrixProvider, *prePathMatrix); in drawPath() 911 if (SkDrawTreatAsHairline(origPaint, matrixProvider->localToDevice(), &coverage)) { in drawPath() [all …]
|
D | SkRasterPipelineBlitter.cpp | 90 const SkMatrixProvider& matrixProvider, in SkCreateRasterPipelineBlitter() argument 121 {&shaderPipeline, alloc, dstCT, dstCS, paint, nullptr, matrixProvider})) { in SkCreateRasterPipelineBlitter() 192 SkSimpleMatrixProvider matrixProvider(SkMatrix::I()); in Create() local 194 colorPipeline, alloc, dst.colorType(), dst.colorSpace(), paint, nullptr, matrixProvider in Create()
|
D | SkDraw_vertices.cpp | 442 const SkMatrixProvider* matrixProvider = fMatrixProvider; in drawFixedVertices() local 449 matrixProvider = preConcatMatrixProvider.init(*matrixProvider, localM); in drawFixedVertices() 454 fDst, shaderPaint, *matrixProvider, &innerAlloc, this->fRC->clipShader()); in drawFixedVertices()
|
D | SkDraw_atlas.cpp | 130 SkPreConcatMatrixProvider matrixProvider(*fMatrixProvider, mx); in drawAtlas() local 131 draw.fMatrixProvider = &matrixProvider; in drawAtlas()
|
D | SkBitmapDevice.cpp | 576 SkSimpleMatrixProvider matrixProvider(device->getRelativeTransform(*this)); in drawDevice() local 578 draw.fMatrixProvider = &matrixProvider; in drawDevice() 601 SkSimpleMatrixProvider matrixProvider(localToDevice); in drawSpecial() local 603 draw.fMatrixProvider = &matrixProvider; in drawSpecial()
|
D | SkBlitter.cpp | 695 const SkMatrixProvider& matrixProvider, in Choose() argument 752 if (auto blitter = SkVMBlitter::Make(device, *paint, matrixProvider, in Choose() 761 if (auto blitter = SkCreateRasterPipelineBlitter(device, *paint, matrixProvider, in Choose() 765 if (auto blitter = SkVMBlitter::Make(device, *paint, matrixProvider, in Choose() 772 SkMatrix ctm = matrixProvider.localToDevice(); in Choose()
|
D | SkPixmap.cpp | 192 SkSimpleMatrixProvider matrixProvider(SkMatrix::I()); in erase() local 194 draw.fMatrixProvider = &matrixProvider; in erase()
|
/third_party/skia/src/gpu/ |
D | GrSWMaskHelper.cpp | 53 SkSimpleMatrixProvider matrixProvider(translatedMatrix); in drawRect() local 54 fDraw.fMatrixProvider = &matrixProvider; in drawRect() 63 SkSimpleMatrixProvider matrixProvider(translatedMatrix); in drawRRect() local 64 fDraw.fMatrixProvider = &matrixProvider; in drawRRect() 80 SkSimpleMatrixProvider matrixProvider(translatedMatrix); in drawShape() local 81 fDraw.fMatrixProvider = &matrixProvider; in drawShape() 99 SkSimpleMatrixProvider matrixProvider(translatedMatrix); in drawShape() local 100 fDraw.fMatrixProvider = &matrixProvider; in drawShape()
|
D | SkGr.h | 89 const SkMatrixProvider& matrixProvider, 98 const SkMatrixProvider& matrixProvider, 107 const SkMatrixProvider& matrixProvider, 118 const SkMatrixProvider& matrixProvider, in SkPaintToGrPaintWithPrimitiveColor() argument 120 return SkPaintToGrPaintWithBlend(context, dstColorInfo, skPaint, matrixProvider, in SkPaintToGrPaintWithPrimitiveColor()
|
D | SkGr.cpp | 417 const SkMatrixProvider& matrixProvider, in skpaint_to_grpaint_impl() argument 424 GrFPArgs fpArgs(context, matrixProvider, &dstColorInfo); in skpaint_to_grpaint_impl() 591 const SkMatrixProvider& matrixProvider, in SkPaintToGrPaint() argument 593 return skpaint_to_grpaint_impl(context, dstColorInfo, skPaint, matrixProvider, in SkPaintToGrPaint() 601 const SkMatrixProvider& matrixProvider, in SkPaintToGrPaintReplaceShader() argument 607 return skpaint_to_grpaint_impl(context, dstColorInfo, skPaint, matrixProvider, &shaderFP, in SkPaintToGrPaintReplaceShader() 616 const SkMatrixProvider& matrixProvider, in SkPaintToGrPaintWithBlend() argument 619 return skpaint_to_grpaint_impl(context, dstColorInfo, skPaint, matrixProvider, in SkPaintToGrPaintWithBlend()
|
D | GrFPArgs.h | 19 const SkMatrixProvider& matrixProvider, in GrFPArgs() 22 , fMatrixProvider(matrixProvider) in GrFPArgs()
|
D | GrBlurUtils.cpp | 569 const SkMatrixProvider& matrixProvider, in drawShapeWithMaskFilter() argument 576 if (!SkPaintToGrPaint(rContext, sdc->colorInfo(), paint, matrixProvider, &grPaint)) { in drawShapeWithMaskFilter() 580 const SkMatrix& viewMatrix(matrixProvider.localToDevice()); in drawShapeWithMaskFilter()
|
/third_party/skia/src/shaders/ |
D | SkLocalMatrixShader.cpp | 145 SkOverrideDeviceMatrixProvider matrixProvider(rec.fMatrixProvider, fCTM); in onAppendStages() local 153 matrixProvider, in onAppendStages() 163 SkOverrideDeviceMatrixProvider matrixProvider(matrices, fCTM); in onProgram() local 165 matrixProvider,localM, dst, in onProgram()
|
D | SkTransformShader.cpp | 20 SkSimpleMatrixProvider matrixProvider{SkMatrix::I()}; in onProgram() local 22 b, device, newLocal, color, matrixProvider, localM, dst, uniforms, alloc); in onProgram()
|
/third_party/skia/src/gpu/v1/ |
D | Device_drawTexture.cpp | 416 const SkMatrixProvider& matrixProvider, in draw_image() argument 428 const SkMatrix& ctm(matrixProvider.localToDevice()); in draw_image() 516 GrFPArgs(rContext, matrixProvider, &sdc->colorInfo())); in draw_image() 530 rContext, sdc->colorInfo(), paint, matrixProvider, std::move(fp), &grPaint)) { in draw_image() 574 const SkMatrixProvider& matrixProvider, in draw_tiled_bitmap() argument 658 matrixProvider, in draw_tiled_bitmap() 734 SkOverrideDeviceMatrixProvider matrixProvider(this->asMatrixProvider(), localToDevice); in drawSpecial() local 738 matrixProvider, in drawSpecial() 777 SkPreConcatMatrixProvider matrixProvider(this->asMatrixProvider(), in drawImageQuad() local 779 const SkMatrix& ctm(matrixProvider.localToDevice()); in drawImageQuad() [all …]
|
D | Device.cpp | 90 const SkMatrixProvider& matrixProvider, in init_vertices_paint() argument 100 matrixProvider, in init_vertices_paint() 104 return SkPaintToGrPaint(rContext, colorInfo, skPaint, matrixProvider, grPaint); in init_vertices_paint() 384 const SkMatrixProvider* matrixProvider = this; in drawPoints() local 391 matrixProvider = postTranslateMatrixProvider.init(*matrixProvider, kOffset, kOffset); in drawPoints() 397 *matrixProvider, &grPaint)) { in drawPoints() 405 fSurfaceDrawContext->drawVertices(this->clip(), std::move(grPaint), *matrixProvider, in drawPoints()
|
/third_party/skia/src/gpu/ops/ |
D | DrawVerticesOp.cpp | 307 const SkMatrixProvider& matrixProvider) in DrawVerticesOpImpl() argument 326 mesh.fViewMatrix = matrixProvider.localToDevice(); in DrawVerticesOpImpl() 591 const SkMatrixProvider& matrixProvider, in Make() argument 605 matrixProvider); in Make() 715 SkSimpleMatrixProvider matrixProvider(GrTest::TestMatrix(random)); in GR_DRAW_OP_TEST_DEFINE() local 731 matrixProvider, in GR_DRAW_OP_TEST_DEFINE()
|
D | SmallPathRenderer.cpp | 422 SkSimpleMatrixProvider matrixProvider(drawMatrix); in addDFPathToAtlas() local 423 draw.fMatrixProvider = &matrixProvider; in addDFPathToAtlas() 502 SkSimpleMatrixProvider matrixProvider(drawMatrix); in addBMPathToAtlas() local 503 draw.fMatrixProvider = &matrixProvider; in addBMPathToAtlas()
|
D | AtlasTextOp.cpp | 531 SkSimpleMatrixProvider matrixProvider(GrTest::TestMatrixInvertible(random)); in GR_DRAW_OP_TEST_DEFINE() local 553 return skgpu::v1::AtlasTextOp::CreateOpTestingOnly(sdc, skPaint, font, matrixProvider, in GR_DRAW_OP_TEST_DEFINE()
|
/third_party/skia/gm/ |
D | drawquadset.cpp | 87 SkSimpleMatrixProvider matrixProvider(view); in draw_gradient_tiles() local 89 SkPaintToGrPaint(rContext, sdc->colorInfo(), paint, matrixProvider, &grPaint); in draw_gradient_tiles()
|
/third_party/skia/tests/ |
D | DrawOpAtlasTest.cpp | 215 SkSimpleMatrixProvider matrixProvider(SkMatrix::I()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 218 font, matrixProvider, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | GrClipStackTest.cpp | 308 SkSimpleMatrixProvider matrixProvider(SkMatrix::I()); in run() local 309 ClipStack cs(fDeviceBounds, &matrixProvider, false); in run() 1722 SkSimpleMatrixProvider matrixProvider = SkMatrix::I(); in DEF_TEST() local 1728 ClipStack cs(kDeviceBounds, &matrixProvider, false); in DEF_TEST() 1876 SkSimpleMatrixProvider matrixProvider = SkMatrix::I(); in DEF_TEST() local 1882 ClipStack cs(kDeviceBounds, &matrixProvider, false); in DEF_TEST() 1929 SkSimpleMatrixProvider matrixProvider = SkMatrix::I(); in DEF_TEST() local 1935 ClipStack cs(kDeviceBounds, &matrixProvider, false); in DEF_TEST() 2068 SkSimpleMatrixProvider matrixProvider = SkMatrix::I(); in DEF_GPUTEST_FOR_CONTEXTS() local 2069 std::unique_ptr<ClipStack> cs(new ClipStack(kDeviceBounds, &matrixProvider, false)); in DEF_GPUTEST_FOR_CONTEXTS()
|
/third_party/skia/modules/particles/src/ |
D | SkParticleBinding.cpp | 187 SkSimpleMatrixProvider matrixProvider(SkMatrix::I()); in call() local 192 matrixProvider, /*localM=*/nullptr, colorInfo, fUniforms, in call()
|
/third_party/skia/bench/ |
D | BulkRectBench.cpp | 151 SkSimpleMatrixProvider matrixProvider(view); in drawSolidColorsBatch() local 153 SkPaintToGrPaint(context, sdc->colorInfo(), paint, matrixProvider, &grPaint); in drawSolidColorsBatch()
|