Home
last modified time | relevance | path

Searched refs:kMaxTValue (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/core/
DSkContourMeasure.cpp15 #define kMaxTValue 0x3FFFFFFF macro
18 SkASSERT((unsigned)t <= kMaxTValue); in tValue2Scalar()
20 const SkScalar kMaxTReciprocal = 1.0f / (SkScalar)kMaxTValue; in tValue2Scalar()
25 static_assert(1.0f == tValue2Scalar(kMaxTValue), "Upper limit should be exact.");
128 SkASSERT((unsigned)tspan <= kMaxTValue); in tspan_big_enough()
298 seg->fTValue = kMaxTValue; in compute_line_seg()
374 distance = this->compute_quad_segs(pts, distance, 0, kMaxTValue, ptIndex); in buildSegments()
386 kMaxTValue, conic.fPts[2], ptIndex); in buildSegments()
400 distance = this->compute_cubic_segs(pts, distance, 0, kMaxTValue, ptIndex); in buildSegments()
/external/skqp/src/core/
DSkPathMeasure.cpp15 #define kMaxTValue 0x3FFFFFFF macro
18 SkASSERT((unsigned)t <= kMaxTValue); in tValue2Scalar()
19 const SkScalar kMaxTReciprocal = 1.0f / kMaxTValue; in tValue2Scalar()
133 SkASSERT((unsigned)tspan <= kMaxTValue); in tspan_big_enough()
357 seg->fTValue = kMaxTValue; in buildSegments()
373 seg->fTValue = kMaxTValue; in buildSegments()
376 distance = this->compute_quad_segs(pts, distance, 0, kMaxTValue, ptIndex); in buildSegments()
388 kMaxTValue, conic.fPts[2], ptIndex); in buildSegments()
401 distance = this->compute_cubic_segs(pts, distance, 0, kMaxTValue, ptIndex); in buildSegments()