| 4168 | } |
| 4169 | |
| 4170 | void SpectrumWidget::resetGpuResources() |
| 4171 | { |
| 4172 | #ifdef AETHER_GPU_SPECTRUM |
| 4173 | // On macOS/Windows, the GPU surface doesn't survive reparenting — tear |
| 4174 | // down old pipelines so initialize() rebuilds them for the new window. |
| 4175 | // On Linux (OpenGL), a simple update() is sufficient (#1240). |
| 4176 | #ifndef Q_OS_LINUX |
| 4177 | releaseResources(); |
| 4178 | #endif |
| 4179 | #endif |
| 4180 | if (!m_shutdownPrepared) { |
| 4181 | update(); |
| 4182 | } |
| 4183 | } |
| 4184 | |
| 4185 | // Horizontally reproject a waterfall image from one frequency frame |
| 4186 | // (oldCenter/oldBw) to another (newCenter/newBw). Overlapping spectrum is |
no outgoing calls
no test coverage detected