Commit Graph
1436 Commits
Author SHA1 Message Date
Unknown W. Brackets e9bc6b159d UI: Use a larger buffer for realpath().
Hopefully will prevent crashes on Mac.
2018-08-26 11:38:19 -07:00
Henrik Rydgård 17de6ad2d8 Merge pull request #11313 from unknownbrackets/load-race
UI: Delay game config/discord until game info load
2018-08-23 11:01:44 +02:00
Unknown W. Brackets 6ef7e069d3 Core: Fix logging of SCEGE category. 2018-08-22 18:28:36 -07:00
Unknown W. Brackets 8a154dab70 Windows: Correctly buildfix Windows XP.
Should run properly now - dumb mistake.
2018-08-18 10:22:55 -07:00
Henrik Rydgård 6f173b9134 Harmonize some VS project settings. 2018-08-14 22:41:39 +02:00
Unknown W. Brackets a2530be18d Io: Fallback to long/full path on Windows XP. 2018-08-13 07:32:53 -07:00
Unknown W. Brackets 048afb6d24 UI: Resolve symlinks when adding things to recent.
See #11131.  This also normalizes paths, captialization, etc. as
necessary.
2018-08-12 08:25:10 -07:00
Henrik Rydgård e648b7d091 Vulkan validation: Ignore the depthreplacing error for now 2018-07-16 20:00:44 +02:00
Unknown W. Brackets 95f270778e Core: Allow toggle between 2 custom speeds.
In addition to virtual keys for each speed separately.
2018-06-23 10:59:18 -07:00
Unknown W. Brackets dc840c077d UI: Add a virtkey for holding alt speed.
Can be used for slow motion or fast motion (esp. if unthrottle is too
fast.)
2018-06-23 10:59:17 -07:00
Unknown W. Brackets fd8a0612fa SaveState: Initialize some memory that is saved.
At the very least, will help them compress better.  Also good not to leak
random memory.
2018-06-22 21:29:18 -07:00
Unknown W. Brackets 4aa4db611e Android: Allow desktop GL if available.
For example, on the SHIELD.
2018-06-18 00:37:52 -07:00
Unknown W. Brackets e4127890ec Vulkan: Fix some missing switch warnings.
Might as well prefer a virtual GPU over a CPU maybe...
2018-06-17 11:30:22 -07:00
Unknown W. Brackets 16b11138b4 SaveState: Use latest version if initial missing.
This may be useful for debugging or if we decide on a buffer between
versions.
2018-06-14 18:29:55 -07:00
Unknown W. Brackets 77131e737b Log: Use a separate field for the timestamp.
Better than parsing it since we already have the header separate.  Simpler
too.
2018-06-08 06:59:17 -07:00
Henrik Rydgård b037efdb55 If there are multiple Vulkan devices, show a setting to allow the user to choose. 2018-06-06 10:20:12 +02:00
Unknown W. Brackets f65481668c Vulkan: Fix a log formatting issue. 2018-04-14 10:47:06 -07:00
Unknown W. Brackets 7811c03c3b Vulkan: Report old allocations when enabled. 2018-04-06 21:43:18 -07:00
Unknown W. Brackets 3445a82567 Vulkan: Allow reusing memory more aggressively.
This causes allocated slabs to get reused more, which means more smaller
slabs are kept around.  However, it also reduces fragmentation.
2018-04-06 21:42:32 -07:00
Unknown W. Brackets 1c253ee271 Vulkan: Add code to track allocator usage info.
This way we can potentially debug leaks, if any.
2018-04-06 21:42:32 -07:00
Henrik Rydgård 6505f7762c GCC buildfix (can't use things without definitions in templates).
Could also have included base/logging.h but meh.
2018-03-27 16:28:33 +02:00
Henrik Rydgård d125fa00e1 Make sure the renderpass cache hashmap is never accessed from the main thread at runtime. Should help #10811 2018-03-27 14:45:41 +02:00
aliaspider 4113ba74f2 libretro: msvc build fix. 2018-03-24 22:47:12 +01:00
aliaspider 686717eb71 add missing include. 2018-03-24 11:40:16 +01:00
aliaspider ed12b95091 Windows/Vulkan: use the width and height arguments in ReinitSurface when
provided.
2018-03-24 11:09:55 +01:00
Henrik Rydgård da8d5fa280 Merge pull request #10767 from aliaspider/temp
fix cmake build for mingw and msvc.
2018-03-24 09:24:53 +01:00
aliaspider f94e9b1e74 set _WIN32_WINNT to 0x0601 in stdafx.h 2018-03-23 22:54:12 +01:00
Henrik Rydgård fb798cf6b2 Win32 textdrawer: Fix rare crash affecting Patapon 2 in savedata manager. See 10764. 2018-03-23 10:27:08 +01:00
aliaspider 54d9406713 fix mingw and msvc cmake builds. 2018-03-23 03:18:13 +01:00
aliaspider 8fcf93e462 vulkan: perform delete callbacks first since they can also queue
deletes.
2018-03-22 22:23:28 +01:00
aliaspider fc9a5ff65c prevent use-after-free. 2018-03-22 22:10:05 +01:00
aliaspider 2d1128db76 fix va_list reuse without a va_copy. 2018-03-22 22:04:49 +01:00
Henrik Rydgård f76e5e70a7 Enable FlushInstructionCache on UWP, it's been allowed finally.
Minor warning fixes, UWP buildfix

Retarget UWP project to latest SDK.
2018-03-20 20:30:33 +01:00
Henrik Rydgård 8f87a9f5c5 Vulkan: De-duplicate pipelines when storing cache
The new variety of renderpasses with different transitions causes
duplication. Hopefully drivers are smart enough to re-use work
between similar pipelines as much as possible...
2018-03-19 11:18:37 +01:00
Henrik Rydgård 216bab8a4a Vulkan: Fix a barrier to be more permissive, there's no outstanding writes from the GPU to wait for. 2018-03-18 09:57:17 +01:00
Henrik Rydgård 473c87273f Maybe slightly safer vulkan detection code. Might help #10732 2018-03-17 19:22:59 +01:00
Henrik Rydgård 08c3e13517 Do more detailed checks for Vulkan availability. Should hopefully solve #10729. 2018-03-17 11:36:16 +01:00
Henrik Rydgård 614cabb115 Implement pipeline/shader cache for Vulkan, to avoid shader compile stutters on second and subsequent runs.
The raw pipeline cache got pretty large. Instead, store IDs like GL.

There's still a disabled option to store the pipeline cache objects.
2018-03-16 21:03:03 +01:00
Henrik Rydgård 3cd92b4d90 Vulkan: Add a (disabled) facility to force image layouts to GENERAL, for debugging barrier issues 2018-03-15 16:23:23 +01:00
Henrik Rydgård cd75c46d47 Sort Vulkan function pointers by use. Might save us a cacheline or two during command submission.. 2018-03-12 20:05:50 +01:00
Henrik Rydgård 9f9903c02e Fixes to vulkan restart logic on Android. Should help #10696 2018-03-11 17:14:11 +01:00
Henrik Rydgård 1e940f4973 Buildfix, warning fixes 2018-03-01 13:50:56 +01:00
Henrik Rydgård ee752f5399 Some error handling and assert improvements, trying to understand #10662 2018-03-01 12:21:58 +01:00
Henrik Rydgård 83c82a5ebd GL: Fix depal issue where we forgot to set vp/scissor properly. Update some asserts. 2018-02-28 18:45:14 +01:00
Henrik Rydgård 39bf5b1f55 Minor naming and init cleanups in VulkanTexture 2018-02-26 10:50:29 +01:00
Henrik Rydgård eb73cc23cd Some log level changes. 2018-02-26 10:48:29 +01:00
Henrik Rydgård e1852321a0 Vulkan: Remove the old method of uploading images. 2018-02-25 12:15:29 +01:00
Henrik Rydgård eb014e8c6b Try to be more consistent when initializing vulkan structs. 2018-02-25 12:15:29 +01:00
Henrik Rydgård 5f8118b82b Separate T3DCreate* into its own header to avoid including Windows.h etc in some cases. 2018-02-25 10:27:59 +01:00
Unknown W. Brackets 0e2a586c1b Global: Fix some type comparison/shadow warnings. 2018-02-11 07:03:23 -08:00