Skip to content

Avoid rounding issues in Surface damage tracking

David Edmundson requested to merge work/d_ed/fractional_round into master

When a buffer is damaged via damage_buffer we have to map things to logical space. This mapping can involve floating numbers, most notably with the X11 override, right now that's via a QRegion which is always integer. For damage we always want to round outwards to the larger space, not to the nearest space.

Merge request reports

Loading