/external/skia/include/private/ |
D | SkSLSampleUsage.h | 37 static SampleUsage UniformMatrix(std::string expression, bool hasPerspective = true) { 38 return SampleUsage(Kind::kUniformMatrix, std::move(expression), hasPerspective); 61 SampleUsage(Kind kind, std::string expression, bool hasPerspective) in SampleUsage() 62 : fKind(kind), fExpression(expression), fHasPerspective(hasPerspective) { in SampleUsage()
|
/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 | 81 if (rec.fMatrix->hasPerspective() || in makeContext() 82 fLocalMatrix.hasPerspective() || in makeContext() 83 (rec.fLocalMatrix && rec.fLocalMatrix->hasPerspective()) || in makeContext() 98 SkASSERT(!rec.fMatrix->hasPerspective()); in Context() 99 SkASSERT(!rec.fLocalMatrix || !rec.fLocalMatrix->hasPerspective()); in Context() 100 SkASSERT(!shader.getLocalMatrix().hasPerspective()); in Context() 257 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/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 | 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()
|
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()
|
/external/skia/src/gpu/effects/ |
D | GrMatrixEffect.cpp | 50 if (me->matrix().hasPerspective() || !matrix.hasPerspective()) { in Make()
|
D | GrMatrixEffect.h | 33 SkSL::SampleUsage::UniformMatrix("matrix", matrix.hasPerspective())); in GrMatrixEffect()
|
/external/skia/src/gpu/geometry/ |
D | GrQuad.cpp | 41 if (m.hasPerspective()) { in map_quad_general() 77 } else if (matrix.hasPerspective()) { in quad_type_for_transformed_rect() 87 if (matrix.hasPerspective()) { in quad_type_for_points()
|
/external/skia/src/gpu/ops/ |
D | GrSmallPathRenderer.cpp | 71 if (!args.fViewMatrix->hasPerspective() && !args.fViewMatrix->getMinMaxScales(scaleFactors)) { in onCanDrawPath() 131 fUsesDistanceField = fUsesDistanceField || viewMatrix.hasPerspective(); in SmallPathOp() 223 if (ctm.hasPerspective()) { in onPrepareDraws() 278 if (args.fViewMatrix.hasPerspective()) { in onPrepareDraws() 566 if (fUsesDistanceField && !ctm.hasPerspective()) { in writePathVertices() 645 if (thisCtm.hasPerspective() != thatCtm.hasPerspective()) { in onCombineIfPossible() 651 if ((thisCtm.hasPerspective() || fHelper.usesLocalCoords()) && in onCombineIfPossible()
|
D | GrAAHairLinePathRenderer.cpp | 260 bool persp = m.hasPerspective(); in gather_lines_and_quads() 766 if (viewMatrix.hasPerspective()) { in check_bounds() 935 if (this->viewMatrix().hasPerspective() != that->viewMatrix().hasPerspective()) { in onCombineIfPossible() 940 if (this->viewMatrix().hasPerspective() && in onCombineIfPossible() 1121 bool hasPerspective = this->viewMatrix().hasPerspective(); in onCreateProgramInfo() local 1124 if (hasPerspective) { in onCreateProgramInfo() 1183 if (this->viewMatrix().hasPerspective()) { in onPrepareDraws()
|
/external/skia/src/utils/ |
D | SkShadowUtils.cpp | 125 if (!ctm.hasPerspective()) { in makeVertices() 191 } else if (ctm.hasPerspective() || OccluderType::kOpaquePartialUmbra == fOccluderType) { in makeVertices() 251 if (matrix.hasPerspective() || m.hasPerspective()) { in find() 501 context.fTranslate.fX, context.fTranslate.fY, path.viewMatrix().hasPerspective()); in draw_shadow() 628 SkScalar tx, SkScalar ty, bool hasPerspective) { in drawShadow() argument 635 hasPerspective ? SkMatrix::I() in drawShadow() 687 if (viewMatrix.hasPerspective()) { in drawShadow()
|
/external/skia/src/gpu/text/ |
D | GrSDFTControl.cpp | 53 || viewMatrix.hasPerspective()) { in drawingType() 80 if (viewMatrix.hasPerspective()) { in scaled_text_size()
|
/external/skia/src/core/ |
D | SkDrawShadowInfo.cpp | 31 if (!ctm.hasPerspective() || directional) { in GetSpotShadowTransform() 145 if (ctm.hasPerspective()) { in GetLocalBounds() 212 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()
|
/external/skqp/tests/ |
D | Matrix44Test.cpp | 570 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/skia/tests/ |
D | Matrix44Test.cpp | 564 REPORTER_ASSERT(reporter, transform.hasPerspective()); in test_has_perspective() 567 REPORTER_ASSERT(reporter, !transform.hasPerspective()); in test_has_perspective() 570 REPORTER_ASSERT(reporter, transform.hasPerspective()); in test_has_perspective() 574 REPORTER_ASSERT(reporter, transform.hasPerspective()); in test_has_perspective() 578 REPORTER_ASSERT(reporter, transform.hasPerspective()); in test_has_perspective() 582 REPORTER_ASSERT(reporter, transform.hasPerspective()); in test_has_perspective() 586 REPORTER_ASSERT(reporter, transform.hasPerspective()); in test_has_perspective()
|