Home
last modified time | relevance | path

Searched refs:Get_y45 (Results 1 – 3 of 3) sorted by relevance

/third_party/flutter/skia/src/gpu/ccpr/
DGrOctoBounds.cpp59 if (t45 > Get_y45(l,b)) { in clip()
65 } else if (b45 < Get_y45(l,b)) { in clip()
72 if (t45 > Get_y45(r,t)) { in clip()
78 } else if (b45 < Get_y45(r,t)) { in clip()
91 t45 = SkScalarPin(Get_y45(l,t), t45, b45); in clip()
93 b45 = SkScalarPin(Get_y45(r,b), t45, b45); in clip()
136 VALIDATE(t45 >= Get_y45(l,t) - epsilon); in validateBoundsAreTight()
138 VALIDATE(b45 <= Get_y45(r,b) + epsilon); in validateBoundsAreTight()
147 VALIDATE(t45 <= Get_y45(l,b) + epsilon); in validateBoundsAreTight()
148 VALIDATE(t45 <= Get_y45(r,t) + epsilon); in validateBoundsAreTight()
[all …]
DGrOctoBounds.h100 constexpr static float Get_y45(float x, float y) { return x + y; } in Get_y45() function
/third_party/flutter/skia/tests/
DOctoBoundsTest.cpp49 float minT45 = GrOctoBounds::Get_y45(l,t); in test_octagon()
50 float maxT45 = std::min(GrOctoBounds::Get_y45(l,b), GrOctoBounds::Get_y45(r,t)); in test_octagon()
53 float minB45 = std::max(GrOctoBounds::Get_y45(r,t), GrOctoBounds::Get_y45(l,b)); in test_octagon()
54 float maxB45 = GrOctoBounds::Get_y45(r,b); in test_octagon()
169 GrOctoBounds::Get_y45(ir,ib) <= t45 + kEpsilon || in test_octagon()
171 GrOctoBounds::Get_y45(il,it) >= b45 - kEpsilon); in test_octagon()