compositor: Move repaint loop into a backend function
authorKristian Høgsberg <krh@bitplanet.net>
Thu, 26 Jan 2012 04:32:28 +0000 (23:32 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 26 Jan 2012 04:32:28 +0000 (23:32 -0500)
commit68c479af05e4d85985a92b31827cb3e5b44c72e1
tree50dadfd8dbb6eae940dc848907584233f8a65e3a
parent32cdc384f4e735c2aeb41eb52a3b55288a399717
compositor: Move repaint loop into a backend function

We've trimmed down the actual repaint loop to just iterating through the
surface list and calling weston_surface_draw(), so we push that to the
backend without too much code duplication.
src/compositor-drm.c
src/compositor-openwfd.c
src/compositor-wayland.c
src/compositor-x11.c
src/compositor.c
src/compositor.h