/external/skqp/src/shaders/ |
D | SkShader.cpp | 82 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/ |
D | SkShader.cpp | 84 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/ |
D | SkFontPriv.cpp | 23 SkASSERT(!ctm.hasPerspective()); in TooBigToUseCache() 24 SkASSERT(!textM.hasPerspective()); in TooBigToUseCache()
|
D | SkDrawShadowInfo.cpp | 28 if (!ctm.hasPerspective()) { in GetSpotShadowTransform() 135 if (ctm.hasPerspective()) { in GetLocalBounds() 181 if (ctm.hasPerspective()) { in GetLocalBounds()
|
/external/skqp/src/gpu/ |
D | GrPathProcessor.cpp | 26 b->add32(SkToInt(pathProc.viewMatrix().hasPerspective())); in GenKey() 33 if (!pathProc.viewMatrix().hasPerspective()) { in emitCode() 57 coordTransform->getMatrix().hasPerspective() ? kHalf3_GrSLType in emitTransforms()
|
D | GrQuad.cpp | 73 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/ |
D | GrPathProcessor.cpp | 28 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/ |
D | GrFillRRectOp.cpp | 40 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()
|
D | GrStencilAndCoverPathRenderer.cpp | 141 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()
|
D | GrAtlasTextOp.cpp | 94 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()
|
D | GrAAHairLinePathRenderer.cpp | 259 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()
|
D | GrSmallPathRenderer.cpp | 199 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/ |
D | GrGLSLGeometryProcessor.cpp | 80 if (localMatrix.hasPerspective() || coordTransform->getMatrix().hasPerspective() in emitTransforms() 137 if (!mat.hasPerspective()) { in writeOutputPosition()
|
/external/skqp/src/gpu/ops/ |
D | GrStencilAndCoverPathRenderer.cpp | 142 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()
|
D | GrAtlasTextOp.cpp | 93 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()
|
D | GrSmallPathRenderer.cpp | 202 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()
|
D | GrAAHairLinePathRenderer.cpp | 259 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/ |
D | GrGLSLGeometryProcessor.cpp | 107 if (localMatrix.hasPerspective() || coordTransform.matrix().hasPerspective() || in emitTransforms() 175 if (!mat.hasPerspective()) { in writeOutputPosition()
|
/external/skia/src/utils/ |
D | SkShadowUtils.cpp | 102 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/ |
D | GrQuad.cpp | 41 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/ |
D | GrTextBlob.cpp | 297 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/ |
D | SkDrawShadowInfo.cpp | 28 if (!ctm.hasPerspective()) { in GetSpotShadowTransform() 135 if (ctm.hasPerspective()) { in GetLocalBounds() 181 if (ctm.hasPerspective()) { in GetLocalBounds()
|
/external/skia/docs/examples/ |
D | Matrix_hasPerspective.cpp | 14 string.printf("hasPerspective %s", matrix.hasPerspective() ? "true" : "false");
|
/external/skqp/src/gpu/text/ |
D | GrTextContext.cpp | 99 if (!viewMatrix.hasPerspective()) { in CanDrawAsDistanceFields() 142 if (viewMatrix.hasPerspective()) { in InitDistanceFieldPaint()
|
/external/skqp/src/utils/ |
D | SkShadowUtils.cpp | 100 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()
|