compositor: Move buffer damage fields from weston_output to gl-renderer
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Fri, 16 Nov 2012 15:23:52 +0000 (17:23 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Sat, 17 Nov 2012 00:00:03 +0000 (19:00 -0500)
commitb8fcca915b3345e0ac106766b1a678cac3ae6094
treec83bd2d72462618da141749b035f24b0dee7ed2c
parentaa628d0a7ca486cb9b28dc6bc4cb26a22382c7e2
compositor: Move buffer damage fields from weston_output to gl-renderer

Move fields current_buffer and buffer_damage out of weston_output into
gl_output_state, since they are actually specific to the renderer.

Also bring back the previous_damage field so that the screenshooter
can get the damage for the previous frame in a renderer independent
way.
src/compositor.c
src/compositor.h
src/gl-renderer.c
src/screenshooter.c