/third_party/flutter/skia/src/core/ |
D | SkBitmapProcState.cpp | 31 SkMatrix::kScale_Mask)) == 0); in Clamp_S32_opaque_D32_nofilter_DX_shaderproc() 81 SkASSERT(s.fInvType <= (SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask)); in S32_alpha_D32_nofilter_DX() 134 return (m.getType() & ~SkMatrix::kTranslate_Mask) == SkMatrix::kScale_Mask; in matrix_only_scale_translate() 243 SkASSERT(fInvType <= (SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask)); in chooseProcs() 404 SkASSERT((s.fInvType & ~(SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask)) == 0); in S32_D32_constX_shaderproc() 537 static const unsigned kMask = SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask; in chooseShaderProc32() 618 SkASSERT(state.fInvType <= (SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask)); in DebugMatrixProc() 643 if (fInvType <= (SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask)) { in maxCountForBufferSize()
|
D | SkMatrix.cpp | 140 mask |= kAffine_Mask | kScale_Mask; in computeTypeMask() 158 mask |= kScale_Mask; in computeTypeMask() 238 SkASSERT(mask & (kAffine_Mask | kScale_Mask)); in preservesRightAngles() 328 : kScale_Mask | kRectStaysRect_Mask); in setScale() 366 this->clearTypeMask(kScale_Mask); in preScale() 368 this->orTypeMask(kScale_Mask); in preScale() 560 this->setTypeMask(kScale_Mask | kRectStaysRect_Mask); in setRectToRect() 830 if (0 == (mask & ~(kScale_Mask | kTranslate_Mask))) { in invertNonIdentity() 833 if (mask & kScale_Mask) { in invertNonIdentity() 936 SkASSERT(m.getType() <= (SkMatrix::kScale_Mask | SkMatrix::kTranslate_Mask)); in Scale_pts() [all …]
|
D | SkBitmapProcState_matrixProcs.cpp | 85 SkMatrix::kScale_Mask)) == 0); in nofilter_scale() 144 SkMatrix::kScale_Mask)) == 0); in filter_scale() 406 SkMatrix::kScale_Mask)) == 0); in nofilter_scale_neon() 488 SkMatrix::kScale_Mask)) == 0); in filter_scale_neon() 797 SkASSERT(fInvType <= (SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask)); in chooseMatrixProc()
|
D | SkRasterPipeline.cpp | 144 } else if ((mt | (SkMatrix::kScale_Mask | SkMatrix::kTranslate_Mask)) == in append_matrix() 145 (SkMatrix::kScale_Mask | SkMatrix::kTranslate_Mask)) { in append_matrix()
|
D | SkMatrix44.cpp | 65 fTypeMask = kTranslate_Mask | kScale_Mask | kAffine_Mask | kPerspective_Mask; in recomputeTypeMask() 75 mask |= kScale_Mask; in recomputeTypeMask() 313 this->setTypeMask(kScale_Mask); in setScale() 416 if (bits_isonly(a_mask | b_mask, kScale_Mask | kTranslate_Mask)) { in setConcat()
|
D | SkPictureRecord.cpp | 209 SkASSERT(SkMatrix::kScale_Mask == m.getType()); in recordScale() 224 case SkMatrix::kScale_Mask: in didConcat()
|
/third_party/flutter/skia/include/core/ |
D | SkMatrix44.h | 164 , fTypeMask(kTranslate_Mask | kScale_Mask | kAffine_Mask | kPerspective_Mask) {} 202 kScale_Mask = 1 << 1, //!< set if the matrix has any scale != 1 enumerator 234 return !(this->getType() & ~(kScale_Mask | kTranslate_Mask)); in isScaleTranslate() 241 return !(this->getType() & ~kScale_Mask); in isScale()
|
D | SkMatrix.h | 123 kScale_Mask = 0x02, //!< scale SkMatrix enumerator 166 return !(this->getType() & ~(kScale_Mask | kTranslate_Mask)); in isScaleTranslate() 1690 mask |= kScale_Mask; in setScaleTranslate() 1722 kScale_Mask | 1727 kScale_Mask |
|
/third_party/skia/src/core/ |
D | SkMatrix.cpp | 136 mask |= kAffine_Mask | kScale_Mask; in computeTypeMask() 154 mask |= kScale_Mask; in computeTypeMask() 234 SkASSERT(mask & (kAffine_Mask | kScale_Mask)); in preservesRightAngles() 324 : kScale_Mask | kRectStaysRect_Mask); in setScale() 362 this->clearTypeMask(kScale_Mask); in preScale() 364 this->orTypeMask(kScale_Mask); in preScale() 556 this->setTypeMask(kScale_Mask | kRectStaysRect_Mask); in setRectToRect() 827 if (0 == (mask & ~(kScale_Mask | kTranslate_Mask))) { in invertNonIdentity() 830 if (mask & kScale_Mask) { in invertNonIdentity() 933 SkASSERT(m.getType() <= (SkMatrix::kScale_Mask | SkMatrix::kTranslate_Mask)); in Scale_pts() [all …]
|
D | SkRasterPipeline.cpp | 150 } else if ((mt | (SkMatrix::kScale_Mask | SkMatrix::kTranslate_Mask)) == in append_matrix() 151 (SkMatrix::kScale_Mask | SkMatrix::kTranslate_Mask)) { in append_matrix()
|
D | SkBitmapProcState.cpp | 149 return (m.getType() & ~SkMatrix::kTranslate_Mask) == SkMatrix::kScale_Mask; in matrix_only_scale_translate()
|
/third_party/skia/include/core/ |
D | SkMatrix.h | 186 kScale_Mask = 0x02, //!< scale SkMatrix enumerator 229 return !(this->getType() & ~(kScale_Mask | kTranslate_Mask)); in isScaleTranslate() 1817 mask |= kScale_Mask; in setScaleTranslate() 1849 kScale_Mask | 1854 kScale_Mask |
|
/third_party/skia/src/gpu/geometry/ |
D | GrQuad.cpp | 21 SkASSERT(tm <= (SkMatrix::kScale_Mask | SkMatrix::kTranslate_Mask)); in map_rect_translate_scale() 105 if (tm <= (SkMatrix::kScale_Mask | SkMatrix::kTranslate_Mask)) { in MakeFromRect()
|
/third_party/flutter/skia/src/gpu/geometry/ |
D | GrQuad.cpp | 21 SkASSERT(tm <= (SkMatrix::kScale_Mask | SkMatrix::kTranslate_Mask)); in map_rect_translate_scale() 106 if (tm <= (SkMatrix::kScale_Mask | SkMatrix::kTranslate_Mask)) { in MakeFromRect()
|
/third_party/skia/docs/examples/ |
D | Matrix_TypeMask.cpp | 11 typeMask += SkMatrix::kScale_Mask & matrix.getType() ? "kScale_Mask " : ""; in draw()
|
/third_party/flutter/skia/docs/examples/ |
D | Matrix_TypeMask.cpp | 11 typeMask += SkMatrix::kScale_Mask & matrix.getType() ? "kScale_Mask " : ""; in draw()
|
/third_party/flutter/skia/tests/ |
D | Matrix44Test.cpp | 151 REPORTER_ASSERT(reporter, bits_isonly(mat.getType(), SkMatrix44::kScale_Mask)); in test_scale() 153 REPORTER_ASSERT(reporter, bits_isonly(inverse.getType(), SkMatrix44::kScale_Mask)); in test_scale() 230 expectedMask = SkMatrix44::kScale_Mask; in test_gettype() 426 REPORTER_ASSERT(reporter, tinyScale.getType() == SkMatrix44::kScale_Mask); in test_invert() 436 (SkMatrix44::kScale_Mask | SkMatrix44::kTranslate_Mask)); in test_invert()
|
D | DrawBitmapRectTest.cpp | 31 if (mask & SkMatrix::kScale_Mask) { in rand_matrix()
|
D | MatrixTest.cpp | 138 (SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask) == matrix.getType()); in test_matrix_recttorect() 144 REPORTER_ASSERT(reporter, SkMatrix::kScale_Mask == matrix.getType()); in test_matrix_recttorect()
|
/third_party/skia/src/shaders/ |
D | SkBitmapProcShader.cpp | 28 unsigned mask = SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask; in BitmapProcShaderContext()
|
/third_party/flutter/skia/src/shaders/ |
D | SkBitmapProcShader.cpp | 15 unsigned mask = SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask; in only_scale_and_translate()
|
/third_party/skia/tests/ |
D | DrawBitmapRectTest.cpp | 32 if (mask & SkMatrix::kScale_Mask) { in rand_matrix()
|
D | MatrixTest.cpp | 148 (SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask) == matrix.getType()); in test_matrix_recttorect() 154 REPORTER_ASSERT(reporter, SkMatrix::kScale_Mask == matrix.getType()); in test_matrix_recttorect()
|
/third_party/flutter/skia/src/utils/ |
D | SkLuaCanvas.cpp | 121 case SkMatrix::kScale_Mask: { in didConcat()
|
/third_party/skia/src/gpu/tessellate/ |
D | WangsFormula.h | 77 } else if (m.getType() & SkMatrix::kScale_Mask) {
|