Home
last modified time | relevance | path

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

12

/external/skia/bench/
DDrawBitmapAABench.cpp60 DEF_BENCH( return new DrawBitmapAABench(false, SkMatrix::MakeTrans(17.5f, 17.5f), "translate"); )
73 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.cpp150 const SkMatrix trans = SkMatrix::MakeTrans(-fTileRects[j].fLeft / fScale, in drawPicture()
DMatrixBench.cpp269 static SkMatrix make_trans() { return SkMatrix::MakeTrans(2, 3); }
/external/skia/gm/
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.cpp64 SkMatrix::MakeTrans(10, 10)
Dlocalmatriximageshader.cpp28 SkMatrix translate = SkMatrix::MakeTrans(100.0f, 0.0f);
Detc1.cpp90 const SkMatrix trans = SkMatrix::MakeTrans(-kPad, -kPad); in onDraw()
Dimage_shader.cpp107 const SkMatrix localM = SkMatrix::MakeTrans(-50, -50); in testImage()
Dimage_pict.cpp80 SkMatrix matrix = SkMatrix::MakeTrans(-100, -100); in drawSet()
373 SkMatrix matrix = SkMatrix::MakeTrans(-100, -100); in drawSet()
Dconstcolorprocessor.cpp92 const SkMatrix viewMatrix = SkMatrix::MakeTrans(x, y); in onDraw()
Dtexturedomaineffect.cpp134 const SkMatrix viewMatrix = SkMatrix::MakeTrans(x, y); in onDraw()
Dgamma.cpp115 SkMatrix::MakeScale(-1.0f), SkMatrix::MakeTrans(0.5f, 0.0f));
Dconvexpolyeffect.cpp172 const SkMatrix m = SkMatrix::MakeTrans(x, y); in onDraw()
/external/skia/src/core/
DSkDrawable.cpp48 SkMatrix matrix = SkMatrix::MakeTrans(x, y); in draw()
DSkGpuBlurUtils.cpp88 SkMatrix localMatrix = SkMatrix::MakeTrans(-SkIntToScalar(srcOffset.x()), in convolve_gaussian_1d()
104 SkMatrix localMatrix = SkMatrix::MakeTrans(-SkIntToScalar(srcOffset.x()), in convolve_gaussian_2d()
/external/skia/experimental/svg/model/
DSkSVGSVG.cpp17 auto contentMatrix = SkMatrix::MakeTrans(viewPortRect.x(), viewPortRect.y()); in onPrepareToRender()
/external/skia/src/effects/
DSkXfermodeImageFilter.cpp252 SkMatrix bgMatrix = SkMatrix::MakeTrans(-SkIntToScalar(backgroundOffset.fX), in filterImageGPU()
268 SkMatrix fgMatrix = SkMatrix::MakeTrans(-SkIntToScalar(foregroundOffset.fX), in filterImageGPU()
DGrAlphaThresholdFragmentProcessor.cpp46 SkMatrix::MakeTrans(SkIntToScalar(-bounds.x()), SkIntToScalar(-bounds.y())), in GrAlphaThresholdFragmentProcessor()
DSkArithmeticImageFilter.cpp354 SkMatrix backgroundMatrix = SkMatrix::MakeTrans(-SkIntToScalar(backgroundOffset.fX), in filterImageGPU()
368 SkMatrix foregroundMatrix = SkMatrix::MakeTrans(-SkIntToScalar(foregroundOffset.fX), in filterImageGPU()
/external/skia/src/gpu/
DGrSWMaskHelper.cpp173 SkMatrix maskMatrix = SkMatrix::MakeTrans(SkIntToScalar(-textureOriginInDeviceSpace.fX), in DrawToTargetWithShapeMask()
DGrBlurUtils.cpp46 SkMatrix matrix = SkMatrix::MakeTrans(-SkIntToScalar(maskRect.fLeft), in draw_mask()
/external/skia/src/gpu/glsl/
DGrGLSLFragmentShaderBuilder.cpp287 SkMatrix::MakeTrans(-0.5f, -0.5f)); in onFinalize()
/external/skia/tests/
DImageFilterCacheTest.cpp63 SkImageFilterCacheKey key2(0, SkMatrix::MakeTrans(5, 5), clip1, in test_dont_find_if_diff_key()
DPreFlushCallbackTest.cpp570 SkMatrix t = SkMatrix::MakeTrans(-i*3*kDrawnTileSize, 0); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()

12