Commit Graph

21475 Commits

Author SHA1 Message Date
Henrik Rydgard
98763655e7 Plug a memory leak in the GLES texture cache. Fixes #9089 2017-02-23 22:41:13 +01:00
Henrik Rydgard
8eb668ea59 D3D11: Enable pixel depth rounding. GL: Fix a crash bug 2017-02-23 20:40:53 +01:00
Henrik Rydgård
c355947bca Merge pull request #9350 from hrydgard/d3d11-postproc
D3D11 postprocessing shaders
2017-02-23 20:39:28 +01:00
Henrik Rydgard
86f0be7724 Another shader function replacement 2017-02-23 20:29:53 +01:00
Henrik Rydgard
79bd01efb8 D3D11: Add support for viewing the depth and stencil buffers in the GE debugger 2017-02-23 16:27:26 +01:00
Henrik Rydgard
ccef648d3d Complete implementation of post shaders for D3D11. All work except 5x scale one which looks wrong. 2017-02-23 14:51:05 +01:00
Henrik Rydgard
731026c199 D3D11: Can now switch post shader at runtime, and won't crash if they fail to translate correctly. 2017-02-23 12:42:28 +01:00
Henrik Rydgard
f1e015f577 Basic postshader translation to D3D11 works. On-the-fly switching seems broken though. 2017-02-23 12:42:28 +01:00
Henrik Rydgard
e7612c13da Initial work on post-shader translation for D3D11 2017-02-23 12:42:24 +01:00
Henrik Rydgard
acde17e3ce Improvements to D3D11 detection and error handling. 2017-02-23 10:40:55 +01:00
Henrik Rydgard
85ce4ac219 Show the D3D11 choice on Windows Vista+ instead of Windows 8+. 2017-02-23 09:52:45 +01:00
Henrik Rydgard
615c357f1d Win32 start-from-command-line: Normalize slashes earlier in the process. The actual root cause of the issue from #9335. 2017-02-23 09:31:45 +01:00
Henrik Rydgard
900539e200 Fix #9340 (touch controls not always getting repositioned correctly) 2017-02-23 09:31:45 +01:00
Henrik Rydgård
607838b90c Merge pull request #9347 from asl97/fullscreen-keep-active
Don't minimize PPSSPP when losing focus while fullscreen
2017-02-22 22:59:03 +01:00
Henrik Rydgård
5ce074ddac Merge pull request #9346 from asl97/background-js
Allow background joystick input on SDL
2017-02-22 22:58:11 +01:00
ASL97
56431ca9ab Don't minimize PPSSPP when losing focus while fullscreen 2017-02-23 05:51:25 +08:00
ASL97
14187f9311 Allow background joystick input on SDL 2017-02-23 05:18:21 +08:00
Henrik Rydgård
364b7e26bf Merge pull request #9345 from hrydgard/d3d11-16bit-textures
D3D11: Expand 16-bit textures to 32-bit if Win8+-only texture formats are not supported
2017-02-22 18:28:44 +01:00
Henrik Rydgard
95aec3ac76 Fix D3D9 crash (made a mistake with locking) 2017-02-22 18:27:46 +01:00
Henrik Rydgard
0954ecf28c D3D11: Expand 16-bit texture formats to 32-bit if they are not supported, like on Windows 7. Part of issue #9317 2017-02-22 17:31:01 +01:00
Henrik Rydgard
f24b1495ba Assorted texture format cleanup, prep for supporting D3D11 on Win7 2017-02-22 16:23:04 +01:00
Henrik Rydgard
b94ad12aea D3D9: Use D3DLOCK_DISCARD when updating whole textures, may be a small speedup 2017-02-21 11:35:06 +01:00
Henrik Rydgard
f772066c54 Remove some unnecessary error handling paths 2017-02-21 11:29:51 +01:00
Henrik Rydgard
31dd8fdc39 When adding filenames to recent list, convert slashes to /. See #9335
Note that this doesn't fix existing backslashes but solves it in the
long run.
2017-02-21 11:22:28 +01:00
Henrik Rydgard
06cf449719 Delete some broken DX9 code. 2017-02-21 11:11:38 +01:00
Henrik Rydgard
e16e1b6d7e GL: If possible, use glCopyImageSubData instead of glBlitFramebuffer to copy depth buffers 2017-02-21 11:10:44 +01:00
Henrik Rydgard
78abf7453c Add some comments and a sanity check, fix a minor leak 2017-02-21 10:58:21 +01:00
Henrik Rydgård
40e414cd75 Merge pull request #9330 from hrydgard/xinput-multiple-pads
Let multiple XInput devices be mapped separately. Fixes #8250
2017-02-21 10:52:15 +01:00
Henrik Rydgard
dfae4b6551 Fix directory creation. On Android, also create a .nomedia file in PPSSPP_STATE to avoid it showing up in galleries and stuff.
Additionally, commit a little script to help make Windows releases.

See #9333
2017-02-20 15:15:04 +01:00
Henrik Rydgard
e8eb657091 Create the expected default directories on memstick on startup, to reduce confusion for homebrew. See #9333 2017-02-20 14:22:05 +01:00
Henrik Rydgard
fd20788a67 Missing initialization, warning fixes, fix display of tabs in fast text drawing 2017-02-20 11:21:07 +01:00
Henrik Rydgard
19d321bd8c Fix a bad memory leak in sceMpeg 2017-02-20 11:12:39 +01:00
Henrik Rydgard
4c6ca76681 D3D11: Fix texture loading crash on 32-bit platforms 2017-02-20 10:15:41 +01:00
Henrik Rydgård
4c8aa77e13 Merge pull request #9332 from hrydgard/texcache-unify-2
Further texcache unification
2017-02-20 01:10:02 +01:00
Henrik Rydgard
195eb94c8e Texcache: Keep pointers to entries instead of full entries in the map. 2017-02-20 00:45:07 +01:00
Henrik Rydgard
ca9050af12 These should be deleted too. 2017-02-20 00:36:37 +01:00
Henrik Rydgard
4c897ff853 Forgot to delete CheckFullHash duplicates 2017-02-20 00:21:54 +01:00
Henrik Rydgard
4652c6af28 Some member variable renaming to match the convention 2017-02-20 00:19:58 +01:00
Henrik Rydgard
f753573332 Unify HandleTextureChange 2017-02-20 00:13:21 +01:00
Henrik Rydgard
f15e25c4b5 Centralize SetTexture 2017-02-20 00:05:23 +01:00
Henrik Rydgard
e24e652b0d Prepare to unify SetTexture 2017-02-19 23:50:04 +01:00
Henrik Rydgard
aae2030a14 Unify Decimate() 2017-02-19 23:39:35 +01:00
Henrik Rydgard
d9c20fbaff Unify ApplyTexture 2017-02-19 23:25:09 +01:00
Henrik Rydgard
7890b61cc5 More work towards unifying ApplyTexture 2017-02-19 23:19:55 +01:00
Henrik Rydgard
f839f1944e Work towards unifying ApplyTexture 2017-02-19 23:07:00 +01:00
Henrik Rydgard
665ffe34ab Centralize DeleteTexture 2017-02-19 22:50:04 +01:00
Henrik Rydgard
dbafc6ef95 Centralize Texcache::Clear 2017-02-19 22:31:07 +01:00
Henrik Rydgard
91611832dc Vulkan crashfix 2017-02-19 22:02:44 +01:00
Henrik Rydgard
4364569cf4 Move TexCacheEntry outside the TextureCacheCommon class. Nested structs are annoying. 2017-02-19 18:53:30 +01:00
Henrik Rydgard
947f8c5bdd Let multiple XInput devices be mapped separately. Fixes #8250 2017-02-19 15:02:47 +01:00