Commit Graph
26037 Commits
Author SHA1 Message Date
Henrik Rydgård 044dd03b32 Merge pull request #12254 from KentuckyCompass/qt-opengl-fix-core
Configure QT to get a higher version for opengl
2019-08-18 19:28:04 +02:00
KentuckyCompass 5955861865 configure QT to get a higher version for opengl 2019-08-17 21:15:29 -07:00
Henrik Rydgård 2857e0ffa0 Merge pull request #12251 from unknownbrackets/warnings
Warning fixes
2019-08-17 23:33:15 +02:00
Henrik Rydgård 90af3871df Merge pull request #12252 from unknownbrackets/bgaudio
UI: Respect loop info for menu music
2019-08-17 23:31:15 +02:00
Unknown W. Brackets fdc28b16fb UI: Respect loop info for menu music.
A good example for this is Wipeout Pure, which sounds much better when it
loops using the sample looping data.
2019-08-17 13:39:11 -07:00
Unknown W. Brackets 66687c2c82 Core: Fix a format type error. 2019-08-17 13:31:16 -07:00
Unknown W. Brackets 8d3a4fae8e iOS: Ignore gl3stubInit() on iOS, to avoid warnings.
It always returns true anyway.
2019-08-17 12:01:22 -07:00
Unknown W. Brackets 9f98f440c8 Vulkan: Check default case with an assert. 2019-08-17 12:01:22 -07:00
Unknown W. Brackets 3e51fc5a89 GPU: Avoid some unused var/func warnings. 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 1561f55255 Merge pull request #12250 from hrydgard/android-base-pointer-64-bit
Android: Get our base pointer in a saner way than YOLO, if possible.
2019-08-17 12:09:08 +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
Henrik Rydgård 7811b596b2 Rename "Immersive Mode" to Full Screen. We can reuse the FullScreen translation from desktop. Fixes #12229 2019-08-14 10:10:01 +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
Henrik Rydgård f52cc59b5b Merge pull request #12241 from Florin9doi/PowerSaveModeReceiver
Update PowerSaveModeReceiver
2019-08-13 23:11:16 +02:00
Florin9doi 18e7877526 Update PowerSaveModeReceiver 2019-08-13 21:00:36 +03:00
Henrik Rydgård 44cb991d8c Cleanup 2019-08-13 10:17:24 +02:00
Henrik Rydgård caa8f1a433 Android: NativeApp.Init: Log the device name. 2019-08-13 10:15:39 +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
Unknown W. Brackets aea42006d5 Merge pull request #12236 from hrydgard/vulkan-simple-optimizations
A few simple Vulkan optimizations
2019-08-12 20:51:34 -07:00
Henrik Rydgård d0a3410875 Typo fix 2019-08-13 00:22:47 +02:00
Henrik Rydgård 49e64f10d4 Minor code cleanup 2019-08-12 23:36:35 +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 ddb5208130 Vulkan: Reduce the amount of redundant stencil parameter sets 2019-08-12 23:19:07 +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
Henrik Rydgård 7f835d3301 MakeUnique.h in the CMakeLists.txt 2019-08-12 21:53:51 +02:00
Henrik Rydgård 825dac3e90 Merge pull request #12232 from CookiePLMonster/threadpool-improvements
Threadpool improvements
2019-08-12 11:46:40 +02:00
Silent 86a887d7b0 Init GlobalThreadPool in a thread safe manner 2019-08-11 14:03:54 +02:00
Silent 4da4e6a97a Start as many worker threads as actually used (used to start more) 2019-08-11 14:03:54 +02:00
Silent 1a992bf023 Store std::thread in worker thread class by value and explicitly start it up, and don't use shared_ptr in thread pools 2019-08-11 14:03:53 +02:00
Silent 34109afb2d Cleanup mutex usage in worker threads 2019-08-11 14:03:53 +02:00
Silent 400a6f3057 Remove 'started' bool from worker threads, as fixes for spurious wakeups made it obsolete 2019-08-11 14:03:53 +02:00
Silent 0639ffcfb5 Handle spurious wakeups on worker thread condition variables properly 2019-08-11 14:03:53 +02:00
Silent 6ac41a5767 Use move semantics for worker thread functors 2019-08-11 14:03:52 +02:00
Silent 1add9324a4 Clean up ThreadPool and WorkerThread constructors with C++11 features,
removes variable instantiation from constructor initializer lists
2019-08-11 14:03:52 +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ård 8643360438 Merge pull request #12231 from unknownbrackets/io-sharing
Windows: Allow write-only files to be read later
2019-08-10 18:19:45 +02:00
Unknown W. Brackets 761a9d321f Windows: Allow write-only files to be read later.
Fixes #11939, at least the hang described in that issue.  Seems to match
with how the PSP handles file locking.
2019-08-10 08:34:01 -07:00
Henrik Rydgård 3bc3f3e969 WASAPI: Add some missing error checks. May help #12081? (but will result in silence) 2019-08-09 10:04:09 +02:00
Henrik Rydgård 3b4e37145f Merge pull request #12227 from hrydgard/range-cull-aggressive
Vulkan/GL: Set all four coordinates to NaN instead of just W.
2019-08-09 00:09:51 +02:00
Henrik Rydgård 09b5546828 Apply the same Mali range culling "fix" in OpenGL. 2019-08-09 00:09:06 +02:00
Henrik Rydgård caabc9023f Vulkan: Set all four coordinates to NaN instead of just W. Fixes range culling on ARM. Fixes #11999. 2019-08-08 23:14:20 +02:00
Henrik Rydgård 59712eef92 Merge pull request #12224 from hrydgard/vulkan-barrier-fixes
Vulkan: Add missing barrier between multiple passes to the same target.
2019-08-08 16:02:30 +02:00
Henrik Rydgård 213e2ccefc Vulkan: Add missing barrier when rendering to a target that's already in COLOR_OPTIMAL layout.
Fixes #12215
2019-08-08 15:38:09 +02:00