Sweden-Number/dlls/winemac.drv
Ken Thomases 1c94bf396f winemac: Add support for a high-resolution ("Retina") rendering mode.
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: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-06 11:45:24 +09:00
..
.gitattributes
Makefile.in winemac: Add resource file. 2015-11-17 22:56:39 +09:00
clipboard.c winemac.drv: Move create_bitmap_from_dib() above the import/export functions. 2016-05-05 01:27:52 +09:00
cocoa_app.h
cocoa_app.m winemac: Add support for a high-resolution ("Retina") rendering mode. 2016-05-06 11:45:24 +09:00
cocoa_clipboard.m winemac: Remove JPEG 2000 from the bitmap formats that other bitmap formats can be converted to. 2015-10-08 13:07:52 +09:00
cocoa_display.m winemac: Add support for a high-resolution ("Retina") rendering mode. 2016-05-06 11:45:24 +09:00
cocoa_event.h winemac: Don't process QUERY_IME_CHAR_RECT while waiting in OnMainThread(). 2016-02-05 13:53:36 +09:00
cocoa_event.m winemac: Add support for a high-resolution ("Retina") rendering mode. 2016-05-06 11:45:24 +09:00
cocoa_main.m
cocoa_opengl.h winemac: Add support for a high-resolution ("Retina") rendering mode. 2016-05-06 11:45:24 +09:00
cocoa_opengl.m winemac: Add support for a high-resolution ("Retina") rendering mode. 2016-05-06 11:45:24 +09:00
cocoa_status_item.m
cocoa_window.h winemac: Add support for a high-resolution ("Retina") rendering mode. 2016-05-06 11:45:24 +09:00
cocoa_window.m winemac: Add support for a high-resolution ("Retina") rendering mode. 2016-05-06 11:45:24 +09:00
display.c winemac: Add support for a high-resolution ("Retina") rendering mode. 2016-05-06 11:45:24 +09:00
dragdrop.c
event.c winemac: Don't process QUERY_IME_CHAR_RECT while waiting in OnMainThread(). 2016-02-05 13:53:36 +09:00
gdi.c winemac: Add support for a high-resolution ("Retina") rendering mode. 2016-05-06 11:45:24 +09:00
image.c
ime.c winemac: Make macdrv_process_text_input() asynchronous and process internal events while awaiting its result. 2016-02-05 13:53:13 +09:00
keyboard.c winemac.drv: Don't print 32-bit values as long integers (Clang). 2016-02-19 11:05:31 +09:00
macdrv.h winemac: Add support for a high-resolution ("Retina") rendering mode. 2016-05-06 11:45:24 +09:00
macdrv_cocoa.h winemac: Add support for a high-resolution ("Retina") rendering mode. 2016-05-06 11:45:24 +09:00
macdrv_main.c winemac: Add support for a high-resolution ("Retina") rendering mode. 2016-05-06 11:45:24 +09:00
macdrv_res.h winemac: Enable localization of strings used to build Mac menus. 2015-11-17 22:56:39 +09:00
mouse.c winemac: Use floor() rather than truncation when converting Cocoa event positions to integers. 2016-05-05 13:18:39 +09:00
opengl.c winemac: Add support for a high-resolution ("Retina") rendering mode. 2016-05-06 11:45:24 +09:00
surface.c winemac: Add support for a high-resolution ("Retina") rendering mode. 2016-05-06 11:45:24 +09:00
systray.c
window.c winemac: Queue an event to reassert the WinAPI window position before Cocoa adjusts its position for a display change. 2015-10-06 17:21:01 +09:00
winemac.drv.spec winemac.drv: Fix specfile entry for ImeGetRegisterWordStyle. 2015-11-29 12:46:28 +09:00
winemac.rc winemac: Enable localization of strings used to build Mac menus. 2015-11-17 22:56:39 +09:00