-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Rendering artifacts with sdf icons #14809
Comments
I went as far back as /cc @tmpsantos |
Reopening because even though the icons are not treated as SDFs visually, the rendering performance is still impacted. See mapbox/mapbox-plugins-android#971 (comment). If the layer contains only SDF icons or only non-SDF icons the performance is fine, we're running into the issue again only when there's a mix of SDF and non-SDF icons on the same layer. |
@LukasPaczos should we split this issue into two? Issue with mixing sdf and non-sdf icons and applying color is one issue. Performance lag is another issue that should be investigated separately. @zmiao what do you think? |
I agree with @alexshalamov, the lagging issue could be handled separately, is it fine for you @LukasPaczos ? |
Sure, let me cut a new ticket 👍 |
Continuing in #15509. |
Refs mapbox/mapbox-plugins-android#971.
Whenever an SDF icon is laid out on the same tile (group of tiles?) as a non-SDF icon, the non-SDF becomes SDF as well and changes its color to the color of the SDF and has troubles rendering which can be seen in mapbox/mapbox-plugins-android#971 (lags when animating).
The reproducible case below - https://github.com/mapbox/mapbox-gl-native/tree/lp-sdf-artifacts-repro
Above uses maki, but also reproducible when explicitly adding a non-sdf icon:
The text was updated successfully, but these errors were encountered: