Commit graph

22002 commits

Author SHA1 Message Date
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
Henrik Rydgård
627c280031 Merge pull request #9617 from unknownbrackets/resize
Destroy FBOs only on actual resize
2017-04-15 09:41:25 +02:00
Henrik Rydgård
a4cb215644 Merge pull request #9613 from LunaMoo/config_stuff
Disable pause button when not using touch.
2017-04-14 21:47:02 +02:00
LunaMoo
372cbaac15 Disable pause button when not using touch.
Remove per-game status from some settings which shouldn't be per-game.
2017-04-14 17:11:16 +02:00
Unknown W. Brackets
98ba7afa83 Destroy FBOs only on actual resize.
As a side effect, this means going to settings won't reset all FBOs
anymore.  The behavior can still be obtained by changing render resolution
or rendering mode.

This makes resizing the window faster on Windows, and resumes quicker from
pause.
2017-04-13 23:36:17 -07:00
Unknown W. Brackets
030f803002 Remove unused parameter to DestroyAllFBOs(). 2017-04-13 23:07:21 -07:00
Henrik Rydgård
aa2b4a2bf2 Merge pull request #9610 from unknownbrackets/pause-button
UI: Respect the pause button display setting
2017-04-13 09:11:51 +02: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 Rydgard
d2172c73d6 Update lang submodule 2017-04-13 01:10:17 +02:00
Henrik Rydgård
0cb4344da1 Merge pull request #9603 from unknownbrackets/fb-resize
Fix framebuffer size flopping back and forth
2017-04-12 09:54:03 +02: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
5a7ad5b176 Fix largest framebuf size in throughmode.
This was probably always meant to be <=, since it logically makes sense
for them to be equal.

Might fix cases of resizing down a framebuf in throughmode, where viewport
isn't as good a heuristic.
2017-04-12 00:20:50 -07:00
Unknown W. Brackets
088ced7261 Fix framebuffer size flopping back and forth.
If block transfers are keeping it larger, keep it larger.
2017-04-12 00:19:02 -07: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 Rydgård
c899882034 Fix issues with software GPU on D3D11 2017-04-11 12:53:11 +02:00
Henrik Rydgård
56c3753bb4 Merge pull request #9583 from sum2012/lang
Update lang
2017-04-10 17:11:13 +02:00
Henrik Rydgård
fa64241cfc Merge pull request #9588 from SeeK-ntr0py/master
Linux: Added support for Hidromancer gamepad device driver
2017-04-10 10:07:05 +02:00
seek-ntr0py
2c8c3c391e Linux: Added support for Hidromancer gamepad device driver 2017-04-09 22:51:21 -07:00
Henrik Rydgård
a85b76e671 Merge pull request #9585 from unknownbrackets/gpu-clear
Skip VRAM clears when no download has been made
2017-04-10 00:51:01 +02:00
Unknown W. Brackets
4a8c661c00 Skip downloads of cleared VRAM.
If we've just cleared VRAM, make sure we don't also download that clear.
2017-04-09 15:19:06 -07:00
Unknown W. Brackets
fe07b14a22 Cleanup 16-bit VRAM clearing. 2017-04-09 15:12:56 -07:00
Unknown W. Brackets
70d17d1bc7 Track flags to reduce unnecessary VRAM zeroing.
If we haven't downloaded to RAM since the last zero, no need to zero
again.  This is the most common case.
2017-04-09 15:10:07 -07:00
sum2012
9c1aba21ce Update lang 2017-04-09 20:08:26 +08:00
Henrik Rydgård
d7038860f1 Merge pull request #9568 from hrydgard/window-position-fixes
Windows: Make the window positioning code slightly saner and more straightforward.
2017-04-09 10:26:52 +02:00
Henrik Rydgård
4f7bfbe539 Merge pull request #9580 from unknownbrackets/rewind
SaveState: Correct crash on rewind usage
2017-04-09 09:37:18 +02:00
Unknown W. Brackets
07ce4c213d SaveState: Correct crash on rewind usage.
Since the mutex is now non-recursive, make the Compress/Decompress API
asymmetric.
2017-04-09 00:19:35 -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
b1a530b3a5 Use the root of the memstick as a tempdir for downloads. Should help #8711 2017-04-07 09:58:36 +02:00
Henrik Rydgard
1ac51f952d QtMain: Renamed mis-named variable assets_dir to external_dir 2017-04-07 09:58:36 +02:00
Henrik Rydgård
706714e5c4 Merge pull request #9566 from unknownbrackets/gpu-blit
Fix out-of-bounds framebuffer blit on color bind
2017-04-07 09:31:18 +02:00
Unknown W. Brackets
ff14495511 Fix out-of-bounds framebuffer blit on color bind.
This corrects a crash reported in Persona 3 using D3D11.
2017-04-06 18:49:48 -07:00
Henrik Rydgard
19bf222ea4 Make the gesture detector treat all touches fully individually. Fixes issues with last commit. 2017-04-06 15:51:00 +02:00
Henrik Rydgard
a8d6de26e3 Further fixes to #9554 2017-04-06 15:35:36 +02:00
Henrik Rydgard
14538a6d81 Make scroll gesture detector compatible with other touches than #0. Should help #9554. 2017-04-06 09:58:08 +02:00
Henrik Rydgard
db89bced86 Remove unused code 2017-04-06 09:57:55 +02:00
Henrik Rydgard
f66e54c4cb Operator precedence fix in ifdef 2017-04-05 16:25:17 +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
Henrik Rydgard
5ce73f7264 Restore calls to UpdateUI from sceUmd, now that it's faster. 2017-04-05 11:46:41 +02:00
Henrik Rydgård
cc8df3e8c7 Merge pull request #9560 from hrydgard/touch-scroll-fix
Allow using any touchId to scroll. Should help #9554.
2017-04-05 11:41:32 +02:00
Henrik Rydgård
907832390c Merge pull request #9558 from unknownbrackets/ui-update
Windows: Make UI update significantly cheaper
2017-04-05 09:59:41 +02:00
Henrik Rydgard
f7da9204c1 Allow using any touchId to scroll. Should help #9554. 2017-04-05 09:57:26 +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