Home
last modified time | relevance | path

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

123

/external/chromium_org/third_party/skia/src/core/
DSkBitmapProcState.cpp41 return m.getType() <= (SkMatrix::kScale_Mask | SkMatrix::kTranslate_Mask); in matrix_only_scale_translate()
156 fInvMatrix.getType() <= (SkMatrix::kScale_Mask | SkMatrix::kTranslate_Mask) && in possiblyScaleImage()
338 bool trivialMatrix = (fInvMatrix.getType() & ~SkMatrix::kTranslate_Mask) == 0; in chooseProcs()
383 trivialMatrix = (fInvMatrix.getType() & ~SkMatrix::kTranslate_Mask) == 0; in chooseProcs()
406 if (fInvType <= SkMatrix::kTranslate_Mask || in chooseProcs()
435 if (fInvType <= (SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask)) { in chooseProcs()
576 SkASSERT(((s.fInvType & ~SkMatrix::kTranslate_Mask)) == 0); in Clamp_S32_D32_nofilter_trans_shaderproc()
650 SkASSERT(((s.fInvType & ~SkMatrix::kTranslate_Mask)) == 0); in Repeat_S32_D32_nofilter_trans_shaderproc()
690 SkASSERT((s.fInvType & ~(SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask)) == 0); in S32_D32_constX_shaderproc()
711 if (s.fInvType > SkMatrix::kTranslate_Mask) { in S32_D32_constX_shaderproc()
[all …]
DSkBitmapProcState_matrix_template.h17 SkASSERT((s.fInvType & ~(SkMatrix::kTranslate_Mask | in NoFilterProc_Scale()
79 SkASSERT((s.fInvType & ~(SkMatrix::kTranslate_Mask | in NoFilterProc_Affine()
DSkMatrix.cpp83 mask |= kTranslate_Mask; in computeTypeMask()
159 if (mask <= kTranslate_Mask) { in isSimilarity()
188 if (mask <= kTranslate_Mask) { in preservesRightAngles()
239 this->setTypeMask(kTranslate_Mask | kRectStaysRect_Mask); in setTranslate()
292 this->setTypeMask(kScale_Mask | kTranslate_Mask | kRectStaysRect_Mask); in setScale()
579 mask |= kTranslate_Mask; in setRectToRect()
769 if (0 == (mask & ~(kScale_Mask | kTranslate_Mask))) { in invertNonIdentity()
866 SkASSERT(m.getType() == kTranslate_Mask); in Trans_pts()
898 SkASSERT(m.getType() == (kScale_Mask | kTranslate_Mask)); in ScaleTrans_pts()
916 SkASSERT((m.getType() & (kPerspective_Mask | kTranslate_Mask)) == 0); in Rot_pts()
[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()
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()
/external/skia/src/core/
DSkBitmapProcState.cpp40 return m.getType() <= (SkMatrix::kScale_Mask | SkMatrix::kTranslate_Mask); in matrix_only_scale_translate()
163 fInvMatrix.getType() <= (SkMatrix::kScale_Mask | SkMatrix::kTranslate_Mask) && in possiblyScaleImage()
419 bool trivialMatrix = (fInvMatrix.getType() & ~SkMatrix::kTranslate_Mask) == 0; in chooseProcs()
464 trivialMatrix = (fInvMatrix.getType() & ~SkMatrix::kTranslate_Mask) == 0; in chooseProcs()
487 if (fInvType <= SkMatrix::kTranslate_Mask || in chooseProcs()
514 if (fInvType <= (SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask)) { in chooseProcs()
646 SkASSERT(((s.fInvType & ~SkMatrix::kTranslate_Mask)) == 0); in Clamp_S32_D32_nofilter_trans_shaderproc()
720 SkASSERT(((s.fInvType & ~SkMatrix::kTranslate_Mask)) == 0); in Repeat_S32_D32_nofilter_trans_shaderproc()
760 SkASSERT((s.fInvType & ~(SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask)) == 0); in S32_D32_constX_shaderproc()
781 if (s.fInvType > SkMatrix::kTranslate_Mask) { in S32_D32_constX_shaderproc()
[all …]
DSkBitmapProcState_matrix_template.h17 SkASSERT((s.fInvType & ~(SkMatrix::kTranslate_Mask | in NoFilterProc_Scale()
79 SkASSERT((s.fInvType & ~(SkMatrix::kTranslate_Mask | in NoFilterProc_Affine()
DSkMatrix.cpp83 mask |= kTranslate_Mask; in computeTypeMask()
159 if (mask <= kTranslate_Mask) { in isSimilarity()
192 if (mask <= (SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask)) { in preservesRightAngles()
245 this->setTypeMask(kTranslate_Mask | kRectStaysRect_Mask); in setTranslate()
298 this->setTypeMask(kScale_Mask | kTranslate_Mask | kRectStaysRect_Mask); in setScale()
585 mask |= kTranslate_Mask; in setRectToRect()
775 if (0 == (mask & ~(kScale_Mask | kTranslate_Mask))) { in invertNonIdentity()
872 SkASSERT(m.getType() == kTranslate_Mask); in Trans_pts()
904 SkASSERT(m.getType() == (kScale_Mask | kTranslate_Mask)); in ScaleTrans_pts()
922 SkASSERT((m.getType() & (kPerspective_Mask | kTranslate_Mask)) == 0); in Rot_pts()
[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()
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()
/external/chromium_org/third_party/skia/src/opts/
DSkBitmapProcState_opts_mips_dsp.cpp19 SkASSERT(s.fInvType <= (SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask)); in SI8_D16_nofilter_DX_mips_dsp()
152 SkASSERT(s.fInvType <= (SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask)); in SI8_opaque_D32_nofilter_DX_mips_dsp()
377 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()
121 SkASSERT(s.fInvType <= (SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask)); in SI8_opaque_D32_nofilter_DX_arm()
202 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()
/external/chromium_org/third_party/skia/include/core/
DSkMatrix.h37 kTranslate_Mask = 0x01, //!< set if the matrix has translation enumerator
64 return !(this->getType() & ~(kScale_Mask | kTranslate_Mask)); in isScaleTranslate()
638 kORableMasks = kTranslate_Mask |
643 kAllMasks = kTranslate_Mask |
/external/skia/include/utils/
DSkMatrix44.h159 kTranslate_Mask = 0x01, //!< set if the matrix has translation enumerator
191 return !(this->getType() & ~kTranslate_Mask); in isTranslate()
198 return !(this->getType() & ~(kScale_Mask | kTranslate_Mask)); in isScaleTranslate()
/external/chromium_org/third_party/skia/include/utils/
DSkMatrix44.h159 kTranslate_Mask = 0x01, //!< set if the matrix has translation enumerator
191 return !(this->getType() & ~kTranslate_Mask); in isTranslate()
198 return !(this->getType() & ~(kScale_Mask | kTranslate_Mask)); in isScaleTranslate()
/external/skia/src/opts/
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()
/external/skia/include/core/
DSkMatrix.h36 kTranslate_Mask = 0x01, //!< set if the matrix has translation enumerator
633 kORableMasks = kTranslate_Mask |
638 kAllMasks = kTranslate_Mask |
/external/skia/tests/
DDrawBitmapRectTest.cpp71 if (mask & SkMatrix::kTranslate_Mask) { in rand_matrix()
104 rand_matrix(&mat, rand, SkMatrix::kTranslate_Mask); in test_treatAsSprite()
/external/chromium_org/third_party/skia/tests/
DDrawBitmapRectTest.cpp68 if (mask & SkMatrix::kTranslate_Mask) { in rand_matrix()
101 rand_matrix(&mat, rand, SkMatrix::kTranslate_Mask); in test_treatAsSprite()
/external/chromium_org/android_webview/native/
Djava_browser_view_renderer_helper.cc89 ~(SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask)))) { in RenderViaAuxilaryBitmapIfNeeded()
/external/skia/src/gpu/gl/
DGrGLProgramEffects.cpp104 SkASSERT(SkMatrix::kTranslate_Mask == (matrix.getType() | coordChangeMatrix.getType())); in get_transform_translation()
108 SkASSERT(SkMatrix::kTranslate_Mask == matrix.getType()); in get_transform_translation()
184 } else if (SkMatrix::kTranslate_Mask & combinedTypes) { in GenTransformKey()
/external/chromium_org/third_party/skia/gm/
Dglyph_pos.cpp126 ~(SkMatrix::kIdentity_Mask | SkMatrix::kTranslate_Mask)); in drawTestCase()

123