mirror of
https://git.vladimir.cc/vladimir/ewsdr.git
synced 2026-08-25 19:45:09 +00:00
55d5bf01cf718620f419cdd80280262d40f93573
WaterfallView: drop per-frame TLazIntfImage + LoadFromIntfImage (device bitmap recreation + full pixel-format conversion every frame). Write pixels directly into the bitmap via BeginUpdate/ScanLine like SpectrumView already does, with platform-native byte order (ARGB on Cocoa, BGRA elsewhere). Replace per-pixel float colorization with a 512-entry dB->color LUT rebuilt only when WfLow/WfHigh/theme change beyond a small threshold. Turn the bitmap itself into a ring buffer: each frame builds a single new row and writes one ScanLine; scrolling is done at paint time via two CopyRect calls. Removes both full-frame passes per frame (image memmove + buffer->bitmap copy), cutting per-frame cost from O(W*H) to O(W). TX mode preserved by leaving out-of-span columns untouched in the row buf. SpectrumView: rewrite the per-frame alpha-restore pass from a strided per-byte loop to a sequential per-dword OR with the alpha mask (bit-identical output, sequential memory access). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…
…
…
Languages
Pascal
96.4%
Python
2.9%
Shell
0.6%