| 60 | } |
| 61 | |
| 62 | bool Rect::intersects(const Rect& other) const { |
| 63 | // Use Skia's exact floating-point comparison for general intersection checks. |
| 64 | // This is important for Compositor plane optimization logic. |
| 65 | return getSkValue().intersects(other.getSkValue()); |
| 66 | } |
| 67 | |
| 68 | bool Rect::intersectsWithTolerance(const Rect& other) const { |
| 69 | // Use epsilon-based comparison for damage rect merging. |
no test coverage detected