ximagesrc: Gather and coalesce all damaged areas before retrieving.
authorJan Schmidt <jan@centricular.com>
Fri, 2 Oct 2015 04:17:48 +0000 (14:17 +1000)
committerJan Schmidt <jan@centricular.com>
Fri, 2 Oct 2015 04:17:48 +0000 (14:17 +1000)
commit040467d118ec633260424660bfa2946eb50a8c3f
tree28cad2e5360c2a8b1e11ac3d515d1bc877643b5c
parent711b035137a34d946d01f623ef68af4787aea6ca
ximagesrc: Gather and coalesce all damaged areas before retrieving.

These days the xserver seems to give us the same damage regions
over and over for entire windows, and we retrieve them multiple
times, which gives time for more damage to appear. Instead, just
quickly gather all damaged areas into a region list and copy
out once.
sys/ximage/gstximagesrc.c