Commit graph

1579 commits

Author SHA1 Message Date
Henrik Rydgård
fa8968f5c6
Merge pull request #12660 from unknownbrackets/frame-latency
GPU: Add setting to control inflight frame usage
2020-03-02 00:16:48 +01:00
Unknown W. Brackets
a91e206926 GPU: Add setting to control inflight frame usage. 2020-03-01 06:21:27 -08:00
Henrik Rydgård
0da04f3694 Vulkan: Support devices that don't properly support 16-bit texture (like MoltenVK).
Fixes #12615.

Will make finishing #10654 worthwhile.
2020-03-01 14:07:13 +01:00
Henrik Rydgård
2ec82951a0
Merge pull request #12659 from unknownbrackets/vsync
Support vsync in all hardware backends, support runtime update
2020-03-01 09:52:14 +01:00
Unknown W. Brackets
2a3fd05651 Vulkan: Present using FIFO for vsync.
This allows the setting to be changed at runtime in Vulkan too.

Should help #10105.
2020-02-29 22:48:59 -08:00
iota97
f47ac2ee2c Toggle mute button 2020-02-25 12:26:23 +01:00
Filippo Scognamiglio
58f6426167 Remove unused import. 2020-02-03 22:17:27 +01:00
Filippo Scognamiglio
c00ce91a2a Use System_GetPropertyInt(SYSPROP_SYSTEMVERSION to retrieve version. 2020-02-03 22:10:47 +01:00
Filippo Scognamiglio
f514852791 Use ASharedMemory api instead of direct access to /dev/ashmem which is deprecated. 2020-02-03 20:57:34 +01:00
Sergei Trofimovich
66ff2d8a4a Common/Hashmaps.h: add missing <stdint> include
On gcc-10 the build fails as:

```
[ 51%] Building CXX object CMakeFiles/Core.dir/GPU/Null/NullGpu.cpp.o
In file included from ../GPU/Common/DrawEngineCommon.h:24,
                 from ../GPU/Null/NullGpu.cpp:18:
../Common/Hashmaps.h:11:7: error: 'uint32_t' does not name a type; did you mean 'u_int32_t'?
   11 | const uint32_t hashmapSeed = 0x23B58532;
      |       ^~~~~~~~
      |       u_int32_t
```

This happens due to improved transitive include hygiene on
gcc-10 headers. The change includes <cstdint> to pull in
'uint32_t' typedef.

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2020-01-25 17:59:53 +00:00
李通洲
7cd60549dd
Initial support for vulkan on macOS ( MoltenVK ) 2020-01-20 14:42:40 +08:00
Henrik Rydgård
96e7281b20
Merge pull request #12572 from shenweip/Capture_Win
Add camera support for windows.
2020-01-15 20:03:10 +01:00
shenweip
d1e354ce04 Improve compatibility.
Don't implemente on vista and UWP,they don't have a full support for this.
2020-01-14 17:15:11 +08:00
Henrik Rydgård
52156ec4e5
Merge pull request #12550 from unknownbrackets/win-long-path
Attempt support for Windows long paths
2020-01-11 23:32:38 +01:00
Henrik Rydgård
a04720e37e Don't use the MAP_32BIT flag on any platform. 2020-01-04 21:54:25 +01:00
Henrik Rydgård
d9b6ab83cf Mac: MAP_32BIT is no longer supported in Catalina and breaks. We don't need it anymore anyway. Fixes #12495. 2020-01-04 21:00:15 +01:00
Unknown W. Brackets
46464d2722 Windows: Resolve module/full paths for long paths. 2020-01-04 09:02:10 -08:00
Henrik Rydgård
46447c9e90 Correct the wrong GL DataFormat enums 2019-10-24 23:01:45 +02:00
Henrik Rydgård
0b17dd04e6
Merge pull request #10393 from hrydgard/compute-upload
Vulkan: Texture upload through compute, experimental texture scaling too
2019-10-08 09:11:25 +02:00
Henrik Rydgård
8e44230d70
Merge pull request #12394 from unknownbrackets/remote-iso
Allow pinning URLs to game browser
2019-10-07 20:04:40 +02:00
Unknown W. Brackets
78571b8e37 http: Don't treat http:// as a relative path. 2019-10-06 08:30:39 -07:00
Unknown W. Brackets
be5d93d5f1 Vulkan: Compile compute shaders only if enabled. 2019-09-30 00:39:00 -07:00
Unknown W. Brackets
8524dbdf13 Vulkan: Check coherent bit. 2019-09-29 10:53:00 -07:00
Henrik Rydgård
a355f49c91 Also experiment with a "copy shader" that just does raw data manipulation into GPU local memory, then copies to image from there. 2019-09-29 10:39:12 -07:00
Henrik Rydgård
9ed66001c6 Use a plain compute shader for RGBA8888 texture uploads, as a proof of concept. 2019-09-29 10:27:50 -07:00
M4xw
15a9a0ac8f Switch: Cleanup some includes.
Disable dlopen and tty checks too.
2019-09-28 09:22:38 -07:00
Henrik Rydgård
1e20024a15 Vulkan: Just some extra logging. 2019-09-17 09:28:24 +02:00
Henrik Rydgård
2439c3efb1
Merge pull request #12306 from hrydgard/mali-driver-version-detection
Improve Mali driver version detection
2019-09-04 22:45:34 +02:00
Henrik Rydgård
025a9f4dae Improve Mali driver version detection 2019-09-04 21:46:07 +02:00
Henrik Rydgård
6ff110d092 Create a default keymap for the MOQI:I7S gamer phone (with builtin controls) 2019-09-03 00:02:57 +02:00
Henrik Rydgård
6ae18c27f4 Vulkan/PowerVR: Make another blind fix attempt for #12296. Can't find my PowerVR device :/ 2019-09-02 19:06:29 +02:00
Henrik Rydgård
95367b34c9 Vulkan: Even more logging in VulkanMayBeAvailable. 2019-09-02 18:15:01 +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
5847bf3201 Attempt to work around the PowerVR bug again (pretransform undid the old workaround in landscape). See #12276 2019-09-01 18:23:02 +02:00
Henrik Rydgård
1d528d6f3b Linux: Port the proper memory base finding over to MemArenaPosix.cpp.
Who knows, might fix some crashes.
2019-09-01 17:10:13 +02:00
Henrik Rydgård
88612d1d30 Oops, fix the last commit, it got a little restrictive. 2019-09-01 16:10:28 +02:00
Henrik Rydgård
515bbd28fc VulkanMaybeAvailable: Bail earlier in some cases where there's no surface extension. 2019-09-01 15:39:33 +02:00
Henrik Rydgård
5fcac1a9e2 Vulkan: Disable some bad validation. Things are right and work fine. 2019-08-21 10:23:36 +02:00
Henrik Rydgård
19a443819b Bugfixes to VK gpu profiling. Properly get the valid bits. 2019-08-21 09:02:40 +02:00
Antx64
c398da48ac Fixes delete button for downloaded games from homebrew store in UWP 2019-08-19 23:37:14 -04:00
Unknown W. Brackets
9f98f440c8 Vulkan: Check default case with an assert. 2019-08-17 12:01:22 -07:00
Henrik Rydgård
b80988a4eb
Merge pull request #12245 from CookiePLMonster/open-ini-fix
Simplify openIniFile to use ShellExecute
2019-08-17 12:25:19 +02:00
Henrik Rydgård
06facfc567 Android: Get our base pointer in a saner way than YOLO, if possible. Should help #12249. 2019-08-17 11:52:44 +02:00
Silent
abdf685ac9
Simplify openIniFile to use ShellExecute so .ini files get opened in an associated text editor
This is safe, because by default .ini files are associated with Notepad
2019-08-15 16:25:16 +02:00
Henrik Rydgård
3356f94029 More extreme paranoia in VulkanMaybeAvailable 2019-08-15 11:49:15 +02:00
Henrik Rydgård
c7ae0ed4bf Vulkan: Re-enable the blacklist. 2019-08-15 09:51:44 +02:00
Henrik Rydgård
61e20d72cf Vulkan: On Android, only try to load libvulkan.so, not libvulkan.so.1. Plus more paranoia. 2019-08-15 09:50:42 +02:00
Henrik Rydgård
84dece9d96 VulkanMayBeAvailable: Add more logging, disable blacklist check for testing (see #12093) 2019-08-15 09:35:13 +02:00
Henrik Rydgård
5d08f9fcba Vulkan loader: Fix the SHIELD Tablet blacklist string. 2019-08-15 09:23:47 +02:00
Unknown W. Brackets
9f694afcc3
Merge pull request #12237 from hrydgard/vulkan-device-name-blacklist
Vulkan: Simple blacklist of device names that are not allowed to check for Vulkan
2019-08-13 19:03:20 -07:00