Home
last modified time | relevance | path

Searched refs:hasPerspective (Results 1 – 25 of 98) sorted by relevance

1234

/external/skqp/src/shaders/
DSkShader.cpp82 if (rec.fMatrix->hasPerspective() || in makeContext()
83 fLocalMatrix.hasPerspective() || in makeContext()
84 (rec.fLocalMatrix && rec.fLocalMatrix->hasPerspective()) || in makeContext()
99 SkASSERT(!rec.fMatrix->hasPerspective()); in Context()
100 SkASSERT(!rec.fLocalMatrix || !rec.fLocalMatrix->hasPerspective()); in Context()
101 SkASSERT(!shader.getLocalMatrix().hasPerspective()); in Context()
/external/skia/src/shaders/
DSkShader.cpp83 if (rec.fMatrix->hasPerspective() || in makeContext()
84 fLocalMatrix.hasPerspective() || in makeContext()
85 (rec.fLocalMatrix && rec.fLocalMatrix->hasPerspective()) || in makeContext()
100 SkASSERT(!rec.fMatrix->hasPerspective()); in Context()
101 SkASSERT(!rec.fLocalMatrix || !rec.fLocalMatrix->hasPerspective()); in Context()
102 SkASSERT(!shader.getLocalMatrix().hasPerspective()); in Context()
/external/skqp/src/gpu/
DGrPathProcessor.cpp26 b->add32(SkToInt(pathProc.viewMatrix().hasPerspective())); in GenKey()
33 if (!pathProc.viewMatrix().hasPerspective()) { in emitCode()
57 coordTransform->getMatrix().hasPerspective() ? kHalf3_GrSLType in emitTransforms()
DGrQuad.cpp73 if (this->hasPerspective()) { in quadType()
142 } else if (matrix.hasPerspective()) { in GrQuadTypeForTransformedRect()
173 if (m.hasPerspective()) { in GrQuad()
216 if (m.hasPerspective()) { in GrPerspQuad()
/external/skia/src/gpu/
DGrPathProcessor.cpp26 b->add32(SkToInt(pathProc.viewMatrix().hasPerspective())); in GenKey()
33 if (!pathProc.viewMatrix().hasPerspective()) { in emitCode()
57 coordTransform->getMatrix().hasPerspective() ? kHalf3_GrSLType in emitTransforms()
DGrQuad.cpp73 if (this->hasPerspective()) { in quadType()
118 if (m.hasPerspective()) { in map_quad_general()
196 } else if (matrix.hasPerspective()) { in GrQuadTypeForTransformedRect()
/external/skia/src/core/
DSkFontPriv.cpp23 SkASSERT(!ctm.hasPerspective()); in TooBigToUseCache()
24 SkASSERT(!textM.hasPerspective()); in TooBigToUseCache()
DSkDrawShadowInfo.cpp28 if (!ctm.hasPerspective()) { in GetSpotShadowTransform()
135 if (ctm.hasPerspective()) { in GetLocalBounds()
181 if (ctm.hasPerspective()) { in GetLocalBounds()
/external/skqp/src/core/
DSkFontPriv.cpp23 SkASSERT(!ctm.hasPerspective()); in TooBigToUseCache()
24 SkASSERT(!textM.hasPerspective()); in TooBigToUseCache()
DSkDrawShadowInfo.cpp28 if (!ctm.hasPerspective()) { in GetSpotShadowTransform()
135 if (ctm.hasPerspective()) { in GetLocalBounds()
181 if (ctm.hasPerspective()) { in GetLocalBounds()
/external/skia/src/gpu/glsl/
DGrGLSLGeometryProcessor.cpp80 if (localMatrix.hasPerspective() || coordTransform->getMatrix().hasPerspective() in emitTransforms()
137 if (!mat.hasPerspective()) { in writeOutputPosition()
/external/skqp/src/gpu/glsl/
DGrGLSLGeometryProcessor.cpp80 if (localMatrix.hasPerspective() || coordTransform->getMatrix().hasPerspective() in emitTransforms()
137 if (!mat.hasPerspective()) { in writeOutputPosition()
/external/skia/src/utils/
DSkShadowUtils.cpp101 if (!ctm.hasPerspective()) { in makeVertices()
158 if (ctm.hasPerspective() || OccluderType::kOpaquePartialUmbra == fOccluderType) { in makeVertices()
218 if (matrix.hasPerspective() || m.hasPerspective()) { in find()
468 context.fTranslate.fX, context.fTranslate.fY, path.viewMatrix().hasPerspective()); in draw_shadow()
569 SkScalar tx, SkScalar ty, bool hasPerspective) { in drawShadow() argument
576 hasPerspective ? SkMatrix::I() in drawShadow()
622 if (viewMatrix.hasPerspective()) { in drawShadow()
/external/skqp/src/gpu/ops/
DGrStencilAndCoverPathRenderer.cpp142 if (!viewMatrix.hasPerspective()) { in onDrawPath()
151 const SkMatrix& coverMatrix = !viewMatrix.hasPerspective() ? viewMatrix : SkMatrix::I(); in onDrawPath()
152 const SkMatrix& localMatrix = !viewMatrix.hasPerspective() ? SkMatrix::I() : vmi; in onDrawPath()
DGrAtlasTextOp.cpp93 fDFGPFlags |= viewMatrix.hasPerspective() ? kPerspective_DistanceFieldEffectFlag : 0; in init()
312 bool vmPerspective = fGeoData[0].fViewMatrix.hasPerspective(); in onPrepareDraws()
370 if (args.fViewMatrix.hasPerspective()) { in onPrepareDraws()
460 (thisFirstMatrix.hasPerspective() != thatFirstMatrix.hasPerspective())) { in onCombineIfPossible()
DGrAAHairLinePathRenderer.cpp259 bool persp = m.hasPerspective(); in gather_lines_and_quads()
744 if (viewMatrix.hasPerspective()) { in check_bounds()
861 if (this->viewMatrix().hasPerspective() != that->viewMatrix().hasPerspective()) { in onCombineIfPossible()
866 if (this->viewMatrix().hasPerspective() && in onCombineIfPossible()
919 bool hasPerspective = this->viewMatrix().hasPerspective(); in onPrepareDraws() local
924 if (hasPerspective) { in onPrepareDraws()
DGrSmallPathRenderer.cpp202 if (!args.fViewMatrix->hasPerspective() && !args.fViewMatrix->getMinMaxScales(scaleFactors)) { in onCanDrawPath()
262 fUsesDistanceField = fUsesDistanceField || viewMatrix.hasPerspective(); in SmallPathOp()
344 if (ctm.hasPerspective()) { in onPrepareDraws()
398 if (args.fViewMatrix.hasPerspective()) { in onPrepareDraws()
763 if (fUsesDistanceField && !ctm.hasPerspective()) { in writePathVertices()
824 if (thisCtm.hasPerspective() != thatCtm.hasPerspective()) { in onCombineIfPossible()
830 if ((thisCtm.hasPerspective() || fHelper.usesLocalCoords()) && in onCombineIfPossible()
/external/skia/src/gpu/ops/
DGrStencilAndCoverPathRenderer.cpp142 if (!viewMatrix.hasPerspective()) { in onDrawPath()
151 const SkMatrix& coverMatrix = !viewMatrix.hasPerspective() ? viewMatrix : SkMatrix::I(); in onDrawPath()
152 const SkMatrix& localMatrix = !viewMatrix.hasPerspective() ? SkMatrix::I() : vmi; in onDrawPath()
DGrAtlasTextOp.cpp93 fDFGPFlags |= viewMatrix.hasPerspective() ? kPerspective_DistanceFieldEffectFlag : 0; in init()
312 bool vmPerspective = fGeoData[0].fViewMatrix.hasPerspective(); in onPrepareDraws()
370 if (args.fViewMatrix.hasPerspective()) { in onPrepareDraws()
465 (thisFirstMatrix.hasPerspective() != thatFirstMatrix.hasPerspective())) { in onCombineIfPossible()
DGrSmallPathRenderer.cpp203 if (!args.fViewMatrix->hasPerspective() && !args.fViewMatrix->getMinMaxScales(scaleFactors)) { in onCanDrawPath()
263 fUsesDistanceField = fUsesDistanceField || viewMatrix.hasPerspective(); in SmallPathOp()
343 if (ctm.hasPerspective()) { in onPrepareDraws()
397 if (args.fViewMatrix.hasPerspective()) { in onPrepareDraws()
762 if (fUsesDistanceField && !ctm.hasPerspective()) { in writePathVertices()
826 if (thisCtm.hasPerspective() != thatCtm.hasPerspective()) { in onCombineIfPossible()
832 if ((thisCtm.hasPerspective() || fHelper.usesLocalCoords()) && in onCombineIfPossible()
DGrAAHairLinePathRenderer.cpp258 bool persp = m.hasPerspective(); in gather_lines_and_quads()
743 if (viewMatrix.hasPerspective()) { in check_bounds()
862 if (this->viewMatrix().hasPerspective() != that->viewMatrix().hasPerspective()) { in onCombineIfPossible()
867 if (this->viewMatrix().hasPerspective() && in onCombineIfPossible()
920 bool hasPerspective = this->viewMatrix().hasPerspective(); in onPrepareDraws() local
925 if (hasPerspective) { in onPrepareDraws()
/external/skqp/src/gpu/text/
DGrTextContext.cpp99 if (!viewMatrix.hasPerspective()) { in CanDrawAsDistanceFields()
142 if (viewMatrix.hasPerspective()) { in InitDistanceFieldPaint()
/external/skqp/src/utils/
DSkShadowUtils.cpp100 if (!ctm.hasPerspective()) { in makeVertices()
157 if (ctm.hasPerspective() || OccluderType::kOpaquePartialUmbra == fOccluderType) { in makeVertices()
217 if (matrix.hasPerspective() || m.hasPerspective()) { in find()
590 if (viewMatrix.hasPerspective()) { in drawShadow()
/external/skia/tests/
DMatrix44Test.cpp570 REPORTER_ASSERT(reporter, transform.hasPerspective()); in test_has_perspective()
573 REPORTER_ASSERT(reporter, !transform.hasPerspective()); in test_has_perspective()
576 REPORTER_ASSERT(reporter, transform.hasPerspective()); in test_has_perspective()
580 REPORTER_ASSERT(reporter, transform.hasPerspective()); in test_has_perspective()
584 REPORTER_ASSERT(reporter, transform.hasPerspective()); in test_has_perspective()
588 REPORTER_ASSERT(reporter, transform.hasPerspective()); in test_has_perspective()
592 REPORTER_ASSERT(reporter, transform.hasPerspective()); in test_has_perspective()
/external/skqp/tests/
DMatrix44Test.cpp570 REPORTER_ASSERT(reporter, transform.hasPerspective()); in test_has_perspective()
573 REPORTER_ASSERT(reporter, !transform.hasPerspective()); in test_has_perspective()
576 REPORTER_ASSERT(reporter, transform.hasPerspective()); in test_has_perspective()
580 REPORTER_ASSERT(reporter, transform.hasPerspective()); in test_has_perspective()
584 REPORTER_ASSERT(reporter, transform.hasPerspective()); in test_has_perspective()
588 REPORTER_ASSERT(reporter, transform.hasPerspective()); in test_has_perspective()
592 REPORTER_ASSERT(reporter, transform.hasPerspective()); in test_has_perspective()

1234