- Nov 15, 2013
-
-
Alexandre Julliard authored
-
(cherry picked from commit 436e8686)
-
(cherry picked from commit e5f61e6e)
-
(cherry picked from commit b790abe9)
-
(cherry picked from commit 5b17363a)
-
(cherry picked from commit 820073f1)
-
(cherry picked from commit 1e29e520)
-
(cherry picked from commit 038e6241)
-
(cherry picked from commit 37c4f3a8)
-
(cherry picked from commit 0c9ce583)
-
wined3d: Use clamp() instead of max() for calculating the clamped cosine in the ffp lighting calculations. On typical hardware, the clamp() would be an instruction modifier, while the max() would need an extra instruction. (cherry picked from commit ff6ce4c6)
-
(cherry picked from commit 0d2d8479)
-
(cherry picked from commit c1a7323f)
-
The call overhead from separate calls typically ends up being more expensive than just updating a few more constants. (cherry picked from commit ad147d63)
-
In principle the GL driver also checks the location, but it turns out to be slightly faster to do it ourselves. (cherry picked from commit c1af4050)
-
(cherry picked from commit 5e64fd70)
-
(cherry picked from commit edad7dea)
-
(cherry picked from commit 3c759894)
-
(cherry picked from commit d66f7cdb)
-
Based in large part on a patch submitted by Kevin Eaves. (cherry picked from commit f4f50c9e)
-
winemac: Add registry settings to make Option keys send Alt rather than accessing additional characters from the keyboard layout. (cherry picked from commit 79d45585)
-
(cherry picked from commit 05e3d0e5)
-
(cherry picked from commit c043587d)
-
(cherry picked from commit 9779f0ac)
-
(cherry picked from commit 4d9340eb)
-
(cherry picked from commit bdcb8138)
-
winemac: Only update window minimized state when it has changed from what processed events told us it was. This fixes a problem where windows could spontaneously re-minimize after being unminimized. Cocoa would see the window unminimize. It would queue a WINDOW_DID_UNMINIMIZE event. While that event was pending, Wine might do something which caused set_cocoa_window_properties() to be called and tell Cocoa to conform itself to the current Win32 state. The current Win32 state still had the window minimized, so Cocoa would re-minimize the window. It would even discard the WINDOW_DID_UNMINIMIZE event. (cherry picked from commit dd59ab26)
-
(cherry picked from commit 0e8e45cf)
-
Alexandre Julliard authored
(cherry picked from commit 6fb92b79)
-
Alexandre Julliard authored
(cherry picked from commit 9b86c6a9)
-
Alexandre Julliard authored
(cherry picked from commit d6057e64)
-
(cherry picked from commit 4e9646a7)
-
(cherry picked from commit bd9e6081)
-
winemac: Make clicking on the app's dock icon unminimize a window if there are only minimized windows. Cocoa would automatically do this for a normal app. However, the Mac driver makes all of its windows inherit from NSPanel and Cocoa ignores panels for this feature. (cherry picked from commit 1186c36c)
-
They show up in the taskbar on Windows 7. Selecting them from there is meaningful and useful, as is selecting them from the Window menu. In addition to just switching among windows from that menu, this is also important to recovering a minimized window if the user has configured their system preferences to minimize windows into the process's dock icon (rather than as separate dock icons). (cherry picked from commit 63fe00ea)
-
The Mac driver captures the displays when the program changes the display mode. If the user types Command-Tab to switch away, it resets the displays to their original modes and releases them. However, if they switched back, it didn't restore the mode to what the program had set, so the program often showed the game window in a corner of the screen with the top behind the Mac menu bar. (cherry picked from commit b7709771)
-
(cherry picked from commit 7c55e912)
-
(cherry picked from commit 54291ad3)
-
(cherry picked from commit adb8fb11)
-