dolphin-emulator/Source/Core
JosJuice 3feea108db DiscIO: Decrease RAM usage during zstd compression
By calling ZSTD_CCtx_setPledgedSrcSize, we can let zstd know
how large a chunk is going to be before which start compressing
it, which lets zstd avoid allocating more memory than needed
for various internal buffers. This greatly reduces the RAM usage
when using a high compression level with a small chunk size,
and doesn't have much of an effect in other circumstances.

A side effect of calling ZSTD_CCtx_setPledgedSrcSize is that
zstd by default will write the uncompressed size into the
compressed data stream as metadata. In order to save space,
and since the decompressed size can be figured out through
the structure of the RVZ format anyway, we disable writing
the uncompressed size by setting ZSTD_c_contentSizeFlag to 0.
2020-10-07 16:40:06 +02:00
..
AudioCommon Merge pull request #9055 from JosJuice/gc-sample-rate 2020-09-07 22:35:00 -04:00
Common MathUtil: Add Population (vs Sample) versions of Variance and StandardDeviation to RunningVariance. 2020-09-28 18:09:33 -05:00
Core WiimoteEmu: Increase Camera FOV constants to 42 by 31.5 degrees. 2020-09-28 18:09:34 -05:00
DiscIO DiscIO: Decrease RAM usage during zstd compression 2020-10-07 16:40:06 +02:00
DolphinNoGUI msbuild: fixup linking of discord-rpc 2020-08-22 16:17:50 -07:00
DolphinQt InputCommon: Improve input detection to produce buton combinations. 2020-09-25 22:51:32 -05:00
InputCommon Merge pull request #9120 from JosJuice/controller-defaults 2020-09-29 18:38:11 -04:00
MacUpdater Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
UICommon Android: Only allow conversion when appropriate 2020-09-16 18:48:25 +02:00
UpdaterCommon msbuild: re-enable standalone vcxproj processing 2020-08-22 16:17:50 -07:00
VideoBackends VideoBackends: Disable GPU Texture Decoding under MoltenVK 2020-09-07 17:28:05 -04:00
VideoCommon FramebufferManager: Fix EFB readbacks with MSAA on 2020-09-25 20:58:02 +10:00
WinUpdater msbuild: re-enable standalone vcxproj processing 2020-08-22 16:17:50 -07:00
CMakeLists.txt WinUpdater: Add CMakeLists.txt 2019-05-08 23:59:04 +02:00