[core] prevent render thread from waking up unneeded on still rendering
- No longer sends a update message to the render frontend when rendering in still mode only to shortcut it in the renderer. This prevents unneeded render passes in qt.
This commit is contained in:
committed by
Ivo van Dongen
parent
5b3ebc4a24
commit
d7bc36db6f
@@ -85,11 +85,6 @@ void Renderer::Impl::setObserver(RendererObserver* observer_) {
|
||||
|
||||
void Renderer::Impl::render(const UpdateParameters& updateParameters) {
|
||||
if (updateParameters.mode != MapMode::Continuous) {
|
||||
// Don't load/render anyting in still mode until explicitly requested.
|
||||
if (!updateParameters.stillImageRequest) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Reset zoom history state.
|
||||
zoomHistory.first = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user