mutter/clutter/clutter/cogl
Jonas Ådahl 9ab338d7b6 clutter/stage-cogl: Track regions in buffer coordinate space
When fractional scaling is used, damage and paint clip region is tracked
in stage coordinate space using integers might end up missing some
pixels when the border ends up on half pixels. Change the damage
tracking and clip regions to be in buffer coordinates so we can align
damage on physical pixel borders.

However, just using rounding up to the next physical pixel results in
glitches. To avoid this, extend the damage by one logical pixel in all
directions, but still (scissor) clip the drawing to the non-extended
region, as otherwise drawing the damaged regions will result in
incorrect pixels on the right and bottom edges of the clip region. It is
possible that there are better ways to do this, which can be explored in
the future.

https://bugzilla.gnome.org/show_bug.cgi?id=765011
2017-07-14 20:54:27 +08:00
..
clutter-stage-cogl.c clutter/stage-cogl: Track regions in buffer coordinate space 2017-07-14 20:54:27 +08:00
clutter-stage-cogl.h Use signals instead of onscreen framebuffer frame callbacks 2016-07-20 14:23:48 +08:00