Commit Graph

22094 Commits

Author SHA1 Message Date
Henrik Rydgard
d4e1fc8d93 More vulkan shutdown fixes 2017-05-07 11:08:09 +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
Henrik Rydgård
032e21b707 Merge pull request #9667 from unknownbrackets/win-host
Windows: Initialize WindowsHost in EmuThread
2017-05-05 16:46:56 +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
80d4673cd5 Oops again.. sigh 2017-05-05 13:09:30 +02:00
Henrik Rydgard
d3ff35b2c0 Fix to partial restarts (when switching backends), plus misc. Helps #9666 2017-05-05 12:31:06 +02:00
Henrik Rydgård
e304325ed8 Merge pull request #9664 from LunaMoo/mouseStuff
Handle alt+tab and menu better when mouse is confined in-game.
2017-05-05 07:25:21 +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
9284ea8375 Also memset. 2017-05-04 08:57:06 +02:00
Henrik Rydgard
fb95288456 Add a constructor to GestureDetector, to see if that fixes initialization 2017-05-04 08:56:05 +02:00
Henrik Rydgard
7d89e5d84c Experiment (#9647): Prevent NaN values from getting into the UI system through TouchInput 2017-05-04 00:30:04 +02:00
Henrik Rydgard
6aca39722f Experiment (#9647): Wipe RawInput buffers 2017-05-04 00:29:29 +02:00
Henrik Rydgård
41136d5b96 Merge pull request #9659 from xsm1997/master
Fix: in some extreme case on-screen touch controls get stuck on iOS
2017-05-01 14:39:57 +02:00
Xiong Shimin
17b6f9f7a3 Fix: in some extreme case on-screen touch controls get stuck on iOS 2017-05-01 17:58:35 +08: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
e880c034bc Oops 2017-04-30 09:59: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
4f6b9c1fd2 Arg, gcc buildfix. 2017-04-29 23:53:22 -07:00
Henrik Rydgård
54e2b2b598 Merge pull request #9658 from unknownbrackets/softgpu-continue
SoftGPU: Implement CONTINUE prim type
2017-04-30 08:19:16 +02:00
Henrik Rydgård
446d103dd6 Merge pull request #9656 from unknownbrackets/sysprop
System: Use a separate API for bool props
2017-04-30 08:16:21 +02:00
Unknown W. Brackets
1666586869 SoftGPU: Implement CONTINUE prim type.
Matches tests (except 3D lines, which aren't implemented yet.)
2017-04-29 20:36:36 -07: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
Unknown W. Brackets
ee68f09be5 Merge pull request #9653 from xiushudongfang/UI_background_android
UI: Allow choosing bgs (android)
2017-04-29 20:23:58 -04: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
de3c4fe111 UI: Fix crash on item select with hidden items.
Because we can't assume the number is an index into the views, when some
of those views weren't created.
2017-04-29 13:04:28 -07:00
Unknown W. Brackets
9ea7281b3c Core: Cleanup MAC address handling.
No need to make it leak, even if it doesn't matter much on shutdown.
Better to have the leak listing empty.
2017-04-29 12:48:06 -07: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
Henrik Rydgård
dbd8085c3e Merge pull request #9654 from LunaMoo/CWC0x6_0x1
Fix "copy type" pointer cwc
2017-04-29 20:51:51 +02:00
xiushu
c3a6d5a392 Remove blank line 2017-04-30 02:09:52 +08:00
xiushu
93536997cd UI: Allow choosing bgs (android) 2017-04-30 02:06:37 +08:00
LunaMoo
3f90c2ded0 Fix "copy type" pointer cwc 2017-04-29 19:47:37 +02:00
Henrik Rydgård
4a97ab25b3 Merge pull request #9651 from LunaMoo/minorOCD
Minor OCD fix;].
2017-04-29 16:50:08 +02: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
Unknown W. Brackets
7613fd97aa Windows: Fix minor leak in disassembly UI. 2017-04-27 20:02:49 -07:00
LunaMoo
14e6667f3a Fix ALT key mapping. 2017-04-27 17:40:54 +02:00
Henrik Rydgård
96b858e0ae Merge pull request #9644 from LunaMoo/MouseControl
Mouse Control(Windows only for now)
2017-04-27 17:34:19 +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
1d0dab2020 Add Tip to inform user how to use mouse control. 2017-04-27 12:06:39 +02:00
LunaMoo
45304476e2 Polish the new workaround, seems to be nice and simple. 2017-04-27 11:12:11 +02:00
LunaMoo
a0b904c7e8 Try on a nicer mapping workaround. 2017-04-27 10:09:57 +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
d7ca05b6b5 GPU: Fix black screen on buffered render enable.
We were never clearing the skip flag.  Has been a bug since before v1.0.
2017-04-24 12:10:08 -07:00
Unknown W. Brackets
fd4399e108 GPU: Centralize fb resize, move to begin of frame.
It makes more sense here, because otherwise when you change it from the UI
settings, it takes a frame to "kick in".
2017-04-24 12:02:52 -07:00
Unknown W. Brackets
6c2f87b1df GPU: Consistently use useBufferedRendering_. 2017-04-24 11:57:16 -07:00