Skip to content

Merge pull request #325 from moagrius/release/2.2.0

Compare
Choose a tag to compare
@moagrius moagrius released this 10 Aug 01:29
· 80 commits to master since this release

Improved rendering strategy. This should render more predictably, more consistently, and with much less memory consumption. Instead of layered Views, all tiles are drawn to a single Canvas; additionally tiles from previous levels are compared to existing draw operation to determine if any pixels of the previous tile will be seen (e.g., an as-yet rendered tile from the most current level; a partially opaque tile from the current level, etc).

Some APIs have been deprecated, most notably shouldRecycleBitmaps - bitmaps are always recycled now.

Other changes should be largely internal and not noticed by most users, and should generally considered to be non-breaking, however some changes could be noticed (for example, TileCanvasViewGroup no longer has TileCanvasView children - or any children - so if an existing app uses TileView.getTileCanvasViewGroup().getChildAt(0), the result would now be null.

Changes that could be considered breaking:

  • TileCanvasView has been removed
  • TileCanvasViewGroup is no longer extends ScalingLayout, or implement TileCanvasView.TileCanvasDrawListener
  • Tile.stampTime is deprecated and now a no-op