This repository has been archived on 2023-10-09. You can view files and clone it, but cannot push or open issues or pull requests.
Files
blender-archive/source/blender
Ton Roosendaal 4e2bc939c1 Mac Retina fix:
Mouse coordinates were not mapped correctly for code that allows to use
multiple windows efficiently (mouse over not-active windows).

Apple's high-density display mode works a bit strange, requiring some hacks :/

- Desktop coordinate system (mouse pos and for windows) is as usual
  (set by display resolution settings)
- However, the available pixels in a window is always on 'retina' level.
  (full screen - 2880 wide, but window can be 1440 or 1920 wide)

In order to get this to work for opengl and Blender, we use internally the
coordinates on pixel level. That means that window positions and sizes have
to mappend in our code.

Once all issues for retinas have been tackled, I'll check on clean API for 
it, so you can also use it in future for other high density screens.
2012-12-20 11:14:52 +00:00
..
2012-12-17 08:01:43 +00:00
2012-12-17 08:01:43 +00:00
2012-12-17 08:01:43 +00:00
2012-12-18 01:46:15 +00:00
2012-12-20 00:29:31 +00:00
2012-12-17 08:01:43 +00:00
2012-12-17 08:01:43 +00:00
2012-12-20 05:07:14 +00:00
2012-12-20 11:14:52 +00:00
2012-12-17 08:01:43 +00:00