summaryrefslogtreecommitdiff
path: root/src/mbgl/algorithm/update_renderables.hpp
Commit message (Collapse)AuthorAgeFilesLines
* Refactor tileCover to support lod tilesMikko Pulkki2020-04-061-9/+9
|
* [core] Add setMaxOverscaleFactorForParentTilesAlexander Shalamov2020-04-011-1/+8
|
* [core] don't break ascent in the overscaled tile phaseKonstantin Käfer2018-09-211-5/+4
| | | | We optimize our updateRenderable algorithm by breaking ascent when we've already checked a certain tile. So far, we've compared the UnwrappedTileIDs, but they don't include the overscale component. When ascending through overscaled tile IDs, we've stopped the ascent too early, when we should've kept the search going.
* Support TileJSON bounds property (#10701)Asheem Mamoowala2018-01-051-1/+5
| | | | | | | | * [core] Parse TileJSON bounds property * [core] Add TileRange and LatLngBounds::contains(CanonicalTileID) Move LatLngBounds::contains impl to cpp file * [core] Skip tile creation outside of tileset bounds * [core] Fix TileRange for wrapped bounds and use for CustomTileLoader instead of LatLngBounds comparisons for tiles.
* [core] make forcing cache/network only more explicitKonstantin Käfer2017-10-121-9/+16
| | | | | | Previously, we used the existence of a `prior*` field in the Resource object as an indication for whether we should consult the cache or not. However, this is prone to error, since a failed cache lookup won't set any prior fields. Therefore, we manually set `priorExpires` to 0. This in turn triggered another bug where generated wrong expiration timestamps when the server response we got was expired (or expired between sending and receiving). This commit changes the flags so that we can now explicitly request CacheOnly/NetworkOnly (or All) loading methods, rather than the implicit Optional/Required naming scheme.
* [core] Change OverscaledTileID to also include a "wrap" value.Chris Loer2017-07-111-5/+4
| | | | | This prevents TilePyramid from sharing wrapped copies of tiles. This is necessary because two wrapped tiles no longer share the same CollisionTile.
* [core] Render parent raster tiles when ideal tile can't be loadedKonstantin Käfer2017-04-201-4/+11
|
* [core] Convert uses of std::set to std::unordered_set (#6325)Lucas Wojciechowski2016-09-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | * src/mbgl/annotation/annotation_manager.hpp * src/mbgl/algorithm/update_renderables.hpp * src/mbgl/geometry/glyph_atlas.hpp * src/mbgl/renderer/painter.cpp and src/mbgl/renderer/render_item.hpp * src/mbgl/renderer/symbol_bucket.hpp and src/mbgl/text/glyph_store.hpp * src/mbgl/sprite/sprite_atlas.hpp * include/mbgl/storage/network_status.hpp * src/mbgl/text/collision_tile.cpp * src/mbgl/style/update_batch.hpp * platform/default/mbgl/storage/offline_download.hpp * Add GlyphRangeSet typedef * Fix whitespace & unused imports
* [core] Rename data ⇢ tile; use Resource::NecessityJohn Firebaugh2016-08-261-25/+26
|
* [core] Use Range<uint8_t> instead of full Tileset where possibleJohn Firebaugh2016-06-141-7/+7
|
* [core] *Tile ↔ *TileDataJohn Firebaugh2016-06-131-17/+17
| | | | Tile is now the main base class; RasterTile, VectorTile, etc are its subclasses. GeometryTileData and its subclasses form the piece that's passed to the worker.
* [core] load parents of missing tiles as optionalKonstantin Käfer2016-06-101-10/+20
|
* [core] createTile callback can load optional and required tilesKonstantin Käfer2016-06-101-1/+1
|
* [core] refactor updateRenderables algorithmKonstantin Käfer2016-05-271-50/+65
|
* [core] remove unused template definitionKonstantin Käfer2016-05-271-3/+80
|
* [core] use #pragma once instead of ifdef include guardsKonstantin Käfer2016-05-251-4/+1
|
* [core] retain tiles differently and remove old TileID classKonstantin Käfer2016-05-101-0/+15