Commit Graph

1771 Commits

Author SHA1 Message Date
Unknown W. Brackets
262c3483cf GE Debugger: Fix bias display for auto mip mode. 2017-05-14 14:56:17 -07:00
Henrik Rydgard
fd4ef48971 Windows debug builds: Only break on Vulkan validation warnings if a debugger is attached. 2017-05-07 18:09:09 +02:00
Henrik Rydgard
42a694368e Vulkan: Remove obsolete warning suppressions. Increase descriptor pool sizes. 2017-05-07 11:14:25 +02:00
Henrik Rydgard
ff6fcc9179 More vulkan fixes 2017-05-07 10:53:04 +02:00
Henrik Rydgard
5974e0ee6d Work towards a clean vulkan shutdown. 2017-05-07 10:40:11 +02:00
Unknown W. Brackets
793178c106 Windows: Initialize WindowsHost in EmuThread.
This seems like a more appropriate place, and a more appropriate thread,
for it to be initialized on.
2017-05-05 06:53:48 -07:00
Henrik Rydgard
d3ff35b2c0 Fix to partial restarts (when switching backends), plus misc. Helps #9666 2017-05-05 12:31:06 +02:00
LunaMoo
2a60f2e77c Handle alt+tab and drop down menu when mouse is confined and game is running 2017-05-05 02:26:24 +02:00
Henrik Rydgard
6aca39722f Experiment (#9647): Wipe RawInput buffers 2017-05-04 00:29:29 +02:00
Henrik Rydgård
72adb920fb Merge pull request #9657 from unknownbrackets/wgl-init
Windows: Init with OpenGL 4.5 if possible
2017-04-30 14:15:47 +02:00
Henrik Rydgard
9a1cd5a5e8 Add some paranoid checks around touch IDs that probably won't help #9647
Also adds LunaMoo to credits list.
2017-04-30 08:57:44 +02:00
Unknown W. Brackets
0b16899f67 Windows: Init with OpenGL 4.5 if possible.
Also, try more versions if older.
2017-04-29 17:38:18 -07:00
Unknown W. Brackets
3b4103cb3b System: Use a separate API for bool props.
This simplifies defaulting, instead of -1 being "true".
2017-04-29 17:35:12 -07:00
Henrik Rydgård
712fb08105 Merge pull request #9655 from unknownbrackets/leaks
Fix some leaks
2017-04-29 22:15:54 +02:00
Unknown W. Brackets
90f3ae14e0 Windows: Simplify host shutdown.
The whole nativeHost/oldHost thing is unnecessary.

This also fixes gl lost holder mismatches.
2017-04-29 12:04:54 -07:00
LunaMoo
5fd6d4aab6 Minor OCD fix;]. 2017-04-29 16:24:01 +02:00
Unknown W. Brackets
ccd9a17235 D3D11: Free swapchain on graphics reset. 2017-04-27 20:04:30 -07:00
Unknown W. Brackets
661b2a3aa8 UI: Make GPU events more consistent. 2017-04-27 20:03:50 -07:00
LunaMoo
14e6667f3a Fix ALT key mapping. 2017-04-27 17:40:54 +02:00
LunaMoo
26006e9d80 Add an option to trap mouse within window/display area. 2017-04-27 16:29:08 +02:00
LunaMoo
a9d9063680 Handle more mouse buttons(middle, 4, 5) 2017-04-27 13:54:38 +02:00
LunaMoo
26c02478af Mouse Control(Windows only for now) 2017-04-26 18:03:48 +02:00
Henrik Rydgård
339d4b2eae Merge pull request #9638 from unknownbrackets/gpu-minor
Oops, rebuild FBOs when buffered changes
2017-04-25 02:09:50 +02:00
Unknown W. Brackets
6c2f87b1df GPU: Consistently use useBufferedRendering_. 2017-04-24 11:57:16 -07:00
LunaMoo
27b41fed1d Fix postprocess shader submenu. 2017-04-24 12:40:16 +02:00
Unknown W. Brackets
960ffd2e85 Core: Remove bRestartRequired config hack. 2017-04-15 16:34:25 -07:00
Unknown W. Brackets
e8e65881b8 Windows: Avoid restarting completely on GPU change.
This retains the logger, avoids an annoying window open/close, and most
importantly for me: keeps the debugger attached.
2017-04-15 16:33:30 -07:00
Unknown W. Brackets
bf02f7d98b Vulkan: Detect swapchain init failure.
This seems to be a driver bug, and occurs on NVIDIA when OpenGL has
previously been inited.  Or we're not cleaning something up properly...
but there's a driver error logged to debug output.
2017-04-15 16:26:26 -07:00
Unknown W. Brackets
989f19f83f UI: Respect the pause button display setting.
As of 22782b6, the setting stopped working.  It can be useful for Windows
touch devices.  Fixes #9609.
2017-04-12 22:09:05 -07:00
Henrik Rydgård
81c3c7c41e Merge pull request #9602 from unknownbrackets/touch-mismatch
Windows: Correct touch id mismatch
2017-04-12 09:48:30 +02:00
Unknown W. Brackets
587e5f7e7a Windows: Cleanup type conversion in touch.
This should help if we have uneven DPI.
2017-04-11 18:53:00 -07:00
Unknown W. Brackets
994e99c94d Windows: Fix mismatch on multitouch finger up.
Fixes buttons "sticking".
2017-04-11 18:48:40 -07:00
Henrik Rydgard
f18b1a5e8a When resetting Y, make sure we don't end up outside the screen. See #9563 2017-04-08 23:33:34 +02:00
Henrik Rydgard
0b7da0b6a4 When not resetting Y position, clamp Y to 0 early. See #9563 2017-04-08 23:33:23 +02:00
Henrik Rydgard
3b00088995 Typo fix 2017-04-08 18:41:21 +02:00
Henrik Rydgard
2d8910549e Switch back to using CXSCREEN/CYSCREEN for centering instead of the virtual screen. 2017-04-08 11:36:05 +02:00
Henrik Rydgard
445a837dde Windows: Make the window positioning code slightly saner and more straightforward. 2017-04-07 11:04:55 +02:00
Henrik Rydgard
db89bced86 Remove unused code 2017-04-06 09:57:55 +02:00
Henrik Rydgard
cf365bb257 Minor cleanup with GOLD define - only use it in System_GetPropertyInt 2017-04-05 16:21:08 +02:00
Henrik Rydgard
3ae13f3c05 Touch on Windows Desktop: Apply the DPI scale *after* ScreenToClient.
Might further improve #9554.
2017-04-05 15:36:31 +02:00
Henrik Rydgard
fc730b76df Fix XInput polling in UWP apps. Should help #9555 2017-04-05 14:13:25 +02:00
Unknown W. Brackets
c3a4f53755 Windows: Fix check state after menu translate.
The caching in SetIngameMenuItemStates was pointless, and buggy on
language change.
2017-04-04 21:01:05 -07:00
Unknown W. Brackets
47284905a4 Windows: Move menu early-exits into update func.
This way we'll more easily remember to change them if we add flags.
2017-04-04 20:54:09 -07:00
Unknown W. Brackets
6642bf3170 Windows: Make UI update significantly cheaper.
Setting menu strings, reloading shaders, and redrawing the menu were all
a bit slow.  This skips those things unless they've changed.
2017-04-04 20:33:22 -07:00
Henrik Rydgard
0a0aa02aae Win32: Enable/disable menu items when a menu is popped down. Allows us to avoid calling UpdateUI from sceUmd. Should fix #9546 2017-04-04 10:11:03 +02:00
Unknown W. Brackets
0bd31e1567 Windows: Reduce CPU usage with no XInput connected. 2017-04-02 14:34:20 -07:00
Unknown W. Brackets
e59ebf8ad9 Windows: Add option to browse for bg image.
And also to clear the image.
2017-04-02 10:50:09 -07:00
Henrik Rydgard
8d1ece05ca Finally move flash0 into assets, fixing #9468 and #9520
CMake fix
Fix the innosetup and zip scripts for the new assets location
2017-04-01 00:20:53 +02:00
LunaMoo
4a2677e0c6 Revert unintentional change from: 429bf5d8b3 2017-03-23 11:54:54 +01:00
Henrik Rydgård
22782b6439 UWP: Fix DPI calculations for touch. Implement back button support. 2017-03-23 10:02:29 +01:00