Home
last modified time | relevance | path

Searched refs:kPerspective_Mask (Results 1 – 20 of 20) sorted by relevance

/external/skia/src/core/
DSkMatrix.cpp205 if (mask & kPerspective_Mask) { in isSimilarity()
235 if (mask & kPerspective_Mask) { in preservesRightAngles()
294 } else if (mask & kPerspective_Mask) { in preTranslate()
385 && !(fTypeMask & (kPerspective_Mask | kAffine_Mask))) { in preScale()
638 return 0 == (mask & (SkMatrix::kAffine_Mask | SkMatrix::kPerspective_Mask)); in only_scale_and_translate()
657 if ((aType | bType) & kPerspective_Mask) { in setConcat()
876 int isPersp = mask & kPerspective_Mask; in invertNonIdentity()
1004 SkASSERT(m.getType() != SkMatrix::kPerspective_Mask); in Affine_vpts()
1175 SkASSERT((m.getType() & (kAffine_Mask | kPerspective_Mask)) == kAffine_Mask); in RotTrans_xy()
1188 SkASSERT((m.getType() & (kAffine_Mask | kPerspective_Mask))== kAffine_Mask); in Rot_xy()
[all …]
DSkLocalMatrixImageFilter.cpp18 if (localM.getType() & (SkMatrix::kAffine_Mask | SkMatrix::kPerspective_Mask)) { in Make()
DSkTextMapStateProc.h24 if (mtype & (SkMatrix::kAffine_Mask | SkMatrix::kPerspective_Mask)) { in SkTextMapStateProc()
DSkMatrix44.cpp56 return kTranslate_Mask | kScale_Mask | kAffine_Mask | kPerspective_Mask; in computeTypeMask()
265 if (this->getType() & kPerspective_Mask) { in postTranslate()
558 if (!(this->getType() & kPerspective_Mask)) { in invert()
892 Map2Procf proc = (mask & kPerspective_Mask) ? map2_pf : gProc[mask]; in map2()
902 Map2Procd proc = (mask & kPerspective_Mask) ? map2_pd : gProc[mask]; in map2()
DSkBitmapProcState_matrix_template.h104 SkASSERT(s.fInvType & SkMatrix::kPerspective_Mask); in NoFilterProc_Persp()
DSkBitmapProcState_matrix.h118 SkASSERT(s.fInvType & SkMatrix::kPerspective_Mask); in PERSP_FILTER_NAME()
DSkBitmapProcState_matrixProcs.cpp470 if (fInvType & SkMatrix::kPerspective_Mask) { in chooseMatrixProc()
DSkRRect.cpp340 | SkMatrix::kPerspective_Mask); in matrix_only_scale_and_translate()
DSkFindAndPlaceGlyph.h634 if (mtype & (SkMatrix::kAffine_Mask | SkMatrix::kPerspective_Mask)
/external/skia/include/core/
DSkMatrix.h56 kPerspective_Mask = 0x08 //!< set if the matrix is in perspective enumerator
101 kPerspective_Mask); in hasPerspective()
765 kPerspective_Mask,
770 kPerspective_Mask |
DSkMatrix44.h202 kPerspective_Mask = 0x08 //!< set if the matrix is in perspective enumerator
249 return SkToBool(this->getType() & kPerspective_Mask); in hasPerspective()
/external/skia/tests/
DDrawBitmapRectTest.cpp75 if (mask & SkMatrix::kPerspective_Mask) { in rand_matrix()
106 rand_matrix(&mat, rand, SkMatrix::kAffine_Mask | SkMatrix::kPerspective_Mask); in test_treatAsSprite()
DMatrix44Test.cpp245 REPORTER_ASSERT(reporter, matrix.getType() & SkMatrix44::kPerspective_Mask); in test_gettype()
450 SkMatrix44::kPerspective_Mask) == in test_invert()
451 SkMatrix44::kPerspective_Mask); in test_invert()
/external/skia/src/gpu/glsl/
DGrGLSLGeometryProcessor.cpp42 varyingType = SkToBool(SkMatrix::kPerspective_Mask & type) ? kVec3f_GrSLType : in emitTransforms()
/external/skia/src/opts/
DSkBitmapProcState_matrix_neon.h186 SkASSERT(s.fInvType & SkMatrix::kPerspective_Mask); in PERSP_NOFILTER_NAME()
416 SkASSERT(s.fInvType & SkMatrix::kPerspective_Mask); in PERSP_FILTER_NAME()
/external/skia/bench/
DSkLinearBitmapPipelineBench.cpp56 if (fM.getType() & SkMatrix::kPerspective_Mask) { in onGetName()
/external/skia/src/svg/
DSkSVGDevice.cpp84 case SkMatrix::kPerspective_Mask: in svg_transform()
/external/skia/src/pipe/
DSkPipeReader.cpp115 if (tm & SkMatrix::kPerspective_Mask) { in read_sparse_matrix()
DSkPipeCanvas.cpp265 if (tm & SkMatrix::kPerspective_Mask) { in write_sparse_matrix()
/external/skia/src/utils/
DSkLua.cpp1251 setfield_boolean(L, "perspective", SkToBool(mask & SkMatrix::kPerspective_Mask)); in lmatrix_getType()