Home
last modified time | relevance | path

Searched refs:getTotalMatrix (Results 1 – 25 of 90) sorted by relevance

1234

/external/skqp/tests/
DShadowTest.cpp57 tessellate_shadow(reporter, path, canvas.getTotalMatrix(), {0, 0, 4}, kDo_ExpectVerts, true); in DEF_TEST()
59 tessellate_shadow(reporter, path, canvas.getTotalMatrix(), {0, 0, 4.0e+37f}, in DEF_TEST()
65 tessellate_shadow(reporter, path, canvas.getTotalMatrix(), {0, 0, 4}, kDont_ExpectVerts, true); in DEF_TEST()
72 tessellate_shadow(reporter, path, canvas.getTotalMatrix(), {0, 0, 4}, kDont_ExpectVerts, true); in DEF_TEST()
81 tessellate_shadow(reporter, path, canvas.getTotalMatrix(), {0, 0, 9}, kDont_ExpectVerts, true); in DEF_TEST()
107 tessellate_shadow(reporter, path, canvas.getTotalMatrix(), {0, 0, 9}, kDont_ExpectVerts, false); in DEF_TEST()
114 tessellate_shadow(reporter, path, canvas.getTotalMatrix(), {0, 0, 9}, kDont_ExpectVerts, false); in DEF_TEST()
DCanvasTest.cpp416 REPORTER_ASSERT(reporter, canvas->getTotalMatrix().isIdentity(), testStep->assertMessage()); in SaveMatrixClipStep()
702 REPORTER_ASSERT(reporter, canvas.getTotalMatrix() == filterCanvas.getTotalMatrix()); in DEF_TEST()
707 REPORTER_ASSERT(reporter, canvas.getTotalMatrix() == filterCanvas.getTotalMatrix()); in DEF_TEST()
916 const SkMatrix preCTM = canvas.getTotalMatrix(); in DEF_TEST()
918 const SkMatrix postCTM = canvas.getTotalMatrix(); in DEF_TEST()
/external/skia/tests/
DShadowTest.cpp65 tessellate_shadow(reporter, path, canvas.getTotalMatrix(), {0, 0, 4}, kDo_ExpectVerts, true); in DEF_TEST()
67 tessellate_shadow(reporter, path, canvas.getTotalMatrix(), {0, 0, 4.0e+37f}, in DEF_TEST()
73 tessellate_shadow(reporter, path, canvas.getTotalMatrix(), {0, 0, 4}, kDont_ExpectVerts, true); in DEF_TEST()
80 tessellate_shadow(reporter, path, canvas.getTotalMatrix(), {0, 0, 4}, kDont_ExpectVerts, true); in DEF_TEST()
89 tessellate_shadow(reporter, path, canvas.getTotalMatrix(), {0, 0, 9}, kDont_ExpectVerts, true); in DEF_TEST()
115 tessellate_shadow(reporter, path, canvas.getTotalMatrix(), {0, 0, 9}, kDont_ExpectVerts, false); in DEF_TEST()
122 tessellate_shadow(reporter, path, canvas.getTotalMatrix(), {0, 0, 9}, kDont_ExpectVerts, false); in DEF_TEST()
DCanvasTest.cpp310 REPORTER_ASSERT(r, c->getTotalMatrix().isIdentity()); in __anonf60bc11e0d02()
502 REPORTER_ASSERT(reporter, canvas.getTotalMatrix() == filterCanvas.getTotalMatrix()); in DEF_TEST()
507 REPORTER_ASSERT(reporter, canvas.getTotalMatrix() == filterCanvas.getTotalMatrix()); in DEF_TEST()
715 const SkMatrix preCTM = canvas.getTotalMatrix(); in DEF_TEST()
717 const SkMatrix postCTM = canvas.getTotalMatrix(); in DEF_TEST()
/external/skia/modules/sksg/src/
DSkSGImage.cpp31 local_ctx.setIsolation(this->bounds(), canvas->getTotalMatrix(), true); in onRender()
33 local_ctx->modulatePaint(canvas->getTotalMatrix(), &paint); in onRender()
DSkSGRenderEffect.cpp29 .modulateMaskShader(fShader, canvas->getTotalMatrix()); in onRender()
74 .modulateShader(fShader ? fShader->getShader() : nullptr, canvas->getTotalMatrix()); in onRender()
133 canvas->getTotalMatrix(), in onRender()
243 canvas->getTotalMatrix(), in onRender()
249 ctx->modulatePaint(canvas->getTotalMatrix(), &layer_paint); in onRender()
DSkSGDraw.cpp34 ctx->modulatePaint(canvas->getTotalMatrix(), &paint); in onRender()
DSkSGMaskEffect.cpp52 ctx->modulatePaint(canvas->getTotalMatrix(), &mask_layer_paint); in onRender()
DSkSGGroup.cpp63 canvas->getTotalMatrix(), in onRender()
/external/skia/tools/viewer/
DBisectSlide.cpp64 this->getTotalMatrix().mapRect(&bounds, path.getBounds()); in onDrawPath()
67 fFoundPaths.push_back() = {path, paint, this->getTotalMatrix()}; in onDrawPath()
/external/skqp/tools/viewer/
DBisectSlide.cpp69 this->getTotalMatrix().mapRect(&bounds, path.getBounds()); in onDrawPath()
72 fFoundPaths.push_back() = {path, paint, this->getTotalMatrix()}; in onDrawPath()
/external/skia/samplecode/
DSampleTessellatedWedge.cpp93 sdc->addDrawOp(GrOp::Make<GrPathStencilFillOp>(ctx, canvas->getTotalMatrix(), fPath, in onDrawContent()
101 devPath.transform(canvas->getTotalMatrix()); in onDrawContent()
109 fLastViewMatrix = canvas->getTotalMatrix(); in onDrawContent()
/external/skia/docs/examples/
DCanvas_getTotalMatrix.cpp7 SkDebugf("isIdentity %s\n", canvas->getTotalMatrix().isIdentity() ? "true" : "false"); in draw()
/external/skia/gm/
Dtessellation.cpp382 rtc->addDrawOp(GrOp::Make<TessellationTestOp>(ctx, canvas->getTotalMatrix(), kTri1)); in onDraw()
383 rtc->addDrawOp(GrOp::Make<TessellationTestOp>(ctx, canvas->getTotalMatrix(), kTri2)); in onDraw()
384 rtc->addDrawOp(GrOp::Make<TessellationTestOp>(ctx, canvas->getTotalMatrix(), nullptr)); in onDraw()
/external/skqp/src/core/
DSkDrawLooper.cpp52 canvas.getTotalMatrix().mapRect(&r); in computeFastBounds()
DSkRecordDraw.h51 : fInitialCTM(initialCTM ? *initialCTM : canvas->getTotalMatrix())
DSkOverdrawCanvas.cpp72 SkScalerContextFlags::kNone, this->getTotalMatrix()); in drawPosTextCommon()
255 SkDrawShadowMetrics::GetLocalBounds(path, rec, this->getTotalMatrix(), &bounds); in onDrawShadowRec()
/external/skqp/tools/lua/
Dbitmap_statistics.lua30 matrix = canvas:getTotalMatrix()
/external/skia/modules/canvaskit/htmlcanvas/
Dcanvas2dcontext.js855 this._currentTransform = this._canvas.getTotalMatrix();
891 this._currentTransform = this._canvas.getTotalMatrix();
903 this._currentTransform = this._canvas.getTotalMatrix();
951 this._currentTransform = this._canvas.getTotalMatrix();
1105 this._currentTransform = this._canvas.getTotalMatrix();
1117 this._currentTransform = this._canvas.getTotalMatrix();
/external/skqp/experimental/canvaskit/htmlcanvas/
Dcanvas2dcontext.js867 this._currentTransform = this._canvas.getTotalMatrix();
905 this._currentTransform = this._canvas.getTotalMatrix();
917 this._currentTransform = this._canvas.getTotalMatrix();
967 this._currentTransform = this._canvas.getTotalMatrix();
1111 this._currentTransform = this._canvas.getTotalMatrix();
1123 this._currentTransform = this._canvas.getTotalMatrix();
/external/skia/modules/skottie/src/effects/
DMotionBlurEffect.cpp118 this->seekToSample(i, canvas->getTotalMatrix()); in renderToRaster8888Pow2Samples()
236 this->seekToSample(i, canvas->getTotalMatrix()); in onRender()
DRadialWipeEffect.cpp98 .modulateMaskShader(fMaskShader, canvas->getTotalMatrix()); in onRender()
/external/skqp/gm/
Dshadowutils.cpp72 SkPoint lightXY = canvas->getTotalMatrix().mapXY(250, 400); in draw_paths()
192 SkMatrix invCanvasM = canvas->getTotalMatrix(); in draw_paths()
Dresizeimagefilter.cpp33 canvas->getTotalMatrix().mapRect(&dstRect, rect); in draw()
/external/skia/src/core/
DSkOverdrawCanvas.cpp69 fPainter.drawForBitmapDevice(glyphRunList, paint, fOverdrawCanvas->getTotalMatrix(), this); in onDrawGlyphRunList()
210 SkDrawShadowMetrics::GetLocalBounds(path, rec, this->getTotalMatrix(), &bounds); in onDrawShadowRec()

1234