Edit

kc3-lang/SDL/src/video/wayland

Branch :

  • Show log

    Commit

  • Author : Frank Praznik
    Date : 2022-03-29 13:34:14
    Hash : 4d1905c9
    Message : video: wayland: Use viewports for non-fullscreen windows with fractional scaling Use viewports for non-fullscreen windows when the desktop uses fractional scaling and the window is flagged as DPI-aware to provide a backbuffer mapped as close to 1:1 output as possible. In the cases of odd window sizes the backbuffer may be a pixel off of scaling perfectly into the window size due to its scaled size being rounded off, but a minute amount of scaling during output is likely preferable to the large amounts of overdraw needed with integer scaled buffers.