Home
last modified time | relevance | path

Searched refs:isScaleTranslate (Results 1 – 25 of 26) sorted by relevance

12

/third_party/skia/src/core/
DSkBitmapProcState.cpp30 SkASSERT(s.fInvMatrix.isScaleTranslate()); in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
80 SkASSERT(s.fInvMatrix.isScaleTranslate()); in S32_alpha_D32_nofilter_DX()
186 SkASSERT(SkOpts::S32_alpha_D32_filter_DXDY || inv.isScaleTranslate()); in init()
256 SkASSERT(SkOpts::S32_alpha_D32_filter_DXDY || fInvMatrix.isScaleTranslate()); in chooseProcs()
273 if (fInvMatrix.isScaleTranslate()) { in chooseProcs()
286 && fInvMatrix.isScaleTranslate()) { in chooseProcs()
415 SkASSERT(s.fInvMatrix.isScaleTranslate()); in S32_D32_constX_shaderproc()
547 if (1 == fPixmap.width() && fInvMatrix.isScaleTranslate()) { in chooseShaderProc32()
648 if (state.fInvMatrix.isScaleTranslate()) { in DebugMatrixProc()
676 if (fInvMatrix.isScaleTranslate()) { in maxCountForBufferSize()
DSkBitmapProcState_matrixProcs.cpp77 SkASSERT(s.fInvMatrix.isScaleTranslate()); in nofilter_scale()
168 SkASSERT(s.fInvMatrix.isScaleTranslate()); in filter_scale()
488 if (!fInvMatrix.isScaleTranslate()) { in chooseMatrixProc()
DSkLocalMatrixImageFilter.cpp23 (inputCapability == MatrixCapability::kScaleTranslate && !localM.isScaleTranslate())) { in Make()
DSkImageFilterTypes.cpp40 } else if (ctm.isScaleTranslate() || capability == MatrixCapability::kComplex) { in decomposeCTM()
DSkRasterClip.cpp147 const bool isScaleTrans = matrix.isScaleTranslate(); in op()
DSkLatticeIter.cpp290 SkASSERT(matrix.isScaleTranslate()); in mapDstScaleTranslate()
DSkBlurMF.cpp1516 if (viewMatrix.isScaleTranslate()) { in directFilterMaskGPU()
1533 if (!viewMatrix.isScaleTranslate()) { in directFilterMaskGPU()
DSkRRect.cpp480 if (!matrix.isScaleTranslate()) { in transform()
DSkMatrix.cpp1138 SkASSERT(this->isScaleTranslate()); in mapRectScaleTranslate()
1159 if (this->isScaleTranslate()) { in mapRect()
DSkDraw.cpp258 matrix->isScaleTranslate() && SkCanvas::kPoints_PointMode == mode) { in init()
DSkCanvas.cpp109 if (!this->getTotalMatrix().isScaleTranslate()) { in wouldOverwriteEntireSurface()
DSkPath.cpp1646 (!matrix.isScaleTranslate() || !SkPathPriv::IsAxisAligned(*this))) { in transform()
/third_party/skia/docs/examples/
DMatrix_isScaleTranslate.cpp11 SkDebugf("is scale-translate: %s\n", matrix.isScaleTranslate() ? "true" : "false"); in draw()
/third_party/skia/src/gpu/ops/
DLatticeOp.cpp265 bool isScaleTranslate = patch.fViewMatrix.isScaleTranslate(); in onPrepareDraws() local
266 if (isScaleTranslate) { in onPrepareDraws()
292 if (isScaleTranslate) { in onPrepareDraws()
DSmallPathRenderer.cpp172 flags |= ctm.isScaleTranslate() ? kScaleOnly_DistanceFieldEffectFlag : 0; in onPrepareDraws()
620 if (thisCtm.isScaleTranslate() != thatCtm.isScaleTranslate() || in onCombineIfPossible()
/third_party/skia/src/gpu/
DGrGeometryProcessor.cpp338 if (matrix.isScaleTranslate() && !shaderCaps.reducedShaderMode()) { in SetTransform()
378 bool useCompactTransform = matrix.isScaleTranslate() && !shaderCaps.reducedShaderMode(); in write_vertex_position()
DGrGeometryProcessor.h370 if (mat.isScaleTranslate()) { in ComputeMatrixKey()
/third_party/skia/src/effects/imagefilters/
DSkImageImageFilter.cpp114 const bool passthroughTransform = ctx.ctm().isScaleTranslate() && in onFilterImage()
/third_party/skia/src/shaders/
DSkShader.cpp259 } else if (m.isScaleTranslate()) { in ApplyMatrix()
DSkImageShader.cpp156 if (!SkOpts::S32_alpha_D32_filter_DXDY && !inv.isScaleTranslate()) { in legacy_shader_can_handle()
/third_party/skia/gm/
Dp3.cpp62 SkASSERT(m.isScaleTranslate()); in compare_pixel()
/third_party/skia/include/core/
DSkMatrix.h228 bool isScaleTranslate() const { in isScaleTranslate() function
/third_party/skia/src/gpu/v1/
DSurfaceDrawContext.cpp807 if (clip && viewMatrix.isScaleTranslate() && quad.fDevice.asRect(&croppedRect) && in fillRectToRect()
1174 SkScalar devToSrcScale = viewMatrix.isScaleTranslate() ? in drawFastShadow()
/third_party/skia/tests/
DGrClipStackTest.cpp1175 SkASSERT(lm.preservesAxisAlignment() && lm.isScaleTranslate()); in DEF_TEST()
1214 SkASSERT(lm.preservesAxisAlignment() && !lm.isScaleTranslate()); in DEF_TEST()
/third_party/skia/src/gpu/text/
DGrTextBlob.cpp1258 DFGPFlags |= drawMatrix.isScaleTranslate() ? kScaleOnly_DistanceFieldEffectFlag : 0; in calculate_sdf_parameters()

12