other versions
- jessie 3.16.56-1+deb8u1
DRM_RECT_INTERSECT(9) | DRM Core | DRM_RECT_INTERSECT(9) |
NAME¶
drm_rect_intersect - intersect two rectanglesSYNOPSIS¶
bool
drm_rect_intersect(struct drm_rect * r1,
const struct drm_rect * r2);
ARGUMENTS¶
r1first rectangle
r2
second rectangle
DESCRIPTION¶
Calculate the intersection of rectangles r1 and r2. r1 will be overwritten with the intersection.RETURNS¶
true if rectangle r1 is still visible after the operation, false otherwise.AUTHORS¶
Jesse Barnes <jesse.barnes@intel.com>Initial version
Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Driver internals
Daniel Vetter <daniel.vetter@ffwll.ch>
Contributions all over the place
COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |