commit | 6ae7bc982fa9d70f3206713f05f354bbfac59fb5 | [log] [tgz] |
---|---|---|
author | Derek Foreman <derekf@osg.samsung.com> | Tue Nov 04 10:47:33 2014 -0600 |
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | Wed Nov 05 13:15:13 2014 +0200 |
tree | 772c9564d4a82e0e2cb8932816472ae0c0336a9d | |
parent | 61a9bf5557b7924b710bd561b30f6b27401f9461 [diff] |
compositor: Refactor weston_output_mode_switch() This breaks weston_output_mode_switch() into 3 functions: weston_output_mode_set_native() weston_output_mode_switch_to_temporary() weston_output_mode_switch_to_native() Differences from previous behaviour: SET_NATIVE didn't set current_scale (now it does) SET_TEMPORARY could set mode and scale independently - now it can't. Signed-off-by: Derek Foreman <derekf@osg.samsung.com> Pekka Paalanen <pekka.paalanen@collabora.co.uk>