Home
last modified time | relevance | path

Searched refs:fInvMatrix (Results 1 – 8 of 8) sorted by relevance

/external/skia/src/core/
DSkBitmapController.cpp88 if (kN32_SkColorType != provider.info().colorType() || !cache_size_okay(provider, fInvMatrix) || in processHQRequest()
89 fInvMatrix.hasPerspective()) in processHQRequest()
94 SkScalar invScaleX = fInvMatrix.getScaleX(); in processHQRequest()
95 SkScalar invScaleY = fInvMatrix.getScaleY(); in processHQRequest()
96 if (fInvMatrix.getType() & SkMatrix::kAffine_Mask) { in processHQRequest()
98 if (!fInvMatrix.decomposeScale(&scale)) { in processHQRequest()
152 fInvMatrix.postScale(SkIntToScalar(dstW) / provider.width(), in processHQRequest()
173 if (!fInvMatrix.decomposeScale(&invScaleSize, nullptr)) { in processMediumRequest()
202 fInvMatrix.postScale(invScaleFixup.width(), invScaleFixup.height()); in processMediumRequest()
219 fInvMatrix = inv; in SkDefaultBitmapControllerState()
DSkBitmapProcState.cpp104 fInvMatrix = inv; in init()
120 fInvMatrix = fBMState->invMatrix(); in init()
126 bool trivialMatrix = (fInvMatrix.getType() & ~SkMatrix::kTranslate_Mask) == 0; in init()
140 fInvMatrix.postIDiv(fPixmap.width(), fPixmap.height()); in init()
151 if (matrix_only_scale_translate(fInvMatrix)) { in init()
153 if (fInvMatrix.invert(&forward)) { in init()
157 fInvMatrix.setTranslate(-forward.getTranslateX(), -forward.getTranslateY()); in init()
162 fInvType = fInvMatrix.getType(); in init()
199 fInvProc = fInvMatrix.getMapXYProc(); in chooseProcs()
200 fInvSx = SkScalarToFixed(fInvMatrix.getScaleX()); in chooseProcs()
[all …]
DSkBitmapProcState.h37 SkMatrix fInvMatrix; // This changes based on tile mode. member
219 s.fInvProc(s.fInvMatrix,
229 biasX = (s.fInvMatrix.getScaleX() > 0);
230 biasY = (s.fInvMatrix.getScaleY() > 0);
DSkBitmapController.h28 const SkMatrix& invMatrix() const { return fInvMatrix; } in invMatrix()
33 SkMatrix fInvMatrix; variable
DSkBitmapProcState_matrix_template.h109 SkPerspIter iter(s.fInvMatrix, in NoFilterProc_Persp()
DSkBitmapProcState_matrix.h126 SkPerspIter iter(s.fInvMatrix, in PERSP_FILTER_NAME()
/external/skia/samplecode/
DPerlinPatch.cpp73 SkMatrix fInvMatrix; member in PerlinPatchView
136 if (!canvas->getTotalMatrix().invert(&fInvMatrix)) { in onDrawContent()
187 fInvMatrix.mapPoints(&clickPoint, 1); in onFindClickHandler()
/external/skia/src/opts/
DSkBitmapProcState_matrix_neon.h193 SkPerspIter iter(s.fInvMatrix, in PERSP_NOFILTER_NAME()
424 SkPerspIter iter(s.fInvMatrix, in PERSP_FILTER_NAME()