Perform a scaled clip operation
bool drm_rect_clip_scaled(struct drm_rect * src, struct drm_rect * dst, const struct drm_rect * clip, int hscale, int vscale);
src
source window rectangle
dst
destination window rectangle
clip
clip rectangle
hscale
horizontal scaling factor
vscale
vertical scaling factor
Clip rectangle dst by rectangle clip. Clip rectangle src by the same amounts multiplied by hscale and vscale.
true if rectangle dst is still visible after being clipped, false otherwise
Jesse Barnes <[email protected]>
Intel Corporation,
Initial version
Laurent Pinchart <[email protected]>
Ideas on board SPRL,
Driver internals
Daniel Vetter <[email protected]>
Intel Corporation,
Contributions all over the place