Searched refs:fInvMatrix (Results 1 – 8 of 8) sorted by relevance
/external/skia/src/core/ |
D | SkBitmapController.cpp | 88 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()
|
D | SkBitmapProcState.cpp | 104 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 …]
|
D | SkBitmapProcState.h | 37 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);
|
D | SkBitmapController.h | 28 const SkMatrix& invMatrix() const { return fInvMatrix; } in invMatrix() 33 SkMatrix fInvMatrix; variable
|
D | SkBitmapProcState_matrix_template.h | 109 SkPerspIter iter(s.fInvMatrix, in NoFilterProc_Persp()
|
D | SkBitmapProcState_matrix.h | 126 SkPerspIter iter(s.fInvMatrix, in PERSP_FILTER_NAME()
|
/external/skia/samplecode/ |
D | PerlinPatch.cpp | 73 SkMatrix fInvMatrix; member in PerlinPatchView 136 if (!canvas->getTotalMatrix().invert(&fInvMatrix)) { in onDrawContent() 187 fInvMatrix.mapPoints(&clickPoint, 1); in onFindClickHandler()
|
/external/skia/src/opts/ |
D | SkBitmapProcState_matrix_neon.h | 193 SkPerspIter iter(s.fInvMatrix, in PERSP_NOFILTER_NAME() 424 SkPerspIter iter(s.fInvMatrix, in PERSP_FILTER_NAME()
|