Searched refs:localMatrix (Results 101 - 125 of 126) sorted by relevance

123456

/external/skqp/src/core/
H A DSkGpuBlurUtils.cpp88 SkMatrix localMatrix = SkMatrix::MakeTrans(-SkIntToScalar(srcOffset.x()), local
91 SkRect::Make(dstRect), localMatrix);
105 SkMatrix localMatrix = SkMatrix::MakeTrans(-SkIntToScalar(srcOffset.x()), local
117 SkRect::Make(dstRect), localMatrix);
/external/skqp/src/shaders/
H A DSkImageShader.cpp143 const SkMatrix* localMatrix) {
147 return sk_make_sp<SkImageShader>(image, tx, ty, localMatrix);
246 SkShader::TileMode tmy, const SkMatrix* localMatrix,
249 tmx, tmy, localMatrix);
142 Make(sk_sp<SkImage> image, TileMode tx, TileMode ty, const SkMatrix* localMatrix) argument
245 SkMakeBitmapShader(const SkBitmap& src, SkShader::TileMode tmx, SkShader::TileMode tmy, const SkMatrix* localMatrix, SkCopyPixelsMode cpm) argument
H A DSkShaderBase.h214 SkShaderBase(const SkMatrix* localMatrix = nullptr);
H A DSkPerlinNoiseShader.cpp1390 SkMatrix localMatrix = this->getLocalMatrix(); local
1392 localMatrix.preConcat(*args.fLocalMatrix);
1396 matrix.preConcat(localMatrix);
1409 m.setTranslateX(-localMatrix.getTranslateX() + SK_Scalar1);
1410 m.setTranslateY(-localMatrix.getTranslateY() + SK_Scalar1);
/external/skqp/tests/
H A DGradientTest.cpp466 SkTLazy<SkMatrix> localMatrix; local
468 localMatrix.init();
469 localMatrix.get()->set9(config.fLocalMatrix);
478 localMatrix.getMaybeNull()));
/external/skia/tools/viewer/
H A DImGuiLayer.cpp53 SkMatrix localMatrix = SkMatrix::MakeScale(1.0f / w, 1.0f / h); local
55 auto fontShader = fontImage->makeShader(&localMatrix);
/external/skqp/tools/viewer/
H A DImGuiLayer.cpp53 SkMatrix localMatrix = SkMatrix::MakeScale(1.0f / w, 1.0f / h); local
55 auto fontShader = fontImage->makeShader(&localMatrix);
/external/skia/src/gpu/ops/
H A DGrOvalOpFactory.cpp72 bool roundCaps, const SkMatrix& localMatrix)
74 , fLocalMatrix(localMatrix)
269 ButtCapDashedCircleGeometryProcessor(const SkMatrix& localMatrix) argument
270 : INHERITED(kButtCapStrokedCircleGeometryProcessor_ClassID), fLocalMatrix(localMatrix) {
513 EllipseGeometryProcessor(bool stroke, const SkMatrix& localMatrix) argument
515 , fLocalMatrix(localMatrix) {
1115 SkMatrix localMatrix; variable
1116 if (!fViewMatrixIfUsingLocalCoords.invert(&localMatrix)) {
1122 !fAllFill, fClipPlane, fClipPlaneIsect, fClipPlaneUnion, fRoundCaps, localMatrix));
1599 SkMatrix localMatrix;
71 CircleGeometryProcessor(bool stroke, bool clipPlane, bool isectPlane, bool unionPlane, bool roundCaps, const SkMatrix& localMatrix) argument
1907 SkMatrix localMatrix; variable
[all...]
H A DGrDefaultPathRenderer.cpp579 SkMatrix localMatrix = SkMatrix::I(); local
588 if (!viewMatrix.invert(&localMatrix)) {
600 std::move(paint), viewM, localMatrix, bounds, aaType, passes[p]));
H A DGrAAConvexPathRenderer.cpp548 static sk_sp<GrGeometryProcessor> Make(const SkMatrix& localMatrix, bool usesLocalCoords) { argument
549 return sk_sp<GrGeometryProcessor>(new QuadEdgeEffect(localMatrix, usesLocalCoords));
637 QuadEdgeEffect(const SkMatrix& localMatrix, bool usesLocalCoords) argument
639 , fLocalMatrix(localMatrix)
H A DGrMSAAPathRenderer.cpp667 SkMatrix localMatrix = SkMatrix::I(); local
676 if (!viewMatrix.invert(&localMatrix)) {
687 GrRectOpFactory::MakeNonAAFillWithLocalMatrix(std::move(paint), viewM, localMatrix,
/external/skqp/src/gpu/ops/
H A DGrDefaultPathRenderer.cpp579 SkMatrix localMatrix = SkMatrix::I(); local
588 if (!viewMatrix.invert(&localMatrix)) {
600 std::move(paint), viewM, localMatrix, bounds, aaType, passes[p]));
H A DGrAAConvexPathRenderer.cpp548 static sk_sp<GrGeometryProcessor> Make(const SkMatrix& localMatrix, bool usesLocalCoords) { argument
549 return sk_sp<GrGeometryProcessor>(new QuadEdgeEffect(localMatrix, usesLocalCoords));
637 QuadEdgeEffect(const SkMatrix& localMatrix, bool usesLocalCoords) argument
639 , fLocalMatrix(localMatrix)
H A DGrOvalOpFactory.cpp70 const SkMatrix& localMatrix)
72 , fLocalMatrix(localMatrix) {
239 EllipseGeometryProcessor(bool stroke, const SkMatrix& localMatrix) argument
241 , fLocalMatrix(localMatrix) {
812 SkMatrix localMatrix; variable
813 if (!fViewMatrixIfUsingLocalCoords.invert(&localMatrix)) {
819 !fAllFill, fClipPlane, fClipPlaneIsect, fClipPlaneUnion, localMatrix));
1281 SkMatrix localMatrix; variable
1282 if (!fViewMatrixIfUsingLocalCoords.invert(&localMatrix)) {
1287 sk_sp<GrGeometryProcessor> gp(new EllipseGeometryProcessor(fStroked, localMatrix));
69 CircleGeometryProcessor(bool stroke, bool clipPlane, bool isectPlane, bool unionPlane, const SkMatrix& localMatrix) argument
[all...]
H A DGrMSAAPathRenderer.cpp667 SkMatrix localMatrix = SkMatrix::I(); local
676 if (!viewMatrix.invert(&localMatrix)) {
687 GrRectOpFactory::MakeNonAAFillWithLocalMatrix(std::move(paint), viewM, localMatrix,
/external/skia/src/gpu/
H A DGrSoftwarePathRenderer.cpp96 const SkMatrix& localMatrix) {
99 std::move(paint), viewMatrix, localMatrix, rect,
90 DrawNonAARect(GrRenderTargetContext* renderTargetContext, GrPaint&& paint, const GrUserStencilSettings& userStencilSettings, const GrClip& clip, const SkMatrix& viewMatrix, const SkRect& rect, const SkMatrix& localMatrix) argument
H A DGrRenderTargetContext.cpp397 SkMatrix localMatrix; local
398 if (!viewMatrix.invert(&localMatrix)) {
406 std::move(paint), SkMatrix::I(), localMatrix, r, GrAAType::kNone);
800 const SkMatrix& localMatrix) {
816 std::move(paint), viewMatrix, localMatrix, croppedRect, aaType);
822 std::move(paint), viewMatrix, localMatrix, croppedRect);
829 if (!localMatrix.invert(&viewAndUnLocalMatrix)) {
838 path.transform(localMatrix);
795 fillRectWithLocalMatrix(const GrClip& clip, GrPaint&& paint, GrAA aa, const SkMatrix& viewMatrix, const SkRect& rectToDraw, const SkMatrix& localMatrix) argument
H A DGrRenderTargetContext.h136 * Fills a rect with a paint and a localMatrix.
143 const SkMatrix& localMatrix);
/external/skia/src/image/
H A DSkImage.cpp90 const SkMatrix* localMatrix) const {
91 return SkImageShader::Make(sk_ref_sp(const_cast<SkImage*>(this)), tileX, tileY, localMatrix);
/external/skqp/src/gpu/
H A DGrSoftwarePathRenderer.cpp96 const SkMatrix& localMatrix) {
99 std::move(paint), viewMatrix, localMatrix, rect,
90 DrawNonAARect(GrRenderTargetContext* renderTargetContext, GrPaint&& paint, const GrUserStencilSettings& userStencilSettings, const GrClip& clip, const SkMatrix& viewMatrix, const SkRect& rect, const SkMatrix& localMatrix) argument
H A DGrRenderTargetContext.cpp395 SkMatrix localMatrix; local
396 if (!viewMatrix.invert(&localMatrix)) {
404 std::move(paint), SkMatrix::I(), localMatrix, r, GrAAType::kNone);
798 const SkMatrix& localMatrix) {
814 std::move(paint), viewMatrix, localMatrix, croppedRect, aaType);
820 std::move(paint), viewMatrix, localMatrix, croppedRect);
827 if (!localMatrix.invert(&viewAndUnLocalMatrix)) {
836 path.transform(localMatrix);
793 fillRectWithLocalMatrix(const GrClip& clip, GrPaint&& paint, GrAA aa, const SkMatrix& viewMatrix, const SkRect& rectToDraw, const SkMatrix& localMatrix) argument
H A DGrRenderTargetContext.h136 * Fills a rect with a paint and a localMatrix.
143 const SkMatrix& localMatrix);
/external/skqp/src/image/
H A DSkImage.cpp90 const SkMatrix* localMatrix) const {
91 return SkImageShader::Make(sk_ref_sp(const_cast<SkImage*>(this)), tileX, tileY, localMatrix);
/external/skia/src/shaders/
H A DSkPerlinNoiseShader.cpp1397 SkMatrix localMatrix = this->getLocalMatrix(); local
1399 localMatrix.preConcat(*args.fLocalMatrix);
1403 matrix.preConcat(localMatrix);
1416 m.setTranslateX(-localMatrix.getTranslateX() + SK_Scalar1);
1417 m.setTranslateY(-localMatrix.getTranslateY() + SK_Scalar1);
/external/skia/src/core/
H A DSkDraw.cpp803 SkMatrix localMatrix; local
804 looper.mapMatrix(&localMatrix, *matrix);
806 SkAutoBlitterChoose blitterStorage(looper.getPixmap(), localMatrix, paint);

Completed in 2157 milliseconds

123456