Home
last modified time | relevance | path

Searched refs:kTranslate_Mask (Results 1 – 25 of 27) sorted by relevance

12

/external/skia/src/core/
DSkBitmapProcState.cpp43 return m.getType() <= (SkMatrix::kScale_Mask | SkMatrix::kTranslate_Mask); in matrix_only_scale_translate()
289 bool trivialMatrix = (fInvMatrix.getType() & ~SkMatrix::kTranslate_Mask) == 0; in chooseProcs()
341 trivialMatrix = (fInvMatrix.getType() & ~SkMatrix::kTranslate_Mask) == 0; in chooseProcs()
347 if (fInvType <= SkMatrix::kTranslate_Mask || in chooseProcs()
379 if (fInvType <= (SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask)) { in chooseScanlineProcs()
538 SkASSERT(((s.fInvType & ~SkMatrix::kTranslate_Mask)) == 0); in Clamp_S32_D32_nofilter_trans_shaderproc()
612 SkASSERT(((s.fInvType & ~SkMatrix::kTranslate_Mask)) == 0); in Repeat_S32_D32_nofilter_trans_shaderproc()
652 SkASSERT((s.fInvType & ~(SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask)) == 0); in S32_D32_constX_shaderproc()
673 if (s.fInvType > SkMatrix::kTranslate_Mask) { in S32_D32_constX_shaderproc()
714 if (s.fInvType > SkMatrix::kTranslate_Mask && in S32_D32_constX_shaderproc()
[all …]
DSkBitmapProcState_matrix.h52 SkASSERT((s.fInvType & ~(SkMatrix::kTranslate_Mask | in SCALE_FILTER_NAME()
93 SkASSERT((s.fInvType & ~(SkMatrix::kTranslate_Mask | in AFFINE_FILTER_NAME()
DSkMatrix.cpp125 mask |= kTranslate_Mask; in computeTypeMask()
201 if (mask <= kTranslate_Mask) { in isSimilarity()
230 if (mask <= kTranslate_Mask) { in preservesRightAngles()
281 this->setTypeMask(kTranslate_Mask | kRectStaysRect_Mask); in setTranslate()
784 if (0 == (mask & ~(kScale_Mask | kTranslate_Mask))) { in invertNonIdentity()
880 SkASSERT(m.getType() <= kTranslate_Mask); in Trans_pts()
909 SkASSERT(m.getType() <= (kScale_Mask | kTranslate_Mask)); in Scale_pts()
1059 tmp.clearTypeMask(kTranslate_Mask); in mapVectors()
1161 SkASSERT(m.getType() == kTranslate_Mask); in Trans_xy()
1589 kTranslate_Mask | kScale_Mask | kAffine_Mask | kPerspective_Mask }; in InvalidMatrix()
[all …]
DSkBitmapProcState_matrixProcs.cpp332 SkASSERT((s.fInvType & ~SkMatrix::kTranslate_Mask) == 0); in clampx_nofilter_trans()
380 SkASSERT((s.fInvType & ~SkMatrix::kTranslate_Mask) == 0); in repeatx_nofilter_trans()
420 SkASSERT((s.fInvType & ~SkMatrix::kTranslate_Mask) == 0); in mirrorx_nofilter_trans()
DSkBitmapProcState_shaderproc.h20 SkASSERT((s.fInvType & ~(SkMatrix::kTranslate_Mask | in SCALE_FILTER_NAME()
DSkBitmapProcState_sample.h87 SkASSERT(s.fInvType <= (SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask)); in MAKENAME()
DSkBitmapProcShader.cpp79 unsigned mask = SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask; in only_scale_and_translate()
DSkPictureRecord.cpp236 SkASSERT(SkMatrix::kTranslate_Mask == m.getType()); in recordTranslate()
259 case SkMatrix::kTranslate_Mask: in didConcat()
/external/skia/src/opts/
DSkBitmapProcState_opts_mips_dsp.cpp19 SkASSERT(s.fInvType <= (SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask)); in SI8_D16_nofilter_DX_mips_dsp()
151 SkASSERT(s.fInvType <= (SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask)); in SI8_opaque_D32_nofilter_DX_mips_dsp()
375 if (fInvType <= (SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask)) { in platformProcs()
DSkBitmapProcState_opts_arm.cpp30 SkASSERT(s.fInvType <= (SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask)); in SI8_D16_nofilter_DX_arm()
119 SkASSERT(s.fInvType <= (SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask)); in SI8_opaque_D32_nofilter_DX_arm()
198 if (fInvType <= (SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask)) { in platformProcs()
DSkBitmapProcState_matrix_neon.h27 SkASSERT((s.fInvType & ~(SkMatrix::kTranslate_Mask | in SCALE_NOFILTER_NAME()
111 SkASSERT((s.fInvType & ~(SkMatrix::kTranslate_Mask | in AFFINE_NOFILTER_NAME()
290 SkASSERT((s.fInvType & ~(SkMatrix::kTranslate_Mask | in SCALE_FILTER_NAME()
356 SkASSERT((s.fInvType & ~(SkMatrix::kTranslate_Mask | in AFFINE_FILTER_NAME()
DSkBitmapProcState_opts_SSE2.cpp248 SkASSERT((s.fInvType & ~(SkMatrix::kTranslate_Mask | in ClampX_ClampY_filter_scale_SSE2()
372 SkASSERT((s.fInvType & ~(SkMatrix::kTranslate_Mask | in ClampX_ClampY_nofilter_scale_SSE2()
564 SkASSERT((s.fInvType & ~(SkMatrix::kTranslate_Mask | in ClampX_ClampY_nofilter_affine_SSE2()
/external/skia/include/core/
DSkMatrix.h49 kTranslate_Mask = 0x01, //!< set if the matrix has translation enumerator
76 return !(this->getType() & ~(kScale_Mask | kTranslate_Mask)); in isScaleTranslate()
707 kORableMasks = kTranslate_Mask |
712 kAllMasks = kTranslate_Mask |
740 mask |= kTranslate_Mask; in setScaleTranslate()
/external/skia/include/utils/
DSkMatrix44.h186 kTranslate_Mask = 0x01, //!< set if the matrix has translation enumerator
218 return !(this->getType() & ~kTranslate_Mask); in isTranslate()
225 return !(this->getType() & ~(kScale_Mask | kTranslate_Mask)); in isScaleTranslate()
/external/skia/tests/
DDrawBitmapRectTest.cpp62 if (mask & SkMatrix::kTranslate_Mask) { in rand_matrix()
95 rand_matrix(&mat, rand, SkMatrix::kTranslate_Mask); in test_treatAsSprite()
DMatrix44Test.cpp124 REPORTER_ASSERT(reporter, bits_isonly(mat.getType(), SkMatrix44::kTranslate_Mask)); in test_translate()
126 REPORTER_ASSERT(reporter, bits_isonly(inverse.getType(), SkMatrix44::kTranslate_Mask)); in test_translate()
237 expectedMask |= SkMatrix44::kTranslate_Mask; in test_gettype()
DMatrixTest.cpp125 REPORTER_ASSERT(reporter, SkMatrix::kTranslate_Mask == matrix.getType()); in test_matrix_recttorect()
131 (SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask) == matrix.getType()); in test_matrix_recttorect()
/external/skia/gm/
Dglyph_pos.cpp119 ~(SkMatrix::kIdentity_Mask | SkMatrix::kTranslate_Mask)); in drawTestCase()
/external/skia/src/utils/
DSkMatrix44.cpp56 return kTranslate_Mask | kScale_Mask | kAffine_Mask | kPerspective_Mask; in computeTypeMask()
60 mask |= kTranslate_Mask; in computeTypeMask()
224 this->setTypeMask(kTranslate_Mask); in setTranslate()
372 if (bits_isonly(a_mask | b_mask, kScale_Mask | kTranslate_Mask)) { in setConcat()
DSkLuaCanvas.cpp111 case SkMatrix::kTranslate_Mask: { in didConcat()
DSkDumpCanvas.cpp231 case SkMatrix::kTranslate_Mask: in didConcat()
/external/skia/src/effects/
DSkPictureImageFilter.cpp118 0 == (ctx.ctm().getType() & ~SkMatrix::kTranslate_Mask)) { in onFilterImage()
/external/skia/src/effects/gradients/
DSkLinearGradient.cpp93 unsigned mask = SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask; in LinearGradientContext()
/external/skia/src/svg/
DSkSVGDevice.cpp85 case SkMatrix::kTranslate_Mask: in svg_transform()
/external/skia/src/pipe/
DSkGPipeWrite.cpp600 case SkMatrix::kTranslate_Mask: in didConcat()

12