compositor: Add weston_surface_schedule_repaint() for limited repaint
authorKristian Høgsberg <krh@bitplanet.net>
Fri, 3 Aug 2012 20:29:12 +0000 (16:29 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 3 Aug 2012 20:36:52 +0000 (16:36 -0400)
commit982387011ff5cf654a49c835a86bf0e52675733b
tree49e3935b83d3337410822a1356ce8dbdb2101cd9
parent79af73e313c732ff9e5bb997a617d0a172844284
compositor: Add weston_surface_schedule_repaint() for limited repaint

In cases where we know the surface bounding box doesn't change in the
next frame, we can limit redraws to only the outputs the surface is
currently on.  We could do even better by forcing the transform
update so we know where the surface will be in the next frame, but
this is a much simpler first step.
src/compositor.c
src/compositor.h