Home
last modified time | relevance | path

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

/third_party/skia/include/core/
DSkMatrix.h185 kTranslate_Mask = 0x01, //!< translation SkMatrix enumerator
229 return !(this->getType() & ~(kScale_Mask | kTranslate_Mask)); in isScaleTranslate()
240 bool isTranslate() const { return !(this->getType() & ~(kTranslate_Mask)); } in isTranslate()
1820 mask |= kTranslate_Mask; in setScaleTranslate()
1848 static constexpr int kORableMasks = kTranslate_Mask |
1853 static constexpr int kAllMasks = kTranslate_Mask |
1914 fTypeMask |= kTranslate_Mask; in updateTranslateMask()
1916 fTypeMask &= ~kTranslate_Mask; in updateTranslateMask()
/third_party/skia/src/gpu/geometry/
DGrQuad.cpp21 SkASSERT(tm <= (SkMatrix::kScale_Mask | SkMatrix::kTranslate_Mask)); in map_rect_translate_scale()
26 if (tm <= SkMatrix::kTranslate_Mask) { in map_rect_translate_scale()
105 if (tm <= (SkMatrix::kScale_Mask | SkMatrix::kTranslate_Mask)) { in MakeFromRect()
/third_party/skia/src/core/
DSkMatrixPriv.h49 if (mx.getType() <= SkMatrix::kTranslate_Mask) { in InverseMapRect()
94 if (SkMatrix::kTranslate_Mask == tm) { in MapPointsWithStride()
DSkMatrix.cpp121 mask |= kTranslate_Mask; in computeTypeMask()
197 if (mask <= kTranslate_Mask) { in isSimilarity()
226 if (mask <= kTranslate_Mask) { in preservesRightAngles()
272 (dx != 0 || dy != 0) ? kTranslate_Mask | kRectStaysRect_Mask in setTranslate()
280 if (mask <= kTranslate_Mask) { in preTranslate()
827 if (0 == (mask & ~(kScale_Mask | kTranslate_Mask))) { in invertNonIdentity()
905 SkASSERT(m.getType() <= SkMatrix::kTranslate_Mask); in Trans_pts()
933 SkASSERT(m.getType() <= (SkMatrix::kScale_Mask | SkMatrix::kTranslate_Mask)); in Scale_pts()
1122 tmp.clearTypeMask(kTranslate_Mask); in mapVectors()
1152 if (this->getType() <= kTranslate_Mask) { in mapRect()
[all …]
DSkRasterPipeline.cpp145 if (mt == SkMatrix::kTranslate_Mask) { in append_matrix()
150 } 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()
172 return m.getType() <= SkMatrix::kTranslate_Mask in just_trans_integral()
269 bool translate_only = (fInvMatrix.getType() & ~SkMatrix::kTranslate_Mask) == 0; in chooseProcs()
DSkDevice.cpp122 bool isNonTranslate = localToDevice.getType() & ~(SkMatrix::kTranslate_Mask); in drawRegion()
DSkBitmapDevice.cpp422 return m.getType() <= SkMatrix::kTranslate_Mask; in CanApplyDstMatrixAsCTM()
DSkPictureRecord.cpp204 SkASSERT(SkMatrix::kTranslate_Mask == m.getType()); in recordTranslate()
/third_party/skia/docs/examples/
DMatrix_TypeMask.cpp10 typeMask += SkMatrix::kTranslate_Mask & matrix.getType() ? "kTranslate_Mask " : ""; in draw()
/third_party/skia/tests/
DDrawBitmapRectTest.cpp29 if (mask & SkMatrix::kTranslate_Mask) { in rand_matrix()
62 rand_matrix(&mat, rand, SkMatrix::kTranslate_Mask); in test_treatAsSprite()
DMatrixTest.cpp142 REPORTER_ASSERT(reporter, SkMatrix::kTranslate_Mask == matrix.getType()); in test_matrix_recttorect()
148 (SkMatrix::kTranslate_Mask | 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()
DSkImageShader.cpp355 matrix.getType() <= SkMatrix::kTranslate_Mask && in tweak_sampling()
/third_party/skia/gm/
Dglyph_pos.cpp103 ~(SkMatrix::kIdentity_Mask | SkMatrix::kTranslate_Mask)); in drawTestCase()
/third_party/skia/src/gpu/tessellate/
DWangsFormula.h82 SkASSERT(!(m.getType() & ~SkMatrix::kTranslate_Mask));
/third_party/skia/src/effects/imagefilters/
DSkArithmeticImageFilter.cpp436 SkASSERT(ctm.getType() <= SkMatrix::kTranslate_Mask); in drawForeground()
/third_party/skia/src/svg/
DSkSVGDevice.cpp128 case SkMatrix::kTranslate_Mask: in svg_transform()
/third_party/skia/src/gpu/v1/
DSurfaceDrawContext.cpp1341 if (!SkToBool(viewMatrix.getType() & ~(SkMatrix::kTranslate_Mask)) && in drawRegion()
/third_party/skia/tools/debugger/
DDrawCommand.cpp1102 case SkMatrix::kTranslate_Mask: in writeMatrixType()
/third_party/skia/tools/fiddle/
Ddocumumentation_examples_map.txt1615 enum TypeMask { kIdentity_Mask = 0, kTranslate_Mask = 0x01, kScale_Mask = 0x02, kAffine_Mask = 0x04…