yuzu/src
Zephyron 14378f5c16 nvnflinger: Implement reference counting for binder objects
Implements proper reference counting for binder objects based on the official
documentation. This adds both weak and strong reference counting support to
the IBinder interface and its implementations (BufferQueueProducer and
BufferQueueConsumer).

The implementation follows the documented behavior where:
- type 0 affects weak references
- type 1 affects strong references
- During initialization: {addval=1, type=0} followed by {addval=1, type=1}
- For onFirstRef: {addval=1, type=1}
- For onLastStrongRef: {addval=-1, type=1}

Reference counters are implemented using std::atomic to ensure thread safety.

REFS: switchbrew.org/wiki/Nvnflinger_services#AdjustRefcount
2025-05-11 14:29:04 +01:00
..
android android: Fix battery temperature reading in EmulationFragment 2025-05-11 12:17:03 +01:00
audio_core Audio Core: Add support tags for compressor stats and volume reset 2025-05-11 12:17:03 +01:00
common common: Use consistent cache line size in RingBuffer 2025-05-11 12:17:03 +01:00
core nvnflinger: Implement reference counting for binder objects 2025-05-11 14:29:04 +01:00
dedicated_room Move time services to new IPC. 2024-01-27 03:30:09 +00:00
frontend_common Merge pull request #13047 from anpilley/import-firmware 2024-02-17 23:18:00 -05:00
hid_core Disabled problematic MSVC warning-to-errors 2024-12-20 15:24:57 +00:00
input_common Boost: Fix building against Boost 1.87.0 2024-12-20 15:24:58 +00:00
network Fixed multiplayer lobby list (thanks to anonymous contributor!) 2024-12-20 15:24:58 +00:00
shader_recompiler shader: Implement EmitInvocationInfo across all backends 2025-05-11 12:17:03 +01:00
tests Boost: Fix building against Boost 1.87.0 2024-12-20 15:24:58 +00:00
video_core service/nvdrv: Relax GPU validation and improve error handling 2025-05-11 12:18:43 +01:00
web_service Removed telemetry and anonymized SCM (git) strings 2024-12-20 15:24:57 +00:00
yuzu ui: Remove save states menu and unused help links 2025-05-11 14:29:04 +01:00
yuzu_cmd option to skip compiling the -cmd executable (#26) 2024-12-20 15:24:58 +00:00
.clang-format
CMakeLists.txt Remove "/DEBUG" flag from CMAKE_EXE_LINKER_FLAGS_RELEASE 2024-12-20 15:24:58 +00:00