Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkBitmapProcState.cpp31 SkASSERT(s.fInvMatrix.isScaleTranslate()); in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
81 SkASSERT(s.fInvMatrix.isScaleTranslate()); in S32_alpha_D32_nofilter_DX()
192 fInvMatrix = inv; in init()
199 std::tie(fPixmap, fInvMatrix) = access->level(); in init()
205 bool integral_translate_only = just_trans_integral(fInvMatrix); in init()
215 SkMatrixPriv::PostIDiv(&fInvMatrix, fPixmap.width(), fPixmap.height()); in init()
226 if (matrix_only_scale_translate(fInvMatrix)) { in init()
228 if (fInvMatrix.invert(&forward) && just_trans_general(forward)) { in init()
229 fInvMatrix.setTranslate(-forward.getTranslateX(), -forward.getTranslateY()); in init()
234 integral_translate_only = just_trans_integral(fInvMatrix); in init()
[all …]
DSkBitmapProcState_matrixProcs.cpp77 SkASSERT(s.fInvMatrix.isScaleTranslate()); in nofilter_scale()
123 SkASSERT(!s.fInvMatrix.hasPerspective()); in nofilter_affine()
168 SkASSERT(s.fInvMatrix.isScaleTranslate()); in filter_scale()
205 SkASSERT(!s.fInvMatrix.hasPerspective()); in filter_affine()
320 SkASSERT(s.fInvMatrix.isTranslate()); in clampx_nofilter_trans()
372 SkASSERT(s.fInvMatrix.isTranslate()); in repeatx_nofilter_trans()
409 SkASSERT(s.fInvMatrix.isTranslate()); in mirrorx_nofilter_trans()
472 SkASSERT(!fInvMatrix.hasPerspective()); in chooseMatrixProc()
488 if (!fInvMatrix.isScaleTranslate()) { in chooseMatrixProc()
DSkBitmapProcState.h52 SkMatrix fInvMatrix; // This changes based on tile mode. member
159 s.fInvProc(s.fInvMatrix,
172 biasX = (s.fInvMatrix.getScaleX() > 0);
173 biasY = (s.fInvMatrix.getScaleY() > 0);
/external/skqp/src/core/
DSkBitmapController.cpp35 SkScalar invScaleX = fInvMatrix.getScaleX(); in processHighRequest()
36 SkScalar invScaleY = fInvMatrix.getScaleY(); in processHighRequest()
37 if (fInvMatrix.getType() & SkMatrix::kAffine_Mask) { in processHighRequest()
39 if (!fInvMatrix.decomposeScale(&scale)) { in processHighRequest()
74 if (!fInvMatrix.decomposeScale(&invScaleSize, nullptr)) { in processMediumRequest()
94 fInvMatrix.postScale(invScaleFixup.width(), invScaleFixup.height()); in processMediumRequest()
110 fInvMatrix = inv; in State()
DSkBitmapProcState.cpp173 fInvMatrix = inv; in init()
183 fInvMatrix = fBMState->invMatrix(); in init()
190 bool integral_translate_only = just_trans_integral(fInvMatrix); in init()
201 fInvMatrix.postIDiv(fPixmap.width(), fPixmap.height()); in init()
212 if (matrix_only_scale_translate(fInvMatrix)) { in init()
214 if (fInvMatrix.invert(&forward) && just_trans_general(forward)) { in init()
215 fInvMatrix.setTranslate(-forward.getTranslateX(), -forward.getTranslateY()); in init()
220 integral_translate_only = just_trans_integral(fInvMatrix); in init()
223 fInvType = fInvMatrix.getType(); in init()
253 fInvProc = SkMatrixPriv::GetMapXYProc(fInvMatrix); in chooseProcs()
[all …]
DSkBitmapProcState.h38 SkMatrix fInvMatrix; // This changes based on tile mode. member
175 s.fInvProc(s.fInvMatrix,
185 biasX = (s.fInvMatrix.getScaleX() > 0);
186 biasY = (s.fInvMatrix.getScaleY() > 0);
DSkBitmapController.h29 const SkMatrix& invMatrix() const { return fInvMatrix; } in invMatrix()
37 SkMatrix fInvMatrix; variable
/external/skqp/samplecode/
DPerlinPatch.cpp73 SkMatrix fInvMatrix; member in PerlinPatchView
135 if (!canvas->getTotalMatrix().invert(&fInvMatrix)) { in onDrawContent()
186 fInvMatrix.mapPoints(&clickPoint, 1); in onFindClickHandler()