Stenzek
a5c2ea679d
TextureDecompress: Remove non-SSE code paths
2023-12-24 14:03:14 +10:00
Stenzek
31e9206fc0
Common: Purge unused macros
2023-12-24 14:03:14 +10:00
Stenzek
4bf7d2b2fe
Common: Remove macro checks for unsupported platforms
2023-12-24 14:03:14 +10:00
Stenzek
c8b051628f
Misc: Replace likely/unlikely with C++20 equivalents
2023-12-24 14:03:14 +10:00
Stenzek
76f36b780c
StringUtil: Replace StartsWith/EndsWith with C++20 equivalents
2023-12-24 14:03:14 +10:00
Stenzek
d73d698fd5
FileSystem: Purge GetDisplayNameFromPath()
...
Redundant function.
2023-12-24 14:03:14 +10:00
Stenzek
ade2cc8182
Path: Add RealPath()
2023-12-11 14:55:36 +10:00
Stenzek
b7aea5b726
SmallString: Add missing copy construct/assign operators
2023-12-11 01:28:34 +10:00
JordanTheToaster
cefcd843fc
Misc: Fix fmt errors
2023-12-01 20:59:18 +10:00
Stenzek
7ec57692b1
Qt: Remove QtNetwork dependency
2023-11-21 20:40:13 +10:00
Stenzek
15091cea54
Qt: Fix progress dialog cancelling
2023-11-21 20:40:13 +10:00
Stenzek
7715d122c7
HTTPDownloader: Add support for progress updates/cancelling
2023-11-21 20:40:13 +10:00
Stenzek
72145f4914
Common: Remove ThreadPool class
...
No longer needed.
2023-11-09 17:55:22 +00:00
Stenzek
7247a1e5a4
HTTPDownloaderCurl: Switch to multi/async API
2023-11-09 17:55:22 +00:00
Stenzek
c557ea1b6f
HTTPDownloader: Drop Common namespace
...
Annoying to type...
2023-11-09 17:55:22 +00:00
Stenzek
e9a4d9702c
Achievements: Use retryable client error status code
2023-11-09 17:55:22 +00:00
Stenzek
4aaf6ba69e
Common: Fix unused function warning
2023-10-11 19:15:58 +10:00
refractionpcsx2
88f8ef0244
Build: Fix up various warnings, increase variable readability
2023-10-10 20:39:54 +01:00
Stenzek
c8e0390aaf
MSBuild: Fix libpng warning
2023-10-10 18:01:30 +10:00
Stenzek
606cbb3883
System: Simplify memory allocation
2023-10-10 18:01:30 +10:00
Stenzek
377746f155
x86: Move dispatchers to recompiler code space
2023-10-10 18:01:30 +10:00
Stenzek
10b217e0c2
Image: Support loading webp files
2023-10-02 19:52:29 +10:00
Stenzek
a9959bcd62
CDVD: Report open errors to host
2023-10-01 17:46:26 +10:00
Stenzek
93a4e67813
Host: Remove resource read wrappers
...
No more wx, no need to abstract this.
2023-10-01 17:45:54 +10:00
Stenzek
25a3ea98bc
Timer: Add ResetIfNPassed()
2023-09-24 11:22:22 +10:00
Stenzek
5555e334af
FileSystem: Fix DeleteDirectory() on Unix
2023-09-24 11:22:22 +10:00
Stenzek
3c41c286c7
StringUtil: Add Ellipsise
2023-09-24 11:22:22 +10:00
Stenzek
bf9fbc46fd
SmallString: Fix new buffer size not getting set
2023-09-24 11:22:22 +10:00
Stenzek
824ef9a9d3
SmallString: Add end_ptr()
2023-09-24 11:22:22 +10:00
Stenzek
8a84d4812f
LRUCache: Use heterogeneous container
2023-09-24 11:22:22 +10:00
Stenzek
3a3a9af284
MSBuild: Generate qtbase translations like CMake
2023-09-17 16:57:58 +10:00
Stenzek
c9008bf78b
Error: Fix errno resolution on Win32
2023-09-17 16:57:58 +10:00
Stenzek
bd54729257
CMake: Simplify X11 dependencies
2023-09-16 19:32:13 +10:00
Stenzek
7b45e9296a
Qt: Add copy global settings/clear per-game settings
2023-09-05 12:32:37 +10:00
Stenzek
c16836e7c0
Misc: Drop stat compatibility calls
2023-09-05 12:32:23 +10:00
Stenzek
f8e1b9b11b
Common: Add SmallString class
2023-09-03 12:42:30 +10:00
Stenzek
a9b6f8976e
Build: Clean up optional components
2023-08-26 17:23:14 +10:00
Stenzek
8276054671
CI: Build Windows dependencies as part of workflow
2023-08-26 17:23:14 +10:00
Stenzek
220117f07c
MSBuild: Put all objects/libs together in build directory
2023-08-26 17:23:14 +10:00
Stenzek
2ae44ca493
Misc: Fix various warnings
2023-08-26 15:02:17 +10:00
Silent
be3ed181c1
SettingsInterface: Fix constness of a few methods
2023-08-10 01:26:06 +01:00
TellowKrinkle
a622e3bda6
Mac: Mark crash info as used so it doesn't get DCE'd
2023-08-09 21:34:38 +10:00
Connor McLaughlin
68ad3e8db4
FileSystem: Partial revert of c82f800
...
Mixing stdio and raw FD access is a bad thing, filelength() isn't going to return correct results when extending a file has been buffered.
2023-08-02 18:45:52 +10:00
Ty Lamontagne
6d2ba5c2d0
Common | TextureDecompress: Fix unused variable warning
2023-07-28 22:00:08 +01:00
Stenzek
eae29bb1f2
Common: Make __pagesize unsigned
2023-07-23 21:52:36 +10:00
Stenzek
9191e8ce91
Misc: Use std::bit_ceil()/std::has_single_bit()
2023-07-23 21:52:36 +10:00
Stenzek
2b4c7d12b6
Common: Merge MathUtils.h into BitUtils.h
2023-07-23 21:52:36 +10:00
Stenzek
088630a999
Misc: Replace bit_cast wrapper with std::bit_cast
2023-07-23 21:52:36 +10:00
Stenzek
d2a5cdcca7
Misc: Remove string map lookup wrappers
...
No longer needed.
2023-07-23 21:52:36 +10:00
Stenzek
7676a74f73
HeterogeneousContainers: Drop pre-C++20 path
2023-07-20 21:23:31 +10:00
Stenzek
ad0190d6ed
Build: Require C++20
2023-07-20 21:23:31 +10:00
Stenzek
296dcccd81
Misc: Fix a bunch of issues preventing C++20 compilation
2023-07-20 21:23:31 +10:00
Silent
c82f800794
FileSystem: Use _filelengthi64 to get the file size on Windows
2023-07-19 13:45:46 +10:00
Silent
240586875c
FileSystem: Make FILE* unique pointers use a functor deleter
2023-07-18 17:24:34 +01:00
charlesthobe
85d2ca626f
Common: Linux: fix potentially unsafe screensaver inhibitor
2023-07-17 20:11:32 +10:00
Stenzek
8524fbbaf9
GS/HW: Decompress replacement textures to get alpha min/max
2023-07-11 13:30:47 +01:00
Stenzek
db1e1bcc1f
CDVD: Rewrite ISO parser
2023-07-09 21:52:02 +10:00
Stenzek
a9a1af7307
FileSystem: Add IsValidFileName()
...
And associated tests.
2023-07-06 12:30:35 +10:00
Stenzek
3c408de5c9
Build: Disable exceptions in the compiler
2023-06-30 21:37:44 +10:00
Stenzek
adca796d94
Common: Remove SafeArray
...
And replace with std::vector.
2023-06-30 21:37:44 +10:00
Stenzek
732aa96656
Common: Remove AlignedBuffer
...
And replace its one use site (texture dumping).
2023-06-30 21:37:44 +10:00
Stenzek
6beaec8ba1
Common: Remove Exceptions
...
The satisfaction is immeasurable.
2023-06-30 21:37:44 +10:00
Stenzek
ab4592b8e9
Common: Add Error class
2023-06-30 21:37:44 +10:00
Stenzek
55e73bb4b9
MTGS: Convert to namespace
2023-06-25 12:54:14 +10:00
TellowKrinkle
8d27c32418
Updater:Mac: Delay launch of new application until the old one exits
...
Prevents duplicate dock icons
2023-06-24 22:28:56 +01:00
Stenzek
7c9c8e197c
Common: Replace MemsetFast routines with C memset
...
And associated cleanup.
On most compilers these days, it'll either inline the memset with vector
fills or rep stosq, or outline with a call to memset.
I trust the compiler is probably going to make a better decision here,
than manual SSE intrinsics.
Ends up a couple of percent faster in FMV decoding.
2023-06-22 19:11:57 +10:00
Stenzek
adcfca4db3
Qt: Localization support
2023-06-20 22:46:00 +10:00
Stenzek
03242a2953
Common: Move MemcpyFast routines to General.h
...
And add a trivially-copyable check, so nobody accidentially uses them
with non-POD types.
2023-06-16 18:26:28 +10:00
Stenzek
9613b43d50
Common: Purge SingleCoreAffinity
...
No longer used, never worked on Linux.
2023-06-16 18:26:28 +10:00
Stenzek
8a8e6c5d20
Common: Purge CPU frequency measurement
...
It's not accurate, and we can query the registry for the TSC frequency
for thread timers.
Also replaces InitCPUTicks() with a global constructor.
2023-06-16 18:26:28 +10:00
Stenzek
bca20c9e27
Common: Call dwmapi directly
2023-06-15 20:46:56 +10:00
Stenzek
1de3e0986e
Build: Remove unused pthreads.props
2023-06-15 20:46:56 +10:00
TellowKrinkle
a2c6e050d7
VMManager: MacOS CPU count detection
2023-05-27 04:57:50 +01:00
Stenzek
680affd1fe
Common: Add ByteSwap.h
...
Provides a C++23-like std::byteswap implementation.
2023-05-25 16:47:36 +01:00
Stenzek
884086ba76
StringUtil: Fix incorrect value of endptr
...
And add associated unit tests.
2023-05-24 12:24:47 +01:00
Stenzek
0f05967190
CommonHost: Purge and move functions to appropriate locations
2023-05-16 12:58:19 +01:00
Stenzek
ad0e469f87
Misc: Clang warning fixes
2023-05-16 12:58:19 +01:00
Stenzek
512d24cea6
Misc: More build system cleanups
...
Set UTF-8 source file format globally.
Set permissive/compliance mode globally.
Get rid of include of base 3rdparty directory, be explicit.
Get rid of duplicated properties.
Get rid of leftover plugin property files.
2023-05-16 12:58:19 +01:00
Stenzek
c57d8980a1
GS: Move Vulkan helpers from common to GS
2023-05-06 03:40:00 +01:00
Stenzek
0ed418834a
GS: Move OpenGL helpers from common to GS
2023-05-06 03:40:00 +01:00
Stenzek
083969a3d2
GS: Move DirectX helpers from common to GS
2023-05-06 03:40:00 +01:00
Ty Lamontagne
6740fff179
Profiling: Fix missing cast breaking VTune builds on Linux
...
Also remove now-pointless SW-JIT VTune code.
2023-05-06 03:15:46 +01:00
CharlesThobe
7aff4ee4cb
Misc: Minor cleanup
2023-05-04 14:39:14 +01:00
Stenzek
6736ef1d44
GS/Vulkan: Add exclusive fullscreen control option
2023-05-02 19:55:43 +01:00
CharlesThobe
9de152b8ee
Linux: implement DBus screensaver inhibitor
2023-04-30 19:18:53 +01:00
Stenzek
a5ed24ca88
Perf: Support instruction-level profiling with jitdump on Linux
2023-04-29 16:22:37 +01:00
Stenzek
b3697579c0
GS/Vulkan: Simplify GPU selection
...
Hopefully stops a crash on broken drivers.
2023-04-29 16:20:01 +01:00
Stenzek
befbf57191
GS: Refactor exclusive fullscreen yet again
...
Also acquire render window as late as possible.
Limits the duration that the main window isn't displaying anything.
2023-04-26 16:00:39 +01:00
Stenzek
b3a88d6ea7
Qt: Migrate to 6.5.0 on Windows
2023-04-25 21:53:30 +01:00
Stenzek
d646bbf5c1
GS/Vulkan: Prioritize VK_EXT_rasterization_order_attachment_access
...
.. over the ARM version. But continue to support both.
2023-04-15 20:09:48 +01:00
Stenzek
20ab5ed0fa
GS/Vulkan: Don't assume opaque composite alpha is supported
2023-04-15 20:09:48 +01:00
Stenzek
8590e390a2
GS/Vulkan: Don't enable geometryShader
2023-04-15 20:09:48 +01:00
Stenzek
7f7dd60587
GS/HW: VS expand instead of GS for DX/GL/Vulkan
2023-04-13 11:12:11 +01:00
Stenzek
5bc9d625e7
GL/StreamBuffer: Align CPU side fallback buffers
2023-04-13 11:12:11 +01:00
arcum42
60047e8029
common: Remove some unneeded includes.
2023-04-08 20:26:39 +01:00
arcum42
e37fff1213
common: Remove SafeList and SafeAllignedArray as unused.
2023-04-08 20:26:39 +01:00
Stenzek
f2229a0007
GS/OGL: Don't leak shader objects when compiling
2023-04-07 17:18:21 +01:00
Stenzek
398cf43782
GS: Combine HostDisplay with GSDevice
...
GS/DX11: Don't throw bad_alloc on surface creation fail
GS: Link device and host display construction/destruction
FullscreenUI: Replace HostDisplayTexture with GSTexture
GS: Purge HostDisplayTexture
GS: Move everything in HostDisplay to GSDevice
GS: Move ImGui rendering to GSDevice
GS: Get rid of reset/store API state
2023-04-06 08:48:07 +01:00
Stenzek
fcbc027abc
GS: Unify D3D device creation paths
...
Also makes Vulkan the device for Intel Arc GPUs.
2023-04-01 14:15:18 +01:00
Stenzek
65d78eff57
GS/HW: Sample depth buffer instead copying when safe
...
OpenGL and Vulkan only.
2023-03-30 21:55:50 +01:00