diff options
| author | qhukz13 <v.onashchuk@gmail.com> | 2026-11-25 23:24:42 +0200 |
|---|---|---|
| committer | qhukz13 <v.onashchuk@gmail.com> | 2026-11-25 23:24:42 +0200 |
| commit | 6fd430ebc751e17bf2e29a560bc87c9b8d57e491 (patch) | |
| tree | 9046983ff832990baa2f3e171b7ac9af130b37d6 /runtime/src/pe_loader.cpp | |
| parent | c09ee75c0e194554a8746ddbd558092f52e929c3 (diff) | |
d3d12: deliver a released title range to every device's geometry views
leonida::geometry_writes previously kept one process-wide release queue, so when two devices held GeometryViews over the same title range, the first device to call drain_released() emptied the queue and the second kept its view and charged bytes forever.
Give each GeometryViews its own ReleaseQueue subscribed to leonida::geometry_writes on construction and unsubscribed on destruction. note_released() delivers each released range to every subscriber's queue under subscribers_mutex -> queue.mutex (keeping the 65536-entry collapse per queue), and take_released() drains only the caller's queue under queue.mutex.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions