Commit Graph
21971 Commits
Author SHA1 Message Date
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
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 e99f1c00ff Update lang submodule 2017-04-04 13:14:04 +02:00
Henrik Rydgard 0e74ba6dc0 Fix R/B swap in D3D11 depal 2017-04-04 11:35:30 +02:00
Henrik Rydgård 67c21f15f7 Merge pull request #9552 from hrydgard/smarter-menu-enable
Smarter menu enable
2017-04-04 11:29:17 +02:00
Henrik Rydgard 22d5acb40e Depal: Use the full CLUT mode setting as the depal shader key. Fixes #9550 for both D3D11 and D3D9. 2017-04-04 11:09:29 +02:00
Henrik Rydgard a029195f57 Forgot one line 2017-04-04 10:14:07 +02: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
Henrik Rydgård 0ca16c29ae Merge pull request #9541 from hrydgard/state-optimizations-prep
State optimizations prep
2017-04-03 22:15:05 +02:00
Henrik Rydgard 6313d2a7af Make the slow framerate warning yellow. Don't show it if running at "alternate speed". 2017-04-03 20:58:51 +02:00
Henrik Rydgård 6b9b26f521 Forgot to fix this accessor too 2017-04-03 18:06:49 +02:00
Henrik Rydgård d0f3e5cb89 Don't wipe the Vulkan pipeline key, allow for building it incrementally 2017-04-03 17:26:54 +02:00
Henrik Rydgård 156bd47155 D3D11: Don't manually wipe the state keys. Make sure that the keys are properly initialized. 2017-04-03 17:20:31 +02:00
Henrik Rydgård 5a8e9c4f71 Port some accessors over from #9255 to be able to catch these changes and dirty state later. 2017-04-03 17:04:58 +02:00
Henrik Rydgård 1faae8b6d6 Port some other minor changes over from #9255 2017-04-03 16:47:30 +02:00
Henrik Rydgård 0903bfb5f5 More D3D11 reorg 2017-04-03 16:37:11 +02:00
Henrik Rydgård 73d762f506 Reorganize raster state mapping 2017-04-03 16:37:11 +02:00
Henrik Rydgard cffb1d7014 Reorganize depth-stencil 2017-04-03 16:37:11 +02:00
Henrik Rydgard d581a96d79 All backends: Reorganize blend state mapping to make dirty-tracking easier 2017-04-03 16:37:08 +02:00
Henrik Rydgård 8244b8246b Merge pull request #9537 from unknownbrackets/frame-drops
Core: Clear debug stats on frame start
2017-04-03 00:03:42 +02:00
Henrik Rydgård 65adbb1004 Merge pull request #9536 from unknownbrackets/xinput-inactive
Windows: Reduce CPU usage with no XInput connected
2017-04-03 00:02:27 +02:00
Henrik Rydgard 6b46f8ea52 Some paranoia in CheckGLExtensions, due to a reported crash in strlen() 2017-04-02 23:59:17 +02:00
Henrik Rydgard 7e9bc84c06 Minor safety check 2017-04-02 23:58:27 +02:00
Henrik Rydgard c54999d26a Even the vertex interpreter, not just the jit, can crash from misaligned vertex data. 2017-04-02 23:57:59 +02:00
Unknown W. Brackets 51fe978fe1 Core: Clear debug stats on frame start.
This way we can log drops and debug stats at the same time - oops.
2017-04-02 14:49:18 -07:00
Unknown W. Brackets 0bd31e1567 Windows: Reduce CPU usage with no XInput connected. 2017-04-02 14:34:20 -07:00
Henrik Rydgård 4ea01befcf Merge pull request #9535 from unknownbrackets/ui-background2
UI: Allow setting the background image
2017-04-02 20:57:19 +02:00
Unknown W. Brackets 6541413021 UI: Improve documentation on pop up use. 2017-04-02 10:56:41 -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
Unknown W. Brackets 55908588eb UI: Allow choosing game bgs for all UI. 2017-04-02 10:48:38 -07:00
Henrik Rydgard 97058b4db7 Apply the D3D11 loco roco fix identically to the other backends
To make centralization easier, and this should be a problem for the
other backends as well.
2017-04-01 21:17:58 +02:00
Henrik Rydgard 2ebba56758 Fix crash in LocoRoco with D3D11 when hitting a spiky (a broken texture gets created with too many mipmaps for its size) 2017-04-01 20:36:44 +02:00