Home
last modified time | relevance | path

Searched refs:fLocalM (Results 1 – 21 of 21) sorted by relevance

/external/skia/src/core/
DSkLocalMatrixImageFilter.cpp31 , fLocalM(localM) { in SkLocalMatrixImageFilter()
43 buffer.writeMatrix(fLocalM); in flatten()
48 Context localCtx = ctx.withNewMapping(ctx.mapping().concatLocal(fLocalM)); in onFilterImage()
54 return this->getInput(0)->filterBounds(src, SkMatrix::Concat(ctm, fLocalM), dir, inputRect); in onFilterBounds()
61 if (!fLocalM.invert(&localInv)) { in computeFastBounds()
66 return fLocalM.mapRect(this->getInput(0)->computeFastBounds(localBounds)); in computeFastBounds()
DSkEffectPriv.h27 const SkMatrix* fLocalM; // may be nullptr member
DSkLocalMatrixImageFilter.h37 SkMatrix fLocalM; variable
/external/skqp/src/core/
DSkLocalMatrixImageFilter.cpp32 , fLocalM(localM) { in SkLocalMatrixImageFilter()
44 buffer.writeMatrix(fLocalM); in flatten()
50 Context localCtx(SkMatrix::Concat(ctx.ctm(), fLocalM), ctx.clipBounds(), ctx.cache(), in onFilterImage()
57 return this->getInput(0)->filterBounds(src, SkMatrix::Concat(ctm, fLocalM), dir, inputRect); in onFilterBounds()
66 return SkLocalMatrixImageFilter::Make(fLocalM, std::move(input)); in onMakeColorSpace()
DSkLocalMatrixImageFilter.h35 SkMatrix fLocalM; variable
/external/skia/tools/viewer/
DTouchGesture.cpp115 fLocalM.reset(); in resetTouchState()
127 fGlobalM.postConcat(fLocalM); in flushLocalM()
128 fLocalM.reset(); in flushLocalM()
133 if (!fFlinger.evaluateMatrix(&fLocalM)) { in localM()
137 return fLocalM; in localM()
197 fLocalM.setTranslate(-startX, -startY); in updateZoom()
198 fLocalM.postScale(scale, scale); in updateZoom()
199 fLocalM.postTranslate(lastX, lastY); in updateZoom()
242 fLocalM.setTranslate(dx, dy); in touchMoved()
331 fLocalM.reset(); in handleDblTap()
DTouchGesture.h57 SkMatrix fLocalM, fGlobalM, fPreTouchM; variable
/external/skqp/tools/viewer/
DTouchGesture.cpp115 fLocalM.reset(); in resetTouchState()
127 fGlobalM.postConcat(fLocalM); in flushLocalM()
128 fLocalM.reset(); in flushLocalM()
133 if (!fFlinger.evaluateMatrix(&fLocalM)) { in localM()
137 return fLocalM; in localM()
241 fLocalM.setTranslate(dx, dy); in touchMoved()
251 fLocalM.setTranslate(-center(rec0.fStartX, rec1.fStartX), in touchMoved()
253 fLocalM.postScale(scale, scale); in touchMoved()
254 fLocalM.postTranslate(center(rec0.fLastX, rec1.fLastX), in touchMoved()
334 fLocalM.reset(); in handleDblTap()
DTouchGesture.h53 SkMatrix fLocalM, fGlobalM, fPreTouchM; variable
/external/skqp/src/shaders/
DSkLocalMatrixShader.cpp67 if (rec.fLocalM) { in onAppendStages()
68 lm.writable()->preConcat(*rec.fLocalM); in onAppendStages()
72 newRec.fLocalM = lm; in onAppendStages()
DSkShaderBase.h165 const SkMatrix* fLocalM; // may be nullptr member
DSkPictureShader.cpp258 auto lm = this->totalLocalMatrix(rec.fLocalM); in onAppendStages()
269 localRec.fLocalM = lm->isIdentity() ? nullptr : lm.get(); in onAppendStages()
DSkShader.cpp167 ContextRec cr(*opaquePaint, rec.fCTM, rec.fLocalM, rec.fDstColorType, rec.fDstCS); in onAppendStages()
DSkImageShader.cpp275 if (!this->computeTotalInverse(rec.fCTM, rec.fLocalM, &matrix)) { in onAppendStages()
/external/skia/src/shaders/
DSkLocalMatrixShader.cpp71 if (rec.fLocalM) { in onAppendStages()
72 lm.writable()->preConcat(*rec.fLocalM); in onAppendStages()
76 newRec.fLocalM = lm; in onAppendStages()
153 rec.fLocalM, in onAppendStages()
DSkComposeShader.cpp27 if (fLocalM) { in LocalMatrixStageRec()
28 fStorage.setConcat(lm, *fLocalM); in LocalMatrixStageRec()
29 fLocalM = fStorage.isIdentity() ? nullptr : &fStorage; in LocalMatrixStageRec()
31 fLocalM = &lm; in LocalMatrixStageRec()
DSkPictureShader.cpp281 auto lm = this->totalLocalMatrix(rec.fLocalM); in onAppendStages()
291 localRec.fLocalM = lm->isIdentity() ? nullptr : lm.get(); in onAppendStages()
DSkShader.cpp164 ContextRec cr(*opaquePaint, rec.fMatrixProvider.localToDevice(), rec.fLocalM, rec.fDstColorType, in onAppendStages()
DSkImageShader.cpp479 if (!this->computeTotalInverse(rec.fMatrixProvider.localToDevice(), rec.fLocalM, &matrix)) { in doStages()
/external/skqp/src/shaders/gradients/
DSkGradientShader.cpp280 if (!this->computeTotalInverse(rec.fCTM, rec.fLocalM, &matrix)) { in onAppendStages()
/external/skia/src/shaders/gradients/
DSkGradientShader.cpp284 if (!this->computeTotalInverse(rec.fMatrixProvider.localToDevice(), rec.fLocalM, &matrix)) { in onAppendStages()