Home
last modified time | relevance | path

Searched refs:kScale_Mask (Results 1 – 25 of 35) sorted by relevance

12

/third_party/flutter/skia/src/core/
DSkBitmapProcState.cpp31 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()
DSkMatrix.cpp140 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 …]
DSkBitmapProcState_matrixProcs.cpp85 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()
DSkRasterPipeline.cpp144 } else if ((mt | (SkMatrix::kScale_Mask | SkMatrix::kTranslate_Mask)) == in append_matrix()
145 (SkMatrix::kScale_Mask | SkMatrix::kTranslate_Mask)) { in append_matrix()
DSkMatrix44.cpp65 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()
DSkPictureRecord.cpp209 SkASSERT(SkMatrix::kScale_Mask == m.getType()); in recordScale()
224 case SkMatrix::kScale_Mask: in didConcat()
/third_party/flutter/skia/include/core/
DSkMatrix44.h164 , 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()
DSkMatrix.h123 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/
DSkMatrix.cpp136 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 …]
DSkRasterPipeline.cpp150 } else if ((mt | (SkMatrix::kScale_Mask | SkMatrix::kTranslate_Mask)) == in append_matrix()
151 (SkMatrix::kScale_Mask | SkMatrix::kTranslate_Mask)) { in append_matrix()
DSkBitmapProcState.cpp149 return (m.getType() & ~SkMatrix::kTranslate_Mask) == SkMatrix::kScale_Mask; in matrix_only_scale_translate()
/third_party/skia/include/core/
DSkMatrix.h186 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/
DGrQuad.cpp21 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/
DGrQuad.cpp21 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/
DMatrix_TypeMask.cpp11 typeMask += SkMatrix::kScale_Mask & matrix.getType() ? "kScale_Mask " : ""; in draw()
/third_party/flutter/skia/docs/examples/
DMatrix_TypeMask.cpp11 typeMask += SkMatrix::kScale_Mask & matrix.getType() ? "kScale_Mask " : ""; in draw()
/third_party/flutter/skia/tests/
DMatrix44Test.cpp151 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()
DDrawBitmapRectTest.cpp31 if (mask & SkMatrix::kScale_Mask) { in rand_matrix()
DMatrixTest.cpp138 (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/
DSkBitmapProcShader.cpp28 unsigned mask = SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask; in BitmapProcShaderContext()
/third_party/flutter/skia/src/shaders/
DSkBitmapProcShader.cpp15 unsigned mask = SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask; in only_scale_and_translate()
/third_party/skia/tests/
DDrawBitmapRectTest.cpp32 if (mask & SkMatrix::kScale_Mask) { in rand_matrix()
DMatrixTest.cpp148 (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/
DSkLuaCanvas.cpp121 case SkMatrix::kScale_Mask: { in didConcat()
/third_party/skia/src/gpu/tessellate/
DWangsFormula.h77 } else if (m.getType() & SkMatrix::kScale_Mask) {

12