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

[core] Switch back to a more compact line attributes layout #14851

Merged
merged 2 commits into from
Jun 10, 2019

Conversation

mourner
Copy link
Member

@mourner mourner commented Jun 5, 2019

A port of mapbox/mapbox-gl-js#8306. Addresses performance regression introduced when fixing #7583. Switches from 12 bytes per line vertex back to 8 bytes.

@tobrun
Copy link
Member

tobrun commented Jun 5, 2019

Before merging I would love to run this PR against a large pool of devices on AWS Device Farm to check for any regressions.

@mourner
Copy link
Member Author

mourner commented Jun 5, 2019

@tobrun that would be great if it's not too costly/time-consuming, but I don't expect any regressions on devices other than those using Broadcom VideoCore IV GPU specifically, e.g.:

  • Samsung Galaxy Trend Plus (GT-S7580)
  • Samsung Galaxy Grand Neo (GT-I9060I)
  • Samsung Galaxy Core Plus (SM-G3500)
  • Raspberry Pi 3

@tobrun
Copy link
Member

tobrun commented Jun 7, 2019

Ran a test on Samsung Galaxy Grand Neo and a bunch of other devices on AWS Device Farm, no issues found.

Copy link
Contributor

@astojilj astojilj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

root cause is not in code anymore #7583 (comment)
IMHO safe to merge already.

@mourner mourner merged commit 6262b83 into master Jun 10, 2019
@mourner mourner deleted the pack-normals-again branch June 10, 2019 19:27
@friedbunny friedbunny added Core The cross-platform C++ core, aka mbgl needs changelog Indicates PR needs a changelog entry prior to merging. performance Speed, stability, CPU usage, memory usage, or power usage rendering labels Jun 13, 2019
@friedbunny friedbunny removed the needs changelog Indicates PR needs a changelog entry prior to merging. label Jun 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Core The cross-platform C++ core, aka mbgl performance Speed, stability, CPU usage, memory usage, or power usage rendering
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants