osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.58k stars 1.01k forks source link

Opengl: osmand not showing text for note and fixme tags #14784

Closed Nine-Tailed closed 1 year ago

Nine-Tailed commented 2 years ago

Description

When opengl is enabled, osmand does not show or very rarely shows text for note and fixme tags.

with opengl

without opengl

Your Environment

OsmAnd Version: OsmAnd~ 4.3.0#13632mqta, Дата выпуска: 2022-07-07 Android version:12 Device model: poco f3

Zirochkabila commented 2 years ago

4.3.0#13634mqta, released: 2022-07-08 Reproduced

ivanPyrohivskyi commented 2 years ago

Add to syntetic test rendering

xmd5a2 commented 2 years ago

Legacy: Screenshot_2022-07-27_10-21-16

OpenGL: Screenshot_2022-07-27_10-21-31

ivanPyrohivskyi commented 2 years ago

Issue 1. with Fixme is fixed at https://github.com/osmandapp/OsmAnd-core/pull/354/files#diff-b5705be9d66d523c151bdaf0fd89ce434a095c782508c20688f9a56739bab165R2265 ( 1 line) but it causes another issue.

Issue 2. with Assert Need add filtering by textOrder (RasterizedSymbol order) and intersection by intersectionBBox. https://github.com/osmandapp/OsmAnd-core/pull/354 In this draft crash in QuadTree inserting, crash in https://github.com/osmandapp/OsmAnd-core/blob/4e1dbfa6ddb6a5c46461f2c968516787582fdb0a/include/OsmAndCore/SharedResourcesContainer.h#L379

Better to realize such filtering in AtlasMapRendererSymbolsStage

ivanPyrohivskyi commented 1 year ago

resources/rendering_styles/osmassistant.addon.render.xml OSMMapperAssistant...="true"

dmpr0 commented 1 year ago

Review

Android iOS
vshcherb commented 1 year ago

Moved to another issue