654 Commits

Author SHA1 Message Date
Henrik Rydgård
1c5bd0f8dc Move the VulkanRenderManager stuff to thin3d, fits in better there. 2017-10-26 10:56:59 +02:00
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
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
eabaf6ddcd Bit more Vulkan barrier cleanup. 2017-10-21 13:05:52 +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
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
21d3c54401 Have GetFramebufferDimensions return the backbuffer size for null in all backends. 2017-10-20 11:11:04 +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
f2ea0ce472 Unify (well, almost) GetOutputFramebuffer (D3D11/GL) 2017-10-18 10:54:26 +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
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
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
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
6ab39ba475 Reorder SDL init a bit, allowing us to read the fullscreen option early enough to fix #9086 2017-10-01 23:03:40 +02:00
Henrik Rydgård
4de75235ff Oops, forgot this one. 2017-09-28 20:27:31 +02:00
Henrik Rydgård
ebaa8051a4 Remove unnecessary ifdef. Thanks Bracket-. See #9548 comments. 2017-09-28 19:33:07 +02:00
Unknown W. Brackets
bd63fdd8ed GLES: Android buildfix.
Shouldn't need this, actually.
2017-09-20 19:38:24 -07:00
Unknown W. Brackets
1802d7a45e GLSL: Set extension flags for elided core exts.
So that we know we have them, i.e. on Apple.
2017-09-20 12:23:11 -07:00
Unknown W. Brackets
e754cca288 GLES: Add OpenGL 3.x core profile support.
Need to define #version everywhere and avoid varying/etc.
2017-09-20 12:22:01 -07:00
twinaphex
4855b2d6f1 mingw patches 2017-08-31 22:15:05 +02:00
Henrik Rydgård
6a1fa728d8 Remove Globals.h 2017-08-31 17:15:22 +02:00
Henrik Rydgård
ff3d799871 Remove snprintf compatibility hacks for MSVC versions before 2015 2017-08-31 16:46:54 +02:00
Henrik Rydgård
42cb559a8d Merge pull request #9927 from Florin9doi/master
Integrate sceUsbGps and sceUsbCam with Android
2017-08-31 09:47:25 +02:00
twinaphex
a9bf8e7b18 More mingw patches pt. 2 2017-08-29 22:41:50 +02:00
twinaphex
db404adb95 More mingw patches 2017-08-29 22:24:20 +02:00
Henrik Rydgård
9888d774c8 apple buildfix 2017-08-29 14:51:10 +02:00
Henrik Rydgård
207f903941 Add a hack to override the default framebuffer on non-iOS, to unblock the new RetroArch port attempt (#9936) 2017-08-28 21:18:42 +02:00
Henrik Rydgård
8c1bfb876f Assorted cleanup of Vulkan init code. Show Vulkan extensions in system info. 2017-08-28 13:47:31 +02:00
Florin9doi
892bc8617d Integrate sceUsbGps and sceUsbCam with Android 2017-08-27 17:19:11 +03:00
Henrik Rydgård
393b3697cd This might not always be 16-byte aligned. 2017-08-21 00:50:24 +02:00
Henrik Rydgård
c2bd739b49 Optimize uniform uploads for D3D9 and GL as well. 2017-08-20 13:53:39 +02:00
Henrik Rydgård
91783a3281 SIMD-optimize some data conv routines used in uniform updates. 2017-08-20 11:43:35 +02:00
Henrik Rydgård
7ddf704804 Vulkan: Fix bug sometimes causing the wrong renderpass to be ended at exit, causing crashes. 2017-08-18 17:24:03 +02:00
Henrik Rydgård
b9b2656e93 More vulkan microoptimizations. Add more profiler scopes. 2017-08-18 13:48:11 +02:00
thesource
76dd5d380e Fixed invalid preprocessor directive 2017-08-18 11:53:47 +03:00