
Track damage on struct weston_renderbuffer and drop the custom damage region from struct wayland_shm_buffer. Pass repaint damage to wl_surface_damage() instead of accumulated renderbuffer damage. Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>