Commit Graph

22741 Commits

Author SHA1 Message Date
Henrik Rydgård
017d3da067 Allow D3D9 context creation to bail if shader compilation fails (D3D9 runtime not installed).
Fixes an issue where after switching to D3D9 on a PC without the D3D9 runtime, it's impossible to start PPSSPP anymore.
2017-10-20 11:53:07 +02:00
Henrik Rydgård
a6cf2e6ca0 Merge pull request #10018 from hrydgard/thin3d-readpixels-2
Unify some more framebuffer code.
2017-10-20 11:37:14 +02:00
Henrik Rydgård
21d3c54401 Have GetFramebufferDimensions return the backbuffer size for null in all backends. 2017-10-20 11:11:04 +02:00
Henrik Rydgård
b886efe8f5 Another minor cleanup (DescribeCodePtr) 2017-10-20 11:06:12 +02:00
Henrik Rydgård
4a30aedc53 Unify and move around code to cleanup some debug accessors 2017-10-18 13:10:05 +02:00
Henrik Rydgård
d53c88456a Unify GetFramebufferList() (trivial) 2017-10-18 12:49:15 +02:00
Henrik Rydgård
898716cc26 Unify DownloadFramebufferForClut 2017-10-18 12:34:01 +02:00
Henrik Rydgård
17576d7894 Remove more dummy code from Vulkan backend. 2017-10-18 12:27:58 +02:00
Henrik Rydgård
981c49615c Unify FlushBeforeCopy. Remove old dummy methods from Vulkan framebuffer manager. 2017-10-18 12:26:02 +02:00
Henrik Rydgård
0d85f86e2d Add some safety checks. Fix some inadvertent Y-flips (bit hacky). 2017-10-18 11:40:07 +02:00
Henrik Rydgård
4e3a9bc3e3 Unify some more framebuffer functions. Leave the GL stuff alone for now due to async. 2017-10-18 11:20:58 +02:00
Henrik Rydgård
f2ea0ce472 Unify (well, almost) GetOutputFramebuffer (D3D11/GL) 2017-10-18 10:54:26 +02:00
Henrik Rydgård
214270d192 Unify GetDepthBuffer/GetStencilBuffer in GL/D3D11 2017-10-18 10:54:26 +02:00
Henrik Rydgård
a85c8e9fc0 Merge pull request #10021 from psyke83/master
RPI: use new vendor graphics library names
2017-10-17 21:35:52 +02:00
Henrik Rydgård
18fc78b34e Update lang submodule 2017-10-17 15:08:29 +02:00
Henrik Rydgård
f6bf1d5d7c Add a controller profile for X360 controllers on RPI, fixes issue #10019 2017-10-17 15:08:17 +02:00
Unknown W. Brackets
424af60086 Merge pull request #10008 from hrydgard/thin3d-readpixels
Start unification of framebuffer readback code
2017-10-16 23:26:56 -04:00
Conn O'Griofa
34a61cf57e RPI: use new vendor graphics library names
Now required to build on recent Raspberry Pi firmware images (Raspbian stretch).
2017-10-17 00:50:16 +01:00
Henrik Rydgård
f220c74037 Remove comment, add check. 2017-10-16 16:28:27 +02:00
Henrik Rydgård
861c11f709 Buildfix 2017-10-16 14:34:11 +02:00
Henrik Rydgård
ad4bc3f9f4 Address review comments. 2017-10-16 14:32:26 +02:00
Henrik Rydgård
e165837ba9 Merge pull request #10016 from mrcmunir/android-x86_64
Fix #9814 android x86-64 cmake problem.
2017-10-16 01:56:09 +02:00
Carlos Estrague / Mrc_munir
efe251dc10 Re-enable gradle x86_64 android build
It should work now I've tried it with android-x86 Images and  with emulator android sdk avd image
2017-10-16 01:14:15 +02:00
Carlos Estrague / Mrc_munir
fc1e8267e7 restructure some flags x86_64 android
seems load  with  -Wl, only -Bsymbolic
2017-10-16 00:58:34 +02:00
Henrik Rydgård
ae9393cb22 Merge pull request #10014 from unknownbrackets/gamedata-state
Gamedata: Fix savestates for data install
2017-10-15 10:41:19 +02:00
Henrik Rydgård
6c6cdd0d68 Merge pull request #10015 from unknownbrackets/osk-limit
OSK: Limit allowed keyboards based on input mask
2017-10-15 10:39:33 +02:00
Henrik Rydgård
66eb1ae816 Merge pull request #10012 from unknownbrackets/console-unicode
Windows: Fix over/under write for multibyte chars
2017-10-15 10:38:47 +02:00
Henrik Rydgård
72a6c227fd Merge pull request #10013 from unknownbrackets/savedata-full
Savedata: Handle disk full properly in GETSIZE
2017-10-15 10:38:19 +02:00
Carlos Estrague / Mrc_munir
a37ef3ecbf Will fix Android-x86_64 cmake
Use the same flags from android-x86 project  load fine in marsmallow and nougat tested android-x86 images and avd images 
set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-fatal-warnings -Wl,-Bsymbolic")
2017-10-15 04:33:57 -04:00
Unknown W. Brackets
190691f249 OSK: Limit allowed keyboards based on input mask. 2017-10-14 22:59:48 -07:00
Unknown W. Brackets
078e03c7cb Gamedata: Fix savestates for data install.
Otherwise, with rewind enabled, it hangs forever.
2017-10-14 22:11:59 -07:00
Unknown W. Brackets
42c0e7d5dd Savedata: Handle disk full properly in GETSIZE.
Games use these fields to determine how much more space is needed to
create savedata.  Some also use it for install data.

This allows more games to properly report free space issues.
2017-10-14 21:55:38 -07:00
Unknown W. Brackets
dd98e877d4 Windows: Fix over/under write for multibyte chars. 2017-10-14 21:45:07 -07:00
Henrik Rydgård
4350ee153c D3D11: Fix a bug, add depth/stencil support to CopyFramebufferToMemorySync 2017-10-11 15:12:41 +02:00
Henrik Rydgård
ed602a3319 UWP buildfix. See comments in #9575 2017-10-11 14:27:50 +02:00
Henrik Rydgård
9b1ee6fce6 Unify GetFramebuffer in GLES and D3D11.
D3D9 is left behind for now, and Vulkan still needs implementation - got a branch with initial work towards that.
2017-10-11 13:39:34 +02:00
Henrik Rydgård
62972cb891 D3D11: Move to CopyFramebufferToSync where easily possible. 2017-10-11 13:34:31 +02:00
Henrik Rydgård
16e68aa7c7 Get rid of BindFramebufferForRead 2017-10-10 14:49:07 +02:00
Henrik Rydgård
5bbe0eb69a Move GL readback to a Thin3D abstraction 2017-10-10 14:48:58 +02:00
Henrik Rydgård
2d94d45389 More format support in thin3d GL 2017-10-10 14:48:54 +02:00
Henrik Rydgård
ec7dc724c7 Minor OpenGL refactor. 2017-10-09 15:51:43 +02:00
Henrik Rydgård
0aa950b663 Start moving PACK_ALIGNMENT into SafeGLReadPixels 2017-10-09 15:43:26 +02:00
Henrik Rydgård
f760429792 Minor refactoring of framebuffer readbacks. 2017-10-09 15:17:55 +02:00
Henrik Rydgård
3757070fe2 Extra safety when switching GPU backends, fix possible Vulkan shutdown issue. Should help #10005 2017-10-09 12:17:54 +02:00
Henrik Rydgård
bb1f651182 Merge pull request #10001 from LunaMoo/SavedataUpgrade
Add ini-only "Savedata Upgrade" setting.
2017-10-04 21:26:40 +02:00
LunaMoo
8826c031a6 Add ini-only "Savedata Upgrade" setting. 2017-10-04 17:16:21 +02:00
Henrik Rydgård
206643b266 Merge pull request #9997 from neilmunday/master
Create default mapping for unknown control pads in SDL's controller database
2017-10-04 10:41:54 +02:00
Henrik Rydgård
709a86a154 Fix savestates from before 1.4.2-420. Fixes #9998. Unfortunately this also breaks states between 420 and 468, so please save normally before upgrading if you were using one of those. 2017-10-04 10:34:46 +02:00
Neil Munday
ac0052c6af Added default control pad mapping for control pads not found in SDL's game controller database file. 2017-10-03 22:08:29 +01:00
Henrik Rydgård
356b25e3ce Vulkan: If there are no GPUs available, fail properly instead of asserting.
Seen on an obscure x86-64 android device when running 32-bit binaries
2017-10-02 14:09:30 +02:00