Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

[core] No pending requests for already requested images. #15864

Merged
merged 4 commits into from
Oct 28, 2019

Conversation

pozdnyakov
Copy link
Contributor

This PR fixes #15497 in a different way comparing to the reverted #15778: instead of coalescing requests we just do not treat requests for already requested images as pending (i.e. waiting to be dispatched to the client).

This is a safer approach, which obviates regressions like mapbox/api-gl#1404 (caused by the missing rendererFrontend.update() calls) - a dedicated unit test is added to verify the behavior.

@pozdnyakov pozdnyakov self-assigned this Oct 26, 2019
@pozdnyakov pozdnyakov added Core The cross-platform C++ core, aka mbgl bug labels Oct 26, 2019
@springmeyer
Copy link
Contributor

Tested on the testcase that previously hung - this is looking good ✅

@pozdnyakov
Copy link
Contributor Author

@springmeyer thanks a lot for your time on testing this!

so that processing for the corresponding tile does not suspend and
the rendering performance is not affected.
@pozdnyakov pozdnyakov force-pushed the mikhail_pending_image_requests branch from ff3af72 to 7ba3996 Compare October 28, 2019 10:24
@pozdnyakov pozdnyakov requested a review from a team October 28, 2019 10:24
@pozdnyakov pozdnyakov merged commit bdbb136 into master Oct 28, 2019
@pozdnyakov pozdnyakov deleted the mikhail_pending_image_requests branch October 28, 2019 11:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Core The cross-platform C++ core, aka mbgl rendering
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Image missing callback impacts rendering of other layers
3 participants