sna: Add common widescreen resolutions

Graphics / X.Org / xf86-video-intel - Chris Wilson [chris-wilson.co.uk] - 14 April 2015 15:02 UTC

Currently we add fake modes to cater for applications that want to change the screen size but limit themselves to only those that are available, and do not wish to either use RandR scaling or their own. For widescreen panels, these 4:3 aspect ratio modes require panel fitting and so are less than satisfory. Since we add fake modes, let's add a few common widescreen modes as well (choosing the right aspect ration for the panel).

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=37858 References: https://bugs.freedesktop.org/show_bug.cgi?id=29890 References: https://bugs.freedesktop.org/show_bug.cgi?id=89996

26fd6be sna: Add common widescreen resolutions
src/sna/sna_display.c | 76 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 76 insertions(+)

Upstream: cgit.freedesktop.org


  • Share