Implemented refresh rate support.
authorSamuel Rødal <samuel.rodal@nokia.com>
Fri, 4 May 2012 14:31:52 +0000 (16:31 +0200)
committerSamuel Rødal <samuel.rodal@nokia.com>
Wed, 9 May 2012 12:32:00 +0000 (14:32 +0200)
commite14b1548b7d1211201b138bc077353cdbc0d0bed
tree7b7d56cc22789967089f20ffcbe75818d2a67a74
parent7f71672e27a2cbb7fb19333b77d7b3e4d4a068b9
Implemented refresh rate support.

Implements QWaylandScreen::refreshRate() based on the wl_output mode
information we get from the compositor.

In the compositor, adds API to override the refresh rate, with the
default set to whatever QScreen reports on the compositor-side.

Change-Id: I5f5175f2498940875c6ec68d29d25cf5993a1e65
Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>
src/compositor/compositor_api/waylandcompositor.cpp
src/compositor/compositor_api/waylandcompositor.h
src/compositor/wayland_wrapper/wlcompositor.cpp
src/compositor/wayland_wrapper/wlcompositor.h
src/compositor/wayland_wrapper/wloutput.cpp
src/compositor/wayland_wrapper/wloutput.h
src/plugins/platforms/wayland/qwaylanddisplay.cpp
src/plugins/platforms/wayland/qwaylandscreen.cpp
src/plugins/platforms/wayland/qwaylandscreen.h
tests/auto/client/mockoutput.cpp