Commit Graph
22782 Commits
Author SHA1 Message Date
Henrik Rydgård 07e8b4ff1a Bump descriptor set limits, which became insufficient with the addition of tesselation (should really use separate big desc layouts for them) 2017-10-26 10:57:01 +02:00
Henrik Rydgård 8644e85d3d Remove misguided hack. 2017-10-26 10:57:01 +02:00
Henrik Rydgård 54e4eab1c1 Warning fixes 2017-10-26 10:57:00 +02:00
Henrik Rydgård 613cc46285 Remove a bad check making us use the wrong way to copy depth buffers. Add a cap so we can try to unify BlitFramebufferDepth later. 2017-10-26 10:57:00 +02:00
Henrik Rydgård 12f8580984 Assorted fixes 2017-10-26 10:57:00 +02:00
Henrik Rydgård 85cb604a24 Fix (some) crashes on blits. Validation issues remain. 2017-10-26 10:57:00 +02:00
Henrik Rydgård 9b183f1f4b Forgot to add the CMakeLists.txt change to the last commit. 2017-10-26 10:57:00 +02:00
Henrik Rydgård 8639664a6a Warning fixes, CMakeLists.txt/Android.mk fixes 2017-10-26 10:57:00 +02:00
Henrik Rydgård d016bfe221 Fix some resource leaks and excessive logging in VulkanRenderManager 2017-10-26 10:57:00 +02:00
Henrik Rydgård c4f0afc8a2 Clean out some obsolete code 2017-10-26 10:57:00 +02:00
Henrik Rydgård b5e06f3c7d VulkanRenderManager: BindPipeline should really be its own command. Tighten up some image transitions. 2017-10-26 10:57:00 +02:00
Henrik Rydgård 3e2b810c39 Improve synchronization, though there are very weird issues. Possibly need to run the swap chain from the thread that created it? 2017-10-26 10:57:00 +02:00
Henrik Rydgård c403edfa89 Avoid re-binding pipelines. 2017-10-26 10:57:00 +02:00
Henrik Rydgård 72a41cd524 Let's try a mutex. Doesn't completely solve the problem though.. 2017-10-26 10:57:00 +02:00
Henrik Rydgård d3672d9e57 Make sure not to begin and end the init command buffer on different threads. 2017-10-26 10:57:00 +02:00
Henrik Rydgård 48ac334f4f Vulkan: Don't forget to specify stencil load op in render passes 2017-10-26 10:57:00 +02:00
Henrik Rydgård 022657ebb3 This makes a little more sense, but still hangs (frameAvailable = true while stuck on condvar) 2017-10-26 10:56:59 +02:00
Henrik Rydgård c788dc896a Synchronization is HARD. need a rethink, methinks. 2017-10-26 10:56:59 +02:00
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 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