Home
last modified time | relevance | path

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

12

/external/skia/src/gpu/
DGrAAHairLinePathRenderer.cpp250 bool persp = m.hasPerspective(); in gather_lines_and_quads()
646 if (viewMatrix.hasPerspective()) { in check_bounds()
742 if (this->viewMatrix().hasPerspective() != that->viewMatrix().hasPerspective()) { in onCombineIfPossible()
747 if (this->viewMatrix().hasPerspective() && in onCombineIfPossible()
799 bool hasPerspective = this->viewMatrix().hasPerspective(); in generateGeometry() local
804 if (hasPerspective) { in generateGeometry()
DGrStencilAndCoverPathRenderer.cpp138 if (!viewMatrix.hasPerspective() && viewMatrix.invert(&vmi)) { in onDrawPath()
149 const SkMatrix& viewM = viewMatrix.hasPerspective() ? SkMatrix::I() : viewMatrix; in onDrawPath()
DGrPrimitiveProcessor.cpp45 if (coordTransform->getMatrix().hasPerspective()) { in getTransformKey()
DGrStencilAndCoverTextContext.cpp65 && viewMatrix.hasPerspective()) { in canDraw()
272 SkASSERT(!fContextInitialMatrix.hasPerspective()); in init()
DGrDefaultPathRenderer.cpp677 if (!viewMatrix.hasPerspective() && viewMatrix.invert(&vmi)) { in internalDrawPath()
687 const SkMatrix& viewM = (reverse && viewMatrix.hasPerspective()) ? SkMatrix::I() : in internalDrawPath()
DGrDefaultGeoProcFactory.cpp125 key |= local.fUsesLocalCoords && def.localMatrix().hasPerspective() ? 0x1 << 24 : 0x0; in GenKey()
DGrAAConvexPathRenderer.cpp220 SkASSERT(!m.hasPerspective()); in get_direction()
604 key |= local.fUsesLocalCoords && qee.localMatrix().hasPerspective() ? 0x1 : 0x0; in GenKey()
894 if (viewMatrix->hasPerspective()) { in generateGeometry()
DGrAtlasTextContext.cpp258 if (blob.fViewMatrix.hasPerspective() != viewMatrix.hasPerspective()) { in MustRegenerateBlob()
262 if (blob.fViewMatrix.hasPerspective() && !blob.fViewMatrix.cheapEqualTo(viewMatrix)) { in MustRegenerateBlob()
438 if (viewMatrix.hasPerspective()) { in canDrawAsDistanceFields()
599 SkASSERT(!viewMatrix.hasPerspective()); in initDistanceFieldPaint()
DGrAADistanceFieldPathRenderer.cpp102 if (viewMatrix.hasPerspective()) { in canDrawPath()
/external/skia/tests/
DMatrix44Test.cpp536 REPORTER_ASSERT(reporter, transform.hasPerspective()); in test_has_perspective()
539 REPORTER_ASSERT(reporter, !transform.hasPerspective()); in test_has_perspective()
542 REPORTER_ASSERT(reporter, transform.hasPerspective()); in test_has_perspective()
546 REPORTER_ASSERT(reporter, transform.hasPerspective()); in test_has_perspective()
550 REPORTER_ASSERT(reporter, transform.hasPerspective()); in test_has_perspective()
554 REPORTER_ASSERT(reporter, transform.hasPerspective()); in test_has_perspective()
558 REPORTER_ASSERT(reporter, transform.hasPerspective()); in test_has_perspective()
DMatrixTest.cpp244 REPORTER_ASSERT(reporter, (maxScale < 0) == mat.hasPerspective()); in test_matrix_min_max_scale()
248 REPORTER_ASSERT(reporter, success == !mat.hasPerspective()); in test_matrix_min_max_scale()
251 if (mat.hasPerspective()) { in test_matrix_min_max_scale()
/external/skia/src/gpu/gl/
DGrGLGeometryProcessor.h75 } else if (!mat.hasPerspective()) { in ComputePosKey()
DGrGLGeometryProcessor.cpp101 } else if (!mat.hasPerspective()) { in setupPosition()
DGrGLPathProcessor.cpp71 coordTransforms[t]->getMatrix().hasPerspective() ? kVec3f_GrSLType : in emitTransforms()
/external/skia/src/gpu/effects/
DGrBitmapTextGeoProc.cpp109 key |= local.fUsesLocalCoords && gp.localMatrix().hasPerspective() ? 0x2 : 0x0; in GenKey()
DGrBezierEffect.cpp180 key |= local.fUsesLocalCoords && ce.localMatrix().hasPerspective() ? 0x10 : 0x0; in GenKey()
395 key |= local.fUsesLocalCoords && ce.localMatrix().hasPerspective() ? 0x10 : 0x0; in GenKey()
DGrDashingEffect.cpp923 key |= local.fUsesLocalCoords && dce.localMatrix().hasPerspective() ? 0x1 : 0x0; in GenKey()
1163 key |= local.fUsesLocalCoords && de.localMatrix().hasPerspective() ? 0x1 : 0x0; in GenKey()
/external/skia/src/core/
DSkMatrix.cpp292 if (this->hasPerspective()) { in preTranslate()
308 if (this->hasPerspective()) { in postTranslate()
765 if (this->hasPerspective()) { in asAffine()
942 SkASSERT(m.hasPerspective()); in Persp_pts()
1043 if (this->hasPerspective()) { in mapVectors()
1099 SkASSERT(m.hasPerspective()); in Persp_xy()
1594 if (this->hasPerspective()) { in decomposeScale()
DSkShader.cpp197 if (mat.hasPerspective()) { in ComputeMatrixClass()
DSkPaint.cpp379 SkASSERT(!ctm.hasPerspective()); in TooBigToUseCache()
380 SkASSERT(!textM.hasPerspective()); in TooBigToUseCache()
1335 SkASSERT(deviceMatrix == NULL || !deviceMatrix->hasPerspective()); in MakeRec()
DSkDraw.cpp940 if (matrix.hasPerspective()) { in SkDrawTreatAAStrokeAsHairline()
1004 if (!matrix.hasPerspective()) { in compute_res_scale_for_stroking()
1398 if (ctm.hasPerspective()) { in ShouldDrawTextAsPaths()
/external/skia/include/utils/
DSkMatrix44.h235 inline bool hasPerspective() const { in hasPerspective() function
/external/skia/src/pdf/
DSkPDFShader.cpp223 if (!inversePerspectiveMatrix.hasPerspective()) { in apply_perspective_to_coordinates()
767 if (finalMatrix.hasPerspective()) { in Create()
DSkPDFDevice.cpp692 if (matrix.hasPerspective()) { in init()
693 NOT_IMPLEMENTED(!matrix.hasPerspective(), false); in init()
2073 if (origMatrix.hasPerspective()) { in internalDrawBitmap()
/external/skia/include/core/
DSkMatrix.h95 bool hasPerspective() const { in hasPerspective() function

12