Commit Graph
1570 Commits
Author SHA1 Message Date
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årdandGitHub 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årdandGitHub 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årdandGitHub 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årdandGitHub 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årdandUnknown W. Brackets 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årdandUnknown W. Brackets 9ed66001c6 Use a plain compute shader for RGBA8888 texture uploads, as a proof of concept. 2019-09-29 10:27:50 -07:00
M4xwandUnknown W. Brackets 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årdandGitHub 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årdandGitHub 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. BracketsandGitHub 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
Henrik Rydgård 44cb991d8c Cleanup 2019-08-13 10:17:24 +02:00
Henrik Rydgård 8788c1e678 Vulkan: Simple blacklist of device names that are not allowed to check for Vulkan. Will help #12093. 2019-08-13 09:37:55 +02:00
Henrik Rydgård f4d348ca0c Micro-optimize the Vulkan loader: Load more device-specific function pointers to avoid a bounce in the device loader, reorder things a little. 2019-08-12 23:24:40 +02:00
Henrik Rydgård cf06b4a947 Vulkan: Image views: The driver is probably smart enough to recognize a no-swizzle, but let's use the proper method. 2019-08-12 23:09:47 +02:00
Silent 86a887d7b0 Init GlobalThreadPool in a thread safe manner 2019-08-11 14:03:54 +02:00
Silent cb99f65c96 Add MakeUnique.h so make_unique is available without C++14
Includes make_unique from C++14 and make_unique_default_init from C++20,
because it doesn't require compiler support
2019-08-11 14:03:16 +02:00
Henrik RydgårdandUnknown W. Brackets f65a71d6d8 Compat: Option to use accurate dotprod for VMMUL.
Eliminates Tekken 6 leg shaking.
2019-08-05 11:44:52 -07:00
Henrik RydgårdandGitHub a49a0fc076 Merge pull request #12177 from unknownbrackets/ui-fullscreen
UI: Allow custom button to toggle fullscreen
2019-07-15 22:03:55 +02:00
Henrik RydgårdandGitHub eeb3491214 Merge pull request #12176 from LunaMoo/mouseImprovements
Mouse improvements
2019-07-15 22:01:12 +02:00