You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Various features render with wrong color on some Android GPUs #8385
@nitrag thank you for letting us know that the Samsung Galaxy J3 2016 has rendering issues. Do you know if older versions of the SDK rendered correctly on this device?
capturing from chat with @zugaldia that the issue only reproduces on one device and thus isn't a release blocker. Going to remove the label. This doesn't take away that this is a bug that should be looked into.
Can you share this Simple Map project I want to be sure it's exact. Is
there some kind of advanced debugging I can enable in case there is a style
error? I will do some further testing today.
with the snapshot build in case you don't want to go through the trouble of building the C++ code yourself. Feel free to share your style so we can try reproducing it with the style from OP.
A speculative fix has been merged to the release-ios-v3.5.0-android-v5.0.0 branch. Next step is to confirm it resolves the issue by testing a build from this branch on an affected device.
I'm not too Android savvy and wasn't successful building the SDK from source last time I tried. Can someone build it from source for me? Happy to test.
Activity
tobrun commentedon Mar 14, 2017
@nitrag thank you for letting us know that the Samsung Galaxy J3 2016 has rendering issues. Do you know if older versions of the SDK rendered correctly on this device?
[-]Android Map not displaying StyleUrl properly[/-][+]Samsung Galaxy J3 2016 Rendering Issue[/+]nitrag commentedon Mar 14, 2017
@tobrun I can confirm in a barebone app test project that the problem arose when moving to 5.0.0-beta3. Beta2 is working fine.
EDIT: BTW, Also worked fine 4.2.2 (stable).
tobrun commentedon Mar 16, 2017
capturing from chat with @zugaldia that the issue only reproduces on one device and thus isn't a release blocker. Going to remove the label. This doesn't take away that this is a bug that should be looked into.
tobrun commentedon Mar 16, 2017
I was able to purchase the European equivalent of the mentioned A&T phone,

though there isn't an Android 6.0.1 update for it yet:
tobrun commentedon Mar 16, 2017
Not able reproducing the render issue on this device:
@nitrag any more information on this to move forward? Are you aware of any other devices with this issue?
nitrag commentedon Mar 16, 2017
tobrun commentedon Mar 17, 2017
This was produced with the Simple Map Activity found in this repo, you can test with latest snapshot by replacing:
with the snapshot build in case you don't want to go through the trouble of building the C++ code yourself. Feel free to share your style so we can try reproducing it with the style from OP.
[-]Samsung Galaxy J3 2016 Rendering Issue[/-][+]Various features render with wrong color on some Android GPUs[/+]2 remaining items
jfirebaugh commentedon Mar 22, 2017
Given that the regression occurred between 5.0.0-beta2 and 5.0.0-beta3 and is GPU-specific, it was likely caused by 692f5e0.
jfirebaugh commentedon Mar 22, 2017
All color pragmas (e.g. here) need to use
highp.cc @anandthakker
Use highp for color attributes
Use highp for color attributes (#8496)
jfirebaugh commentedon Mar 22, 2017
A speculative fix has been merged to the
release-ios-v3.5.0-android-v5.0.0branch. Next step is to confirm it resolves the issue by testing a build from this branch on an affected device.nitrag commentedon Mar 22, 2017
I'm not too Android savvy and wasn't successful building the SDK from source last time I tried. Can someone build it from source for me? Happy to test.
zugaldia commentedon Mar 22, 2017
Thanks @nitrag. I ran the updated branch on one of the affected devices, a Galaxy S6 Edge API Level 22 (via Firebase). This is the current rendering:
And this was the rendering, on the same device, before the fix:
This seems to confirm the fix is working. Next, we're releasing 5.0.1 including just this fix.
nitrag commentedon Mar 22, 2017
Ok great! I'll confirm once I see 5.0.1 published.
zugaldia commentedon Mar 22, 2017
@nitrag 5.0.1 has been published #8501, could you check if you still see the rendering issue?
snowpong commentedon Mar 23, 2017
@zugaldia Fixes rendering issues for me. Attached screenshots #8501 (comment) (sorry, probably should have attached them here)
tobrun commentedon Mar 23, 2017
Thanks for confirming @snowpong, closing.
nitrag commentedon Mar 23, 2017
zugaldia commentedon Mar 23, 2017
@nitrag Thank you for checking!