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

[android] Reuse Bitmap, Paint & Canvas instances in LocalGlyphRasterizer #12488

Merged
merged 1 commit into from
Jul 27, 2018

Conversation

themics
Copy link
Contributor

@themics themics commented Jul 26, 2018

Closes #12421 (Re-open of #12434)

  • Make LocalGlyphRasterizer.drawGlyphBitmap() non-static
  • Store and reuse Bitmap, Paint & Canvas instances

@tobrun
Copy link
Member

tobrun commented Jul 26, 2018

@themics would you be able to rebase against master so it includes #12489?
Thanks again for the contribution and your patience to get this merged!

@tobrun tobrun requested a review from ChrisLoer July 26, 2018 09:59
@tobrun tobrun added the Android Mapbox Maps SDK for Android label Jul 26, 2018
@tobrun tobrun modified the milestones: android-v6.4.0, android-v6.5.0 Jul 26, 2018
Copy link
Contributor

@ChrisLoer ChrisLoer left a comment

Choose a reason for hiding this comment

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

Looks good pending rebase on master for the latest build fixes. cc @ivovandongen

- Make LocalGlyphRasterizer.drawGlyphBitmap() non-static
- Store and reuse Bitmap, Paint & Canvas instances
@themics themics force-pushed the android-localglyphrasterizer-reusing branch from c467f80 to e738f28 Compare July 27, 2018 03:34
@themics
Copy link
Contributor Author

themics commented Jul 27, 2018

@tobrun Done!

@tobrun tobrun merged commit 37bbed5 into mapbox:master Jul 27, 2018
@themics themics deleted the android-localglyphrasterizer-reusing branch July 30, 2018 04:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants