compositor: Add a switch_mode hook and a wrapper into the output.
authorAlex Wu <zhiwen.wu@linux.intel.com>
Tue, 17 Apr 2012 09:20:47 +0000 (17:20 +0800)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 17 Apr 2012 18:38:29 +0000 (14:38 -0400)
commit2dda604093e8744bcf48a125c4605378d1426d88
treec57cccded6d43769fb8409dca3601fd4aa0e3fc9
parent314db6edef899e23d667bced214188093efdd4bd
compositor: Add a switch_mode hook and a wrapper into the output.

This allow each output backend to switch the display mode. It is
useful to some applications like fullscreen game, xbmc.
src/compositor-drm.c
src/compositor-openwfd.c
src/compositor-wayland.c
src/compositor-x11.c
src/compositor.c
src/compositor.h