Home
last modified time | relevance | path

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

12345

/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.cpp84 if (rec.fMatrix->hasPerspective() || in makeContext()
85 fLocalMatrix.hasPerspective() || in makeContext()
86 (rec.fLocalMatrix && rec.fLocalMatrix->hasPerspective()) || in makeContext()
101 SkASSERT(!rec.fMatrix->hasPerspective()); in Context()
102 SkASSERT(!rec.fLocalMatrix || !rec.fLocalMatrix->hasPerspective()); in Context()
103 SkASSERT(!shader.getLocalMatrix().hasPerspective()); in Context()
255 if (m.hasPerspective()) { in ApplyMatrix()
/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/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.cpp28 b->add32(SkToInt(pathProc.viewMatrix().hasPerspective())); in GenKey()
35 if (!pathProc.viewMatrix().hasPerspective()) { in emitCode()
64 coordTransform.matrix().hasPerspective() ? kHalf3_GrSLType : kHalf2_GrSLType; in emitTransforms()
/external/skia/src/gpu/ops/
DGrFillRRectOp.cpp40 if (viewMatrix.hasPerspective()) { in Make()
55 if (viewMatrix.hasPerspective()) { in Make()
106 SkASSERT((fFlags & Flags::kHasPerspective) == totalShapeMatrix.hasPerspective()); in GrFillRRectOp()
113 SkASSERT(!m.hasPerspective()); in GrFillRRectOp()
118 SkASSERT(m.hasPerspective()); in GrFillRRectOp()
649 bool hasPerspective = (proc.fFlags & Flags::kHasPerspective); in onEmitCode() local
651 SkASSERT(useHWDerivatives == hasPerspective); in onEmitCode()
689 if (!hasPerspective) { in onEmitCode()
707 SkASSERT(!hasPerspective); in onEmitCode()
DGrStencilAndCoverPathRenderer.cpp141 if (!viewMatrix.hasPerspective()) { in onDrawPath()
150 const SkMatrix& coverMatrix = !viewMatrix.hasPerspective() ? viewMatrix : SkMatrix::I(); in onDrawPath()
151 const SkMatrix& localMatrix = !viewMatrix.hasPerspective() ? SkMatrix::I() : vmi; in onDrawPath()
DGrAtlasTextOp.cpp94 fDFGPFlags |= drawMatrix.hasPerspective() ? kPerspective_DistanceFieldEffectFlag : 0; in init()
319 bool vmPerspective = fGeoData[0].fDrawMatrix.hasPerspective(); in onPrepareDraws()
408 if (args.fDrawMatrix.hasPerspective()) { in onPrepareDraws()
548 (thisFirstMatrix.hasPerspective() != thatFirstMatrix.hasPerspective())) { in onCombineIfPossible()
DGrAAHairLinePathRenderer.cpp259 bool persp = m.hasPerspective(); in gather_lines_and_quads()
744 if (viewMatrix.hasPerspective()) { in check_bounds()
877 if (this->viewMatrix().hasPerspective() != that->viewMatrix().hasPerspective()) { in onCombineIfPossible()
882 if (this->viewMatrix().hasPerspective() && in onCombineIfPossible()
989 bool hasPerspective = this->viewMatrix().hasPerspective(); in onPrepareDraws() local
994 if (hasPerspective) { in onPrepareDraws()
DGrSmallPathRenderer.cpp199 if (!args.fViewMatrix->hasPerspective() && !args.fViewMatrix->getMinMaxScales(scaleFactors)) { in onCanDrawPath()
259 fUsesDistanceField = fUsesDistanceField || viewMatrix.hasPerspective(); in SmallPathOp()
341 if (ctm.hasPerspective()) { in onPrepareDraws()
396 if (args.fViewMatrix.hasPerspective()) { in onPrepareDraws()
763 if (fUsesDistanceField && !ctm.hasPerspective()) { in writePathVertices()
840 if (thisCtm.hasPerspective() != thatCtm.hasPerspective()) { in onCombineIfPossible()
846 if ((thisCtm.hasPerspective() || fHelper.usesLocalCoords()) && in onCombineIfPossible()
/external/skqp/src/gpu/glsl/
DGrGLSLGeometryProcessor.cpp80 if (localMatrix.hasPerspective() || coordTransform->getMatrix().hasPerspective() in emitTransforms()
137 if (!mat.hasPerspective()) { in writeOutputPosition()
/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()
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()
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()
/external/skia/src/gpu/glsl/
DGrGLSLGeometryProcessor.cpp107 if (localMatrix.hasPerspective() || coordTransform.matrix().hasPerspective() || in emitTransforms()
175 if (!mat.hasPerspective()) { in writeOutputPosition()
/external/skia/src/utils/
DSkShadowUtils.cpp102 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()
623 if (viewMatrix.hasPerspective()) { in drawShadow()
/external/skia/src/gpu/geometry/
DGrQuad.cpp41 if (m.hasPerspective()) { in map_quad_general()
78 } else if (matrix.hasPerspective()) { in quad_type_for_transformed_rect()
88 if (matrix.hasPerspective()) { in quad_type_for_points()
/external/skia/src/gpu/text/
DGrTextBlob.cpp297 if (drawMatrix.hasPerspective() || forceWForDistanceFields) { in Make()
348 bool GrTextBlob::hasPerspective() const { return fInitialMatrix.hasPerspective(); } in hasPerspective() function in GrTextBlob
381 if (fInitialMatrix.hasPerspective() != drawMatrix.hasPerspective()) { in mustRegenerate()
386 if (fInitialMatrix.hasPerspective() && !SkMatrixPriv::CheapEqual(fInitialMatrix, drawMatrix)) { in mustRegenerate()
602 return this->hasPerspective() || fForceWForDistanceFields; in hasW()
604 return this->hasPerspective(); in hasW()
619 SkASSERT(!fInitialMatrix.hasPerspective() || hasW); in makeSubRun()
/external/skia/src/core/
DSkDrawShadowInfo.cpp28 if (!ctm.hasPerspective()) { in GetSpotShadowTransform()
135 if (ctm.hasPerspective()) { in GetLocalBounds()
181 if (ctm.hasPerspective()) { in GetLocalBounds()
/external/skia/docs/examples/
DMatrix_hasPerspective.cpp14 string.printf("hasPerspective %s", matrix.hasPerspective() ? "true" : "false");
/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()

12345