Home
last modified time | relevance | path

Searched refs:kW0PlaneDistance (Results 1 – 5 of 5) sorted by relevance

/external/skia/src/gpu/geometry/
DGrQuadUtils.cpp322 M4f clipW = ws < SkPathPriv::kW0PlaneDistance; in projectedBounds()
335 V4f t = (SkPathPriv::kW0PlaneDistance - ws) / (next_ccw(ws) - ws); in projectedBounds()
336 x2d = (t * next_ccw(xs) + (1.f - t) * xs) / SkPathPriv::kW0PlaneDistance; in projectedBounds()
337 y2d = (t * next_ccw(ys) + (1.f - t) * ys) / SkPathPriv::kW0PlaneDistance; in projectedBounds()
339 clipW = clipW ^ (next_ccw(ws) < SkPathPriv::kW0PlaneDistance); in projectedBounds()
401 M4f validW = quad->fDevice.w4f() >= SkPathPriv::kW0PlaneDistance; in ClipToW0()
427 V4f t = (SkPathPriv::kW0PlaneDistance - v.fW) / (next_ccw(v.fW) - v.fW); in ClipToW0()
432 clip.fW = SkPathPriv::kW0PlaneDistance; in ClipToW0()
438 M4f ccwValid = next_ccw(v.fW) >= SkPathPriv::kW0PlaneDistance; in ClipToW0()
439 M4f cwValid = next_cw(v.fW) >= SkPathPriv::kW0PlaneDistance; in ClipToW0()
[all …]
/external/skia/src/core/
DSkM44.cpp183 if (w0 >= SkPathPriv::kW0PlaneDistance) { in map_rect_perspective()
189 if (w >= SkPathPriv::kW0PlaneDistance) { in map_rect_perspective()
190 float t = (SkPathPriv::kW0PlaneDistance - w0) / (w - w0); in map_rect_perspective()
192 SkPathPriv::kW0PlaneDistance; in map_rect_perspective()
DSkPathPriv.h28 static constexpr SkScalar kW0PlaneDistance = 1.f / 1024.f; variable
DSkPath.cpp3768 matrix[SkMatrix::kMPersp2] - kW0PlaneDistance in PerspectiveClip()
/external/skia/src/gpu/
DGrClipStack.cpp142 if (any(deviceQuad.w4f() < SkPathPriv::kW0PlaneDistance)) { in shape_contains_rect()