Home
last modified time | relevance | path

Searched refs:MakeTrans (Results 1 – 25 of 53) sorted by relevance

123

/external/skqp/gm/
Dshadermaskfilter.cpp260 { SkMatrix::I(), SkMatrix::MakeScale(2, 2), SkMatrix::MakeTrans(10, 10) },
261 { SkMatrix::MakeScale(2, 2), SkMatrix::I(), SkMatrix::MakeTrans(10, 10) },
262 { SkMatrix::MakeScale(2, 2), SkMatrix::MakeTrans(10, 10), SkMatrix::I() },
263 { SkMatrix::Concat(SkMatrix::MakeScale(2, 2), SkMatrix::MakeTrans(10, 10)),
266 SkMatrix::Concat(SkMatrix::MakeScale(2, 2), SkMatrix::MakeTrans(10, 10)),
269 SkMatrix::Concat(SkMatrix::MakeScale(2, 2), SkMatrix::MakeTrans(10, 10)) },
Ddftext_blob_persp.cpp120 persp = SkMatrix::Concat(persp, SkMatrix::MakeTrans(-x, -y)); in drawBlob()
121 persp = SkMatrix::Concat(SkMatrix::MakeTrans(x, y), persp); in drawBlob()
Dbug6783.cpp37 SkMatrix m = SkMatrix::Concat(SkMatrix::MakeTrans(25, 214),
Dvertices.cpp33 sk_make_sp<SkLocalMatrixShader>(std::move(grad), SkMatrix::MakeTrans(-10, 0)), in make_shader1()
34 SkMatrix::MakeTrans(10, 0)); in make_shader1()
Dlocalmatriximagefilter.cpp62 SkMatrix::MakeTrans(10, 10)
Dlocalmatriximageshader.cpp27 SkMatrix translate = SkMatrix::MakeTrans(100.0f, 0.0f);
Dlocalmatrixshader.cpp68 outer = SkMatrix::MakeTrans(20, 20);
Dimage_pict.cpp77 SkMatrix matrix = SkMatrix::MakeTrans(-100, -100); in drawSet()
290 SkMatrix matrix = SkMatrix::MakeTrans(-100, -100); in drawSet()
Dimage_shader.cpp107 const SkMatrix localM = SkMatrix::MakeTrans(-50, -50); in testImage()
Dconstcolorprocessor.cpp90 const SkMatrix viewMatrix = SkMatrix::MakeTrans(x, y); in onDraw()
Dtexturedomaineffect.cpp152 const SkMatrix viewMatrix = SkMatrix::MakeTrans(x, y); in onDraw()
/external/skqp/bench/
DDrawBitmapAABench.cpp61 DEF_BENCH( return new DrawBitmapAABench(false, SkMatrix::MakeTrans(17.5f, 17.5f), "translate"); )
74 DEF_BENCH( return new DrawBitmapAABench(true, SkMatrix::MakeTrans(17.5f, 17.5f), "translate"); )
DSKPAnimationBench.cpp35 SkMatrix trans = SkMatrix::MakeTrans(-1.f * this->tileRects()[j].fLeft, in drawPicture()
DSKPBench.cpp143 const SkMatrix trans = SkMatrix::MakeTrans(-fTileRects[j].fLeft / fScale, in drawPicture()
/external/skqp/src/shaders/gradients/
DSkSweepGradient.cpp17 : SkGradientShaderBase(desc, SkMatrix::MakeTrans(-center.x(), -center.y())) in SkSweepGradient()
80 SkMatrix::MakeTrans(fTBias , 0))); in appendGradientStages()
DSkTwoPointConicalGradient.cpp65 gradientMatrix = SkMatrix::MakeTrans(-c1.x(), -c1.y()); in Create()
198 p->append_matrix(alloc, SkMatrix::Concat(SkMatrix::MakeTrans(bias, 0), in appendGradientStages()
/external/skqp/src/gpu/effects/
DGrAlphaThresholdFragmentProcessor.h41 SkMatrix::MakeTrans(SkIntToScalar(-bounds.x()), SkIntToScalar(-bounds.y())), in GrAlphaThresholdFragmentProcessor()
DGrAlphaThresholdFragmentProcessor.fp31 SkMatrix::MakeTrans(SkIntToScalar(-bounds.x()), SkIntToScalar(-bounds.y()))
/external/skqp/src/core/
DSkBitmapDevice.cpp404 SkMatrix matrix = SkMatrix::MakeTrans(x, y); in drawBitmap()
586 SkMatrix::MakeTrans(SkIntToScalar(x),SkIntToScalar(y)), nullptr, paint); in drawDevice()
628 SkMatrix::MakeTrans(SkIntToScalar(-x), SkIntToScalar(-y)), this->ctm()); in drawSpecial()
683 shaderMatrix = SkMatrix::Concat(totalInverse, SkMatrix::MakeTrans(x, y)); in drawSpecial()
702 shaderMatrix = SkMatrix::MakeTrans(x - maskBounds.x(), y - maskBounds.y()); in drawSpecial()
DSkDrawable.cpp46 SkMatrix matrix = SkMatrix::MakeTrans(x, y); in draw()
/external/skqp/experimental/svg/model/
DSkSVGSVG.cpp17 auto contentMatrix = SkMatrix::MakeTrans(viewPortRect.x(), viewPortRect.y()); in onPrepareToRender()
/external/skqp/src/effects/imagefilters/
DSkXfermodeImageFilter.cpp280 SkMatrix bgMatrix = SkMatrix::MakeTrans( in filterImageGPU()
297 SkMatrix fgMatrix = SkMatrix::MakeTrans( in filterImageGPU()
/external/skqp/modules/skottie/src/
DSkottieAdapter.cpp56 SkMatrix t = SkMatrix::MakeTrans(-fAnchorPoint.x(), -fAnchorPoint.y()); in totalMatrix()
120 SkMatrix m = SkMatrix::MakeTrans(-fAnchorPoint.x(), in apply()
/external/skqp/tests/
DGrCCPRTest.cpp409 SkMatrix m = SkMatrix::MakeTrans(kCanvasSize/2, kCanvasSize/2); in onRun()
454 SkMatrix m = SkMatrix::MakeTrans(kCanvasSize/2, kCanvasSize/2); in onRun()
751 SkMatrix::MakeTrans(5, 5), in onRun()
752 SkMatrix::MakeTrans(kCanvasSize - kPathSize - 5, kCanvasSize - kPathSize - 5) in onRun()
/external/skqp/src/effects/
DSkOpPathEffect.cpp60 return sk_sp<SkPathEffect>(new SkMatrixPE(SkMatrix::MakeTrans(dx, dy))); in MakeTranslate()

123