eden-miror/src/common
xbzk 0e11fe8b5e
[video_core, settings] readback for nce invalidations (#4490) optimization and nuke toggles (#4502) (#4531)
- [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions).
- [x] I have read and followed the [AI Policy](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/AI.md).
- [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md) to the best of my ability.

-------------------

Follow up for #4490: Originally i was racing locks between dirty and clean invalidations, but +94% were clean so it was causing useless locks. Solutioin was to share locks between both.

P.S.: THIS IS INTENDED TO FIX RANDOM CRASHES IN UE, OBJECTIVELY REPRODUCIBLE IN ENDER MAGNOLIA IN ANDROID.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4531
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
Reviewed-by: Shinmegumi <shinmegumi@eden-emu.dev>
2026-10-26 17:24:28 +01:00
..
android [android] Replace Oboe audio with SDL3 audio (#4338) 2026-09-02 00:29:58 +02:00
container [common] Switch to boost::unordered_flat containers (#4326) 2026-08-31 02:58:09 +02:00
fs [common/fs] Preserve Windows roots during path sanitization (#4437) 2026-09-16 22:12:01 +02:00
net [common/net] fix linking errors due to C++11 ABI typedef mishandle (#4260) 2026-08-29 20:59:57 +02:00
windows
x64 [common] Switch to boost::unordered_flat containers (#4326) 2026-08-31 02:58:09 +02:00
address_space.cpp
address_space.h
address_space.inc [fmt] use {#:x} instead of 0x{:#x} (#4170) 2026-07-25 21:47:07 +02:00
adpf.cpp [core, gpu, threads] Multithreading refactor (#4254) 2026-08-08 04:39:47 +02:00
adpf.h [core, gpu, threads] Multithreading refactor (#4254) 2026-08-08 04:39:47 +02:00
algorithm.h
alignment.h [core/hle/kernel/svc] add missing CanContain check for {Un}MapProcessCodeMemory, remove 4KB align func (#4164) 2026-07-07 20:02:26 +02:00
announce_multiplayer_room.h
assert.cpp
assert.h
atomic_ops.h
bit_field.h [common] rework BitField and BitUtil, use concepts whenever possible (#4076) 2026-07-09 03:47:04 +02:00
bit_util.h [common] rework BitField and BitUtil, use concepts whenever possible (#4076) 2026-07-09 03:47:04 +02:00
bounded_threadsafe_queue.h
cityhash.cpp
cityhash.h
CMakeLists.txt [loader] add ZBIC (zstd variant) NSO decompression support for Switch 22.0+ (#4482) 2026-09-27 12:48:45 +02:00
common_funcs.h [common] rework BitField and BitUtil, use concepts whenever possible (#4076) 2026-07-09 03:47:04 +02:00
common_types.h
concepts.h
container_hash.h [common] Switch to boost::unordered_flat containers (#4326) 2026-08-31 02:58:09 +02:00
cpu_features.cpp [common] Fix RDTSC nanosecond conversion (#4422) 2026-09-17 19:50:19 +02:00
cpu_features.h [common] Fix RDTSC nanosecond conversion (#4422) 2026-09-17 19:50:19 +02:00
demangle.cpp [ci] Fix macOS "no type named 'free' in namespace 'std' (#4347) 2026-09-04 13:32:36 +02:00
demangle.h [common] use abi::__cxa_demangle for demangling using the system's glibcxx/libc++ (#3894) 2026-06-03 22:53:09 +02:00
device_power_state.cpp
device_power_state.h
div_ceil.h
dynamic_library.cpp Revert "[common/dynamic_library] fix AUR build error (#4156)" (#4157) 2026-07-02 22:07:37 +02:00
dynamic_library.h
elf.h
error.cpp [common/error] remove preprocessor macros for strerror_r gating (#4450) 2026-09-19 08:21:39 +02:00
error.h
fiber.cpp [common/core/dynarmic] Optimize page table allocations (#4219) 2026-09-09 21:35:49 +02:00
fiber.h
fixed_point.h
free_region_manager.h
hash.h
heap_tracker.cpp
heap_tracker.h
hex_util.cpp [fs] fix crash on '#' comments in pchtxt patches (#4124) 2026-07-25 21:20:04 +02:00
hex_util.h
host_memory.cpp [common/core/dynarmic] Optimize page table allocations (#4219) 2026-09-09 21:35:49 +02:00
host_memory.h [common/core/dynarmic] Optimize page table allocations (#4219) 2026-09-09 21:35:49 +02:00
httplib.h
input.h [common] Switch to boost::unordered_flat containers (#4326) 2026-08-31 02:58:09 +02:00
intrusive_list.h
intrusive_red_black_tree.h
literals.h
log_classes.inc
logging.cpp [common/logging] Fix long logs, remove clutter on Android logcat (#4310) 2026-08-30 08:24:00 +02:00
logging.h [common/logging] eliminate uneeded std::string{} allocations per each logging (#4273) 2026-08-23 22:37:17 +02:00
lru_cache.h [texture_cache] Fix a rare visual corruption under specific conditions (#3986) 2026-05-24 01:03:20 +02:00
lz4_compression.cpp
lz4_compression.h
math_util.h [hid_core, input_common] use std::numbers::pi{_v} instead of re-defining (#4160) 2026-07-07 20:13:33 +02:00
memory_detect.cpp
memory_detect.h
multi_level_page_table.cpp
multi_level_page_table.h
multi_level_page_table.inc
overflow.h
page_table.cpp [common/core/dynarmic] Optimize page table allocations (#4219) 2026-09-09 21:35:49 +02:00
page_table.h [common/page_table] unmark non-constexpr functions (#4433) 2026-09-17 05:51:23 +02:00
param_package.cpp
param_package.h [common] Switch to boost::unordered_flat containers (#4326) 2026-08-31 02:58:09 +02:00
parent_of_member.h
point.h
polyfill_thread.h
random.cpp
random.h
range_map.h
range_mutex.h
range_sets.h
range_sets.inc
ring_buffer.h [common] rework BitField and BitUtil, use concepts whenever possible (#4076) 2026-07-09 03:47:04 +02:00
scm_rev.cpp.in
scm_rev.h
scope_exit.h
scratch_buffer.h [common] Use std::make_unique_for_overwrite<T> in ScratchBuffer, remove polyfill (#4432) 2026-09-25 07:54:49 +02:00
settings.cpp [buffer_cache] Simplify GPU fence synchronization and remove GPU buffer readback (#4477) 2026-09-26 05:01:27 +02:00
settings.h [video_core, settings] readback for nce invalidations (#4490) optimization and nuke toggles (#4502) (#4531) 2026-10-26 17:24:28 +01:00
settings_common.cpp
settings_common.h
settings_enums.h [settings,qt] merge of "disable controller applet" toggle with "controller applet mode" picker (#4498) 2026-09-30 00:57:23 +02:00
settings_input.cpp
settings_input.h
settings_setting.h [*] Fix compilation on fmt 12.2.0 (#4107) 2026-06-19 22:50:46 +02:00
signal_chain.cpp
signal_chain.h
slot_vector.h [video_core] fix redundant resize-copy overload and just use default-init resize, to reduce stutter on Mario BP (#3874) 2026-05-29 03:28:47 +02:00
socket_types.h [net] support SCTP protocols (+all base FBSD protos), ban more NS domains (#3955) 2026-05-21 21:24:18 +02:00
sparse_large_vector.cpp [common/sparse_large_vector] correct Win32 exception handler (#4481) 2026-09-26 16:02:35 +02:00
sparse_large_vector.h [common/sparse_large_vector] correct Win32 exception handler (#4481) 2026-09-26 16:02:35 +02:00
stb.cpp [common/stb] remove unused I/O funcs from non-LTO builds, use common/stb.h on ns service (#4282) 2026-08-28 02:29:52 +02:00
stb.h [common/stb] remove unused I/O funcs from non-LTO builds, use common/stb.h on ns service (#4282) 2026-08-28 02:29:52 +02:00
steady_clock.cpp [common] remove presumed 'hot path' for QPC of 10MHz on SteadyClock::Now() (#4162) 2026-07-07 20:03:27 +02:00
steady_clock.h
stream.cpp
stream.h
string_util.cpp [*] basic in-house cpp linting (#4039) 2026-06-04 05:49:07 +02:00
string_util.h
swap.h [*] basic in-house cpp linting (#4039) 2026-06-04 05:49:07 +02:00
thread.cpp [core, gpu, threads] Multithreading refactor (#4254) 2026-08-08 04:39:47 +02:00
thread.h [core, gpu, threads] Multithreading refactor (#4254) 2026-08-08 04:39:47 +02:00
thread_queue_list.h
thread_worker.h [core, gpu, threads] Multithreading refactor (#4254) 2026-08-08 04:39:47 +02:00
threadsafe_queue.h
time_zone.cpp
time_zone.h
tiny_mt.h
tree.h
typed_address.h [common] rework BitField and BitUtil, use concepts whenever possible (#4076) 2026-07-09 03:47:04 +02:00
uint128.h
unique_function.h
uuid.cpp [hle] Fix crash on MK8D and SM3DW LDN (#4417) 2026-09-16 08:10:29 +02:00
uuid.h [hle] Fix crash on MK8D and SM3DW LDN (#4417) 2026-09-16 08:10:29 +02:00
vector_math.h [common] remove unused vector_math.h fluff (#4333) 2026-09-08 20:39:39 +02:00
zbic_compression.cpp [loader] add ZBIC (zstd variant) NSO decompression support for Switch 22.0+ (#4482) 2026-09-27 12:48:45 +02:00
zbic_compression.h [loader] add ZBIC (zstd variant) NSO decompression support for Switch 22.0+ (#4482) 2026-09-27 12:48:45 +02:00
zstd_compression.cpp [core] Support block-compressed NSZ and XCZ (#4552) 2026-10-26 17:23:18 +01:00
zstd_compression.h [core] Support block-compressed NSZ and XCZ (#4552) 2026-10-26 17:23:18 +01:00