Bug fix: Fix --resize-damage

- Fix --resize-damage. I forgot to shrink the painting region back when
  actually copying to destination.

- Include extra pixels around the blur texture to avoid some possible
  small issues, if --resize-damage is positive.

- Known issue: Line artifacts may still appear with --dbe (X Render
  backend) or --glx-swap-method (GLX backend). I doubt if there's way to
  fix this without very inefficient mechanisms.
This commit is contained in:
Richard Grenville
2013-04-27 17:34:42 +08:00
parent 8113e4e3b4
commit 3f00b3622c
4 changed files with 38 additions and 15 deletions

View File

@ -571,7 +571,7 @@ set_tgt_clip(session_t *ps, XserverRegion reg, const reg_data_t *pcache_reg) {
}
static void
paint_all(session_t *ps, XserverRegion region, win *t);
paint_all(session_t *ps, XserverRegion region, XserverRegion region_real, win *t);
static void
add_damage(session_t *ps, XserverRegion damage);