/external/skia/src/core/ |
D | SkBitmapProcState.cpp | 43 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 …]
|
D | SkBitmapProcState_matrix.h | 52 SkASSERT((s.fInvType & ~(SkMatrix::kTranslate_Mask | in SCALE_FILTER_NAME() 93 SkASSERT((s.fInvType & ~(SkMatrix::kTranslate_Mask | in AFFINE_FILTER_NAME()
|
D | SkMatrix.cpp | 125 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 …]
|
D | SkBitmapProcState_matrixProcs.cpp | 332 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()
|
D | SkBitmapProcState_shaderproc.h | 20 SkASSERT((s.fInvType & ~(SkMatrix::kTranslate_Mask | in SCALE_FILTER_NAME()
|
D | SkBitmapProcState_sample.h | 87 SkASSERT(s.fInvType <= (SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask)); in MAKENAME()
|
D | SkBitmapProcShader.cpp | 79 unsigned mask = SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask; in only_scale_and_translate()
|
D | SkPictureRecord.cpp | 236 SkASSERT(SkMatrix::kTranslate_Mask == m.getType()); in recordTranslate() 259 case SkMatrix::kTranslate_Mask: in didConcat()
|
/external/skia/src/opts/ |
D | SkBitmapProcState_opts_mips_dsp.cpp | 19 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()
|
D | SkBitmapProcState_opts_arm.cpp | 30 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()
|
D | SkBitmapProcState_matrix_neon.h | 27 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()
|
D | SkBitmapProcState_opts_SSE2.cpp | 248 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/ |
D | SkMatrix.h | 49 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/ |
D | SkMatrix44.h | 186 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/ |
D | DrawBitmapRectTest.cpp | 62 if (mask & SkMatrix::kTranslate_Mask) { in rand_matrix() 95 rand_matrix(&mat, rand, SkMatrix::kTranslate_Mask); in test_treatAsSprite()
|
D | Matrix44Test.cpp | 124 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()
|
D | MatrixTest.cpp | 125 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/ |
D | glyph_pos.cpp | 119 ~(SkMatrix::kIdentity_Mask | SkMatrix::kTranslate_Mask)); in drawTestCase()
|
/external/skia/src/utils/ |
D | SkMatrix44.cpp | 56 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()
|
D | SkLuaCanvas.cpp | 111 case SkMatrix::kTranslate_Mask: { in didConcat()
|
D | SkDumpCanvas.cpp | 231 case SkMatrix::kTranslate_Mask: in didConcat()
|
/external/skia/src/effects/ |
D | SkPictureImageFilter.cpp | 118 0 == (ctx.ctm().getType() & ~SkMatrix::kTranslate_Mask)) { in onFilterImage()
|
/external/skia/src/effects/gradients/ |
D | SkLinearGradient.cpp | 93 unsigned mask = SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask; in LinearGradientContext()
|
/external/skia/src/svg/ |
D | SkSVGDevice.cpp | 85 case SkMatrix::kTranslate_Mask: in svg_transform()
|
/external/skia/src/pipe/ |
D | SkGPipeWrite.cpp | 600 case SkMatrix::kTranslate_Mask: in didConcat()
|