• Ken Thomases's avatar
    winemac: Add support for a high-resolution ("Retina") rendering mode. · 1c94bf39
    Ken Thomases authored
    When this Retina mode is enabled and the primary display is in the user's
    default configuration, Wine gets told that screen and window sizes and mouse
    coordinates are twice what Cocoa reports them as in its virtual coordinate
    system ("points").  The Windows apps then renders at that high resolution and
    the Mac driver blits it to screen.  If the screen is actually a Retina display
    in a high-DPI mode, then this extra detail will be preserved.  Otherwise, the
    rendering will be downsampled and blurry.
    
    This is intended to be combined with increasing the Windows DPI, as via winecfg.
    If that is doubled to 192, then, in theory, graphical elements will remain the
    same visual size on screen but be rendered with finer detail.  Unfortunately,
    many Windows programs don't correctly handle non-standard DPI so the results
    are not always perfect.
    
    The registry setting to enable Retina mode is:
    
    [HKEY_CURRENT_USER\Software\Wine\Mac Driver]
    "RetinaMode"="y"
    
    Note that this setting is not looked for in the AppDefaults\<exe name> key
    because it doesn't make sense for only some processes in a Wine session to see
    the high-resolution sizes and coordinates.
    Signed-off-by: 's avatarKen Thomases <ken@codeweavers.com>
    Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
    1c94bf39
Name
Last commit
Last update
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
po Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.mailmap Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
MAINTAINERS Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...