Commit graph

22763 commits

Author SHA1 Message Date
Henrik Rydgård
02f76ae4a8 Rendering basics now works. 2017-10-26 10:56:59 +02:00
Henrik Rydgård
833916a906 A multitude of fixes. The UI now works correctly, though of course ingame still broken. 2017-10-26 10:56:59 +02:00
Henrik Rydgård
0a0494ef8e It builds! With some shortcuts, of course. 2017-10-26 10:56:59 +02:00
Henrik Rydgård
417b96a1b0 Use RenderManager for thin3d stuff 2017-10-26 10:56:59 +02:00
Henrik Rydgård
84ed793adf Initial work on render queue manager 2017-10-26 10:56:59 +02:00
Henrik Rydgård
a33daa4985 Update gradle files to Android Studio 3.0 defaults. 2017-10-26 10:48:55 +02:00
Henrik Rydgård
7b1e1cd5e0 Automatically scroll textboxes when the caret ends up outside. Fixes #10026 .
There was some code for this before but it didn't work.
2017-10-24 23:05:21 +02:00
Henrik Rydgård
d1d1e1f742 Fix issue with caret position in text boxes caused by a bad hash function. Fletcher is 2-bytes-at-a-time and thus very inappropriate for short strings. 2017-10-24 22:45:27 +02:00
Henrik Rydgård
2c8fb0fbd1 Can't use the camera stuff on Android versions before 11. Fixes #10029. 2017-10-24 15:40:04 +02:00
Henrik Rydgård
f53b455dce Merge pull request #10022 from mrcmunir/patch-2
Better path fix x86_64 android
2017-10-23 00:11:38 +02:00
Carlos Estrague / Mrc_munir
916bb54361 Separate -Bsymbolic Shared linker flag
Using "$ {CMAKE_SHARED_LINKER_FLAGS}" for separate linker -Bsymbolic.

Previously it ignored to the previous declared flags it does not find them. for this gave error with some linkers flags
2017-10-22 21:57:35 +02:00
Henrik Rydgård
27db1d558c Comment and typo fixes. 2017-10-22 10:13:25 +02:00
Henrik Rydgård
8f9bb59005 Vulkan: Fix silly mistake in blend constant checks, thanks Unknown. 2017-10-22 10:07:49 +02:00
Henrik Rydgård
eabaf6ddcd Bit more Vulkan barrier cleanup. 2017-10-21 13:05:52 +02:00
Henrik Rydgård
de248a10c4 Merge pull request #10025 from hrydgard/vulkan-validation-fixes
Vulkan validation fixes
2017-10-20 19:24:59 +02:00
Henrik Rydgård
804aa79376 Various Vulkan image transition fixes and related 2017-10-20 18:09:05 +02:00
Henrik Rydgård
5da165fad6 More work towards passing 1.61 Vulkan validation layers 2017-10-20 17:19:07 +02:00
Henrik Rydgård
d0b9e5ed8f Initial work on passing the latest Vulkan validation checks. 2017-10-20 14:47:36 +02:00
Henrik Rydgård
b9ba525de1 Don't call functions in asserts, they get compiled out in release... 2017-10-20 14:45:00 +02:00
Henrik Rydgård
45743642a9 Merge pull request #10024 from hrydgard/d3d9-compiler-error-check
Allow D3D9 context creation to bail if shader compilation fails
2017-10-20 13:10:02 +02:00
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
Carlos Estrague / Mrc_munir
52e3406e3d Ops typo 2017-10-18 05:37:26 +02:00
Carlos Estrague / Mrc_munir
0a07d1a173 Better path fix x86_64 android
Not sure why not needed before when updated my toolchain to NDK15 now  no found -landroid  and error: cannot open crtbegin_dynamic.o: No such file or directory 

So we pull it safe in case not detect sysroot properly.
2017-10-18 03:47:15 +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