Lines Matching refs:r1
64 static inline bool operator==(hw2d_rect_t r1, hw2d_rect_t r2)
66 return (r1.pos == r2.pos) && (r1.size == r2.size);
69 static inline bool operator!=(hw2d_rect_t r1, hw2d_rect_t r2)
71 return !(r1 == r2);
74 static inline bool operator==(hw2d_rect_t r1, hwc_rect_t r2)
76 return (r1.pos.hori == r2.left) && (r1.pos.vert == r2.top) &&
77 ((r1.pos.hori + r1.size.hori) == r2.right) &&
78 ((r1.pos.vert + r1.size.vert) == r2.bottom);
82 static inline bool operator==(hwc_rect_t r1, hw2d_rect_t r2)
84 return operator==(r2, r1);
87 static inline bool operator!=(hw2d_rect_t r1, hwc_rect_t r2)
89 return !(r1 == r2);
92 static inline bool operator!=(hwc_rect_t r1, hw2d_rect_t r2)
94 return !(r2 == r1);