Commit graph

21 commits

Author SHA1 Message Date
Henrik Rydgård
ffd5e57a20 Vulkan: Don't use multithreaded rendering if frames-in-flight is set to 1
It has no benefit, and loses by a few percent in simple benchmarking.
2023-08-01 21:08:07 +02:00
Henrik Rydgård
b118e25b6a Vulkan: Make multithreaded rendering an option.
Multi-threaded rendering is good for smoothing out performance spikes
and increasing performance on low-power devices. However, the way we use
it it doesn't benefit latency (input lag) at all, rather the opposite.

So make it an option.
2023-07-23 22:06:01 +02:00
Eric Warmenhoven
712e3b9d9c Fix vulkan mac libretro crash due to not creating the surface 2023-01-31 12:14:55 -08:00
Henrik Rydgård
242efba6f7 Remove splitSubmit setting. Now we submit init commands before the acquire. 2022-09-17 01:07:30 +02:00
Stuart Kenny
c0e61c9658 Add review suggestion. 2021-11-25 16:03:23 +00:00
Stuart Kenny
d609a7c8bf Destroy backbuffer when shutting down vulkan conext. 2021-11-25 15:32:44 +00:00
Stuart Kenny
6882070df2 Fix crash on close content after cached GPU pointer cleanup. 2021-11-17 20:33:44 +00:00
Stuart Kenny
825a84a5d1 Wire inflight frames config setting to render managers. 2021-09-11 19:05:34 +01:00
Stuart Kenny
d88fec8950 Decouple Vulkan context object destruction from retroarch's ContextDestroy call 2021-09-10 20:38:52 +01:00
Conrad Kreyling
e3540ccd17 First pass on using Display KHR, needs proper init flags 2020-12-16 13:15:39 -05:00
Henrik Rydgård
dffc36b854 Get Vulkan going again with libretro. Rendering is the wrong size and crashes on exit, but it's a start.
Only tested on Windows.
2020-10-11 19:06:09 +02:00
Henrik Rydgård
0e3a84b4a8 Move most GPU things to Common.
It works after the move, on Windows and Android at least.

Deletes the D3DX9 shader compiler loader, which was not used.
2020-10-04 23:39:02 +02:00
Henrik Rydgård
ff8148dd92 Move native/util, native/data and native/i18 to Common/Data.
Also move colorutil.cpp/h

linking build fix experiment

Delete a bunch of unused CMakeLists.txt files

CMakeLists.txt linking fix

Don't include NativeApp.h from any headers.

Android.mk buildfix

Half of the UWP fix

Buildfix

Minor project file cleanup

Buildfixes

Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
Henrik Rydgård
1897eed9b4 More buildfixes 2020-07-18 21:43:13 +02:00
Henrik Rydgård
7610220b30 Vulkan: Prepare for adding a second init path for VulkanContext.
Will eventually be used for libretro.
2019-09-01 22:21:19 +02:00
Henrik Rydgård
6f19964135 Also buildfix for libretro 2019-01-26 12:20:09 +01:00
Unknown W. Brackets
b4496f1975 Core: Move config enums to separate file.
These are a bit strewn about and there are constants that aren't
consistently used, which just adds confusion.
2018-06-23 10:59:18 -07:00
aliaspider
4202ae58bd Libretro: style nits. 2018-03-26 17:37:34 +01:00
aliaspider
5a9ce3bc19 Libretro: set cache_context to true, fixes GL and D3D11 context reset. 2018-03-26 17:21:11 +01:00
aliaspider
d1711c5aa4 nits. 2018-03-24 13:39:05 +01:00
aliaspider
c4f7790618 Libretro port. 2018-03-24 12:44:53 +01:00