/external/skia/experimental/sksg/ |
SkSGInvalidationController.cpp | 17 void InvalidationController::inval(const SkRect& r, const SkMatrix& ctm) { 24 if (!ctm.isIdentity()) { 25 ctm.mapRect(rect.writable());
|
SkSGEffectNode.cpp | 25 SkRect EffectNode::onRevalidate(InvalidationController* ic, const SkMatrix& ctm) { 28 return fChild->revalidate(ic, ctm);
|
SkSGDraw.cpp | 38 SkRect Draw::onRevalidate(InvalidationController* ic, const SkMatrix& ctm) { 41 auto bounds = fGeometry->revalidate(ic, ctm); 42 fPaint->revalidate(ic, ctm);
|
SkSGInvalidationController.h | 28 void inval(const SkRect&, const SkMatrix& ctm = SkMatrix::I());
|
/external/skqp/experimental/sksg/ |
SkSGInvalidationController.cpp | 17 void InvalidationController::inval(const SkRect& r, const SkMatrix& ctm) { 24 if (!ctm.isIdentity()) { 25 ctm.mapRect(rect.writable());
|
SkSGEffectNode.cpp | 25 SkRect EffectNode::onRevalidate(InvalidationController* ic, const SkMatrix& ctm) { 28 return fChild->revalidate(ic, ctm);
|
SkSGDraw.cpp | 38 SkRect Draw::onRevalidate(InvalidationController* ic, const SkMatrix& ctm) { 41 auto bounds = fGeometry->revalidate(ic, ctm); 42 fPaint->revalidate(ic, ctm);
|
SkSGInvalidationController.h | 28 void inval(const SkRect&, const SkMatrix& ctm = SkMatrix::I());
|
/external/skia/tests/ |
ShadowTest.cpp | 16 void tessellate_shadow(skiatest::Reporter* reporter, const SkPath& path, const SkMatrix& ctm, 21 auto verts = SkShadowTessellator::MakeAmbient(path, ctm, heightParams, true); 26 verts = SkShadowTessellator::MakeAmbient(path, ctm, heightParams, false); 31 verts = SkShadowTessellator::MakeSpot(path, ctm, heightParams, {0, 0, 128}, 128.f, false); 36 verts = SkShadowTessellator::MakeSpot(path, ctm, heightParams, {0, 0, 128}, 128.f, false); 63 void check_xformed_bounds(skiatest::Reporter* reporter, const SkPath& path, const SkMatrix& ctm) { 73 SkDrawShadowMetrics::GetLocalBounds(path, rec, ctm, &bounds); 74 ctm.mapRect(&bounds); 76 auto verts = SkShadowTessellator::MakeAmbient(path, ctm, rec.fZPlaneParams, true); 81 SkPoint mapXY = ctm.mapXY(rec.fLightPos.fX, rec.fLightPos.fY) 91 SkMatrix ctm; local [all...] |
/external/skqp/tests/ |
ShadowTest.cpp | 16 void tessellate_shadow(skiatest::Reporter* reporter, const SkPath& path, const SkMatrix& ctm, 21 auto verts = SkShadowTessellator::MakeAmbient(path, ctm, heightParams, true); 26 verts = SkShadowTessellator::MakeAmbient(path, ctm, heightParams, false); 31 verts = SkShadowTessellator::MakeSpot(path, ctm, heightParams, {0, 0, 128}, 128.f, false); 36 verts = SkShadowTessellator::MakeSpot(path, ctm, heightParams, {0, 0, 128}, 128.f, false); 63 void check_xformed_bounds(skiatest::Reporter* reporter, const SkPath& path, const SkMatrix& ctm) { 73 SkDrawShadowMetrics::GetLocalBounds(path, rec, ctm, &bounds); 74 ctm.mapRect(&bounds); 76 auto verts = SkShadowTessellator::MakeAmbient(path, ctm, rec.fZPlaneParams, true); 81 SkPoint mapXY = ctm.mapXY(rec.fLightPos.fX, rec.fLightPos.fY) 91 SkMatrix ctm; local [all...] |
/external/skia/src/utils/ |
SkShadowTessellator.h | 29 sk_sp<SkVertices> MakeAmbient(const SkPath& path, const SkMatrix& ctm, 37 sk_sp<SkVertices> MakeSpot(const SkPath& path, const SkMatrix& ctm, const SkPoint3& zPlane,
|
/external/skqp/src/utils/ |
SkShadowTessellator.h | 29 sk_sp<SkVertices> MakeAmbient(const SkPath& path, const SkMatrix& ctm, 37 sk_sp<SkVertices> MakeSpot(const SkPath& path, const SkMatrix& ctm, const SkPoint3& zPlane,
|
/external/skia/gm/ |
pictureshader.cpp | 66 SkMatrix ctm, localMatrix; variable 67 ctm.setTranslate(fSceneSize * 2.1f, fSceneSize * 13.8f); 68 ctm.preScale(-1, -1); 70 this->drawScene(canvas, ctm, localMatrix, 0); 72 ctm.setTranslate(fSceneSize * 2.4f, fSceneSize * 12.8f); 74 this->drawScene(canvas, ctm, localMatrix, 0); 76 ctm.setTranslate(fSceneSize * 4.8f, fSceneSize * 12.3f); 77 ctm.preScale(2, 2); 78 this->drawScene(canvas, ctm, localMatrix, 0); 80 ctm.setTranslate(fSceneSize * 13.8f, fSceneSize * 14.3f) 91 SkMatrix ctm, localMatrix; local [all...] |
/external/skqp/gm/ |
pictureshader.cpp | 66 SkMatrix ctm, localMatrix; variable 67 ctm.setTranslate(fSceneSize * 2.1f, fSceneSize * 13.8f); 68 ctm.preScale(-1, -1); 70 this->drawScene(canvas, ctm, localMatrix, 0); 72 ctm.setTranslate(fSceneSize * 2.4f, fSceneSize * 12.8f); 74 this->drawScene(canvas, ctm, localMatrix, 0); 76 ctm.setTranslate(fSceneSize * 4.8f, fSceneSize * 12.3f); 77 ctm.preScale(2, 2); 78 this->drawScene(canvas, ctm, localMatrix, 0); 80 ctm.setTranslate(fSceneSize * 13.8f, fSceneSize * 14.3f) 91 SkMatrix ctm, localMatrix; local [all...] |
/external/skia/experimental/sksg/effects/ |
SkSGTransform.cpp | 29 SkRect Matrix::onRevalidate(InvalidationController* ic, const SkMatrix& ctm) { 33 fParent->revalidate(ic, ctm); 57 SkRect Transform::onRevalidate(InvalidationController* ic, const SkMatrix& ctm) { 61 fMatrix->revalidate(ic, ctm); 64 auto bounds = this->INHERITED::onRevalidate(ic, SkMatrix::Concat(ctm, m));
|
SkSGClipEffect.cpp | 39 SkRect ClipEffect::onRevalidate(InvalidationController* ic, const SkMatrix& ctm) { 42 const auto clipBounds = fClipNode->revalidate(ic, ctm); 43 auto childBounds = this->INHERITED::onRevalidate(ic, ctm);
|
SkSGMaskEffect.cpp | 42 SkRect MaskEffect::onRevalidate(InvalidationController* ic, const SkMatrix& ctm) { 45 const auto maskBounds = fMaskNode->revalidate(ic, ctm); 46 auto childBounds = this->INHERITED::onRevalidate(ic, ctm);
|
SkSGOpacityEffect.cpp | 35 SkRect OpacityEffect::onRevalidate(InvalidationController* ic, const SkMatrix& ctm) { 39 return fOpacity > 0 ? this->INHERITED::onRevalidate(ic, ctm) : SkRect::MakeEmpty();
|
/external/skqp/experimental/sksg/effects/ |
SkSGTransform.cpp | 29 SkRect Matrix::onRevalidate(InvalidationController* ic, const SkMatrix& ctm) { 33 fParent->revalidate(ic, ctm); 57 SkRect Transform::onRevalidate(InvalidationController* ic, const SkMatrix& ctm) { 61 fMatrix->revalidate(ic, ctm); 64 auto bounds = this->INHERITED::onRevalidate(ic, SkMatrix::Concat(ctm, m));
|
SkSGClipEffect.cpp | 39 SkRect ClipEffect::onRevalidate(InvalidationController* ic, const SkMatrix& ctm) { 42 const auto clipBounds = fClipNode->revalidate(ic, ctm); 43 auto childBounds = this->INHERITED::onRevalidate(ic, ctm);
|
SkSGMaskEffect.cpp | 42 SkRect MaskEffect::onRevalidate(InvalidationController* ic, const SkMatrix& ctm) { 45 const auto maskBounds = fMaskNode->revalidate(ic, ctm); 46 auto childBounds = this->INHERITED::onRevalidate(ic, ctm);
|
SkSGOpacityEffect.cpp | 35 SkRect OpacityEffect::onRevalidate(InvalidationController* ic, const SkMatrix& ctm) { 39 return fOpacity > 0 ? this->INHERITED::onRevalidate(ic, ctm) : SkRect::MakeEmpty();
|
/external/skia/src/core/ |
SkDrawShadowInfo.cpp | 19 void GetLocalBounds(const SkPath& path, const SkDrawShadowRec& rec, const SkMatrix& ctm, 38 if (ctm.hasPerspective()) { 40 ctm.mapRect(&ambientBounds); 47 ctm.mapPoints(&devLightPos, 1); 52 SkScalar devToSrcScale = SkScalarInvert(ctm.getMinScale()); 84 if (ctm.hasPerspective()) { 87 if (ctm.invert(&inverse)) {
|
/external/skqp/src/core/ |
SkDrawShadowInfo.cpp | 19 void GetLocalBounds(const SkPath& path, const SkDrawShadowRec& rec, const SkMatrix& ctm, 38 if (ctm.hasPerspective()) { 40 ctm.mapRect(&ambientBounds); 47 ctm.mapPoints(&devLightPos, 1); 52 SkScalar devToSrcScale = SkScalarInvert(ctm.getMinScale()); 84 if (ctm.hasPerspective()) { 87 if (ctm.invert(&inverse)) {
|
/external/skia/src/gpu/ops/ |
GrSmallPathRenderer.h | 65 Key(const GrShape& shape, const SkMatrix& ctm) { this->set(shape, ctm); } 86 void set(const GrShape& shape, const SkMatrix& ctm) { 92 SkScalar sx = ctm.get(SkMatrix::kMScaleX); 93 SkScalar sy = ctm.get(SkMatrix::kMScaleY); 94 SkScalar kx = ctm.get(SkMatrix::kMSkewX); 95 SkScalar ky = ctm.get(SkMatrix::kMSkewY); 96 SkScalar tx = ctm.get(SkMatrix::kMTransX); 97 SkScalar ty = ctm.get(SkMatrix::kMTransY);
|