Commit Graph

1275 Commits

Author SHA1 Message Date
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
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
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
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
Henrik Rydgård
3b0624ff9f Some changes and asserts. 2019-08-08 14:07:53 +02:00
Henrik Rydgård
ebe64c60e9 Vulkan: Improve the Metal Gear Acid 2 performance hack. 2019-08-08 11:49:35 +02:00
Cameron Cawley
ba7ea39a1c Move NKCodeFrom*.h into the relevant platform folders 2019-08-06 16:12:19 +01:00
Henrik Rydgård
75e2366a6d Vulkan: Actually fix #12202, an array was out of scope where it was used, causing garbage flags. 2019-08-01 17:46:46 +02:00
Henrik Rydgård
3d6bd6f0df Vulkan: Using VK_DEPENDENCY_BY_REGION on the backbuffer subpass causes tearing, let's not do it. Fixes #12202. 2019-08-01 14:56:58 +02:00
Unknown W. Brackets
c77f5da9ea Config: Don't save empty sections. 2019-07-14 15:07:13 -07:00
Unknown W. Brackets
ecf509c362 Config: Add game name to game-specific inis. 2019-07-14 15:07:03 -07:00
Unknown W. Brackets
c3ae97e237 Travis: Build Windows on Travis too. 2019-07-06 14:56:29 -07:00
Silent
2479427992
Windows: Properly check for hidden files when enumerating files 2019-07-02 19:17:52 +02:00
Henrik Rydgård
c5b9e9f718 Comment some confusing code 2019-06-25 21:37:40 +02:00
Henrik Rydgård
6cf97c4cee
Merge pull request #12123 from unknownbrackets/http-redirect
Support HTTP redirects in downloads
2019-06-24 12:28:09 +02:00
Henrik Rydgård
44685a7318
Merge pull request #12125 from unknownbrackets/debugger
Debugger: Fix subtexture readback crash
2019-06-24 06:52:27 +02:00
Unknown W. Brackets
3de796779c Debugger: Fix subtexture readback crash.
When the texture image is scaled, we don't properly know its size, so we
were allocating too small of a buffer.  Since this is only used for
debugging, let's just get the actual texture size.
2019-06-23 15:30:30 -07:00
Unknown W. Brackets
94e6950d48 http: Support redirects for load URL too.
Might as well, especially to keep old recent entries working.
2019-06-23 13:12:13 -07:00
Unknown W. Brackets
c5e2c0e6cd http: Support relative redirects too.
Per HTTP/1.1.
2019-06-23 12:22:10 -07:00
Unknown W. Brackets
17bc6a5a2d http: Support redirects for downloads. 2019-06-23 12:04:59 -07:00
Unknown W. Brackets
8c282db225 UI: Clear queued events on Event destruct.
May help a crash seen in #11890.
2019-06-23 11:13:14 -07:00
Unknown W. Brackets
65ac59021c Debugger: Fix connection in Firefox.
Firefox now requires HTTP/1.1 or higher, which is reasonable since 1.0 is
ancient.  The Upgrade response and WebSocket protocol handling are all
HTTP/1.1 safe, so let's just support both versions.
2019-06-22 22:09:05 -07:00
Henrik Rydgård
b8bde71efe Address feedback, delete some unused code. 2019-06-22 22:15:09 +02:00
Henrik Rydgård
ee294251c9 Fix the 270 degree rotation case 2019-06-21 11:58:41 +02:00
Henrik Rydgård
e943724905 Vulkan: Apply the desired pretransform when drawing to the backbuffer.
This should save a lot of memory bandwidth on mobile devices that can't
rotate images natively in the display engine. Fixes #12099.
2019-06-21 09:38:51 +02:00
Henrik Rydgård
eb3faf5370 Fix some further static analysis warnings 2019-06-18 01:08:25 +02:00
Henrik Rydgård
a0dc85a9d7 Fix a bunch of inconsequential uninitialized variables 2019-06-18 00:18:40 +02:00
driver1998
2db67e1705 TextDrawerUWP: oops, forgot to release the objects used. 2019-06-07 21:50:00 +08:00
driver1998
eb9581b43e UWP: fix && in English UI labels 2019-06-07 05:40:06 +08:00
driver1998
8fab38ecdd TextDrawerUWP based on DirectWrite 2019-06-07 05:20:21 +08:00
Silent
6639a550f1
Improve WordWrapper:
- When wrapping before word, left trim whitespaces to prevent newlines from starting indented
- Change lastLineStart_ to size_t to cut down on nasty typecasts
- Replace operator += with explicit call to append to make intent more clear and reduce memory allocations
2019-05-30 19:24:31 +02:00
Silent
bb2ba8086b
Improved Show in Folder:
- Not spawning cmd.exe anymore, rather using the same way Chromium does to spawn a shell window with a file focused
- Hid a nonfunctional "Show In Folder" button for UWP builds
2019-05-23 19:59:08 +02:00
Henrik Rydgård
efa1406d8f VS2017: Add hack to automatically select the newest installed Windows 10 SDK. VS2019 already does this by default if you specify 10.0.
Should hopefully fix the buildbot.
2019-05-19 15:23:25 +02:00
Cameron Cawley
8afc2b72ef Remove base/arch.h 2019-05-15 20:06:23 +01:00
driver1998
eb99044a4f Fix d3d11_loader on x86 2019-05-12 11:17:54 +08:00
driver1998
21d2008676 Use D3DCompiler_47.dll for D3D9 context. 2019-05-12 11:17:10 +08:00
Henrik Rydgård
a7ab5d5dba Oops, missed these two 2019-05-10 23:46:31 +02:00
Henrik Rydgård
ff65b813d9 Assorted warning fixes 2019-05-10 23:26:34 +02:00
Henrik Rydgård
2f26297062 Clean up some more ifdefs 2019-05-10 23:25:57 +02:00
Henrik Rydgård
20d666ff55 Remove DbgNew.h forced include in ARM debug builds, doesn't work for some reason. 2019-05-10 23:18:31 +02:00
Henrik Rydgård
1f40aa4828 Add WindowsSDKDesktopARM64Support to vcxproj files 2019-05-10 22:44:12 +02:00
Henrik Rydgård
22d9ab4dbe Fix #12023, accidental disabling of the GL backend on non-Windows ARM platform caused by #12013. 2019-05-09 23:59:29 +02:00