summaryrefslogtreecommitdiff
path: root/src/mbgl/tile/tile.hpp
Commit message (Collapse)AuthorAgeFilesLines
* [build] Fix clang format and tidy checksJuha Alanen2019-09-181-8/+5
|
* [core] Add feature state support to queryRenderedFeatures APIJuha Alanen2019-09-181-1/+3
|
* [core] Add setFeatureState API to Tile classesJuha Alanen2019-09-181-1/+3
|
* [core] Improve performance for query rendered featuresAlexander Shalamov2019-07-091-2/+2
| | | | | - query rendered symbols only from layers that support it - remove unnecessary iterations over vectors
* [core] Introduce TileRenderDataMikhail Pozdnyakov2019-07-041-9/+4
| | | | Remove rendering functionality from Tile implementations.
* [core] Geometry tile updates layer render data if its constants mask remainsMikhail Pozdnyakov2019-07-021-2/+8
| | | | | | Thus, we do not have to wait for tile update completion in case the updated properties have the same constants mask, i.e. fit the existing bucket.
* [core] Refactor tile pyramidMikhail Pozdnyakov2019-06-101-0/+4
| | | | | | | Tile pyramid is no longer operating with `RenderTiles` and does not perform rendering operations (upload, finish render). Render tiles belong to rendering, and tile pyramid belongs to orchestration.
* [core] RenderTile does not expose TileMikhail Pozdnyakov2019-05-281-6/+0
| | | | | | RenderTile and Tile will be split when ochestration movces to a separate thread. This PR improves encapsulation of Tiles management: now performed within TilePyramid.
* [core] add gfx::UploadPass, split startRender into prepare and uploadKonstantin Käfer2019-05-151-10/+4
|
* [core] Render layers use synchronized buckets and paint propertiesMikhail Pozdnyakov2019-04-171-0/+1
| | | | Actual for layers rendering the geometry tile data: line, fill, fill-extrusion, heatmap, circle, symbol (was updated in previous commits).
* [core] Update `style::LayerProperties` instances in tilesMikhail Pozdnyakov2019-04-171-0/+4
|
* [core] Introduce `LayerRenderData`. Source::update() accepts layer properties.Mikhail Pozdnyakov2019-04-171-3/+10
|
* [core] use abstract Context interface where possibleKonstantin Käfer2019-03-121-1/+1
|
* [core] Drop LayerTypeMikhail Pozdnyakov2019-01-041-2/+1
| | | | | Drop LayerType and its remaining usages. The generic code should be layer type agnostic.
* [core] Replace remaining dynamic_cast with static_castBruno de Oliveira Abinader2018-08-081-1/+8
|
* [core] Use hand-rolled RTTIJohn Firebaugh2018-07-241-0/+6
|
* [core] re-assign ids when lng jumps to avoid flickerAnsis Brammanis2018-05-221-1/+1
|
* [core] fix circle querying for scale and alignmentChris Loer2018-04-261-1/+2
| | | | | | | This fixes circle querying for cases where either circle-pitch-alignment=map or circle-pitch-scaling=viewport
* [core] fix querying circles across tile boundariesChris Loer2018-04-261-0/+2
|
* Port global symbol query from GL JS:Chris Loer2018-04-251-7/+1
| | | | | | | - Symbol querying is now global instead of per-tile - Symbols that bleed over tile boundaries no longer missed in queries - Symbol results now sorted based on rendering order (ie overlapping symbols change their sort order when a bearing change causes their render order to change) - Placement::retainedQueryData now responsible for maintaining symbol querying data for buckets that may no longer be in the TilePyramid.
* [core] add raster-dem source type and hillshade layer type (#10642)Molly Lloyd2018-01-231-1/+1
|
* [core] Synchronize state of CollisionIndex and FeatureIndexes.Chris Loer2018-01-181-0/+5
| | | | Fixes issue #10778, in which mismatch between FeatureIndex and CollisionIndex could lead to inconsistent results or even invalid array access.
* [core] port minor collision changes from -js (#10764)Ansis Brammanis2018-01-081-2/+0
|
* [core] Symbol cross-fading.Chris Loer2017-11-171-0/+14
| | | | Hold onto tiles after they've been removed from the render tree long enough to run a fade animation on their symbols.
* [core] Update queryRenderedFeatures to use global CollisionIndex.Chris Loer2017-11-171-1/+4
|
* [core] Switch from background to foreground placementChris Loer2017-11-171-4/+3
| | | | | | | | | | | | - Background placement code now just generates static symbol buffers - Don't render GeometryTiles until their symbols are loaded. This is necessary for the CrossTileSymbolIndex to successfully prevent flicker. - SymbolInstances are transferred to SymbolBucket for use on foreground during collision detection - Symbols are sorted on foreground by sorting their index buffer but leaving vertex buffers intact (only works within one segment) - Vertical glyphs are generated at same time as horizontal glyphs. `reprojectLineLabels` chooses which one to use at render time and hides the other. - Icons are now always represented with a single collision box, even if they're placed along a line (this means their rotation alignment may be wrong, but the approach of representing them with multiple collision boxes wasn't very accurate either). - Generate vertices for new debug collision boxes and collision circles - Only add symbols within tile boundaries (reduces work, avoids double-draw) - Update symbol_projection.cpp to support line label projection calls from CollisionIndex.
* [core] make forcing cache/network only more explicitKonstantin Käfer2017-10-121-10/+4
| | | | | | 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] Avoid RenderStyle dependency in query codeJohn Firebaugh2017-08-241-2/+2
|
* [core] generate masks for raster tiles to avoid painting over childrenKonstantin Käfer2017-07-241-0/+2
|
* [core] Improved label pitch-scaling: approximate collision box shapes based ↵Chris Loer2017-07-111-0/+2
| | | | on tile distance from camera.
* [core] Merge RenderLayer::uploadBuckets into RenderSource::startRenderJohn Firebaugh2017-06-131-0/+5
|
* [core] Split RenderStyle from StyleJohn Firebaugh2017-06-051-5/+2
|
* [core] Refactor RenderSource updatesJohn Firebaugh2017-06-051-1/+1
| | | | | | | * Eliminate updateBatch in favor of diffing layers and detecting changes to properties upon which layout depends. * Replace RenderSource::{update,remove,invalidate,reload}Tiles with a single update method * Replace TilePyramid::{update,remove,invalidate,reload}Tiles with a single update method * Remove Style& dependency TODO from GeometryTile and TileParameters
* [core] Thread Style parameter through queryRenderedFeaturesJohn Firebaugh2017-06-051-0/+5
|
* [core] Immutable ImplsJohn Firebaugh2017-05-121-5/+2
|
* [all] Push querySourceFeatures back out to MapJohn Firebaugh2017-05-021-2/+2
| | | | Once Source and RendererSource are split, Source will no longer have access to tiles.
* [core] split off render layersIvo van Dongen2017-04-251-2/+2
|
* [core] Render parent raster tiles when ideal tile can't be loadedKonstantin Käfer2017-04-201-17/+17
|
* [core] make Tile::getBucket constIvo van Dongen2017-04-191-1/+1
|
* [core] De-mutex GlyphAtlas and SpriteAtlasChris Loer2017-04-041-1/+0
| | | | | | | | | | | | - Expose glyph and icon information to workers via message interface. - Glyph/SpriteAtlas track which tiles have outstanding requests and send messages to them when glyphs/icons become available. - Remove obsolete "updateSymbolDependentTiles" pathway - Symbol preparation for a tile now depends on all glyphs becoming available before it can start. - Start tracking individual icons needed for a tile, although we don't do anything with the information yet. - Introduce typedef for GlyphID
* [core] query source featuresIvo van Dongen2017-03-091-0/+5
|
* [core] rename query options for query rendered featuresIvo van Dongen2017-03-091-2/+2
|
* [core] Add support for queryRenderedFeatures filterAsheem Mamoowala2017-03-041-1/+2
|
* [core] Remove unusedJohn Firebaugh2016-12-141-3/+0
|
* [core] Separate pathway for notifying workers of new images/glyphsJohn Firebaugh2016-11-071-0/+1
|
* [core] Use TilePoint in Source::Impl::queryRenderedFeaturesBruno de Oliveira Abinader2016-10-111-0/+1
|
* [core] Use an actor model for tile worker concurrencyJohn Firebaugh2016-09-161-4/+2
|
* [core] Add Source::Impl::reloadJohn Firebaugh2016-09-061-0/+1
|
* [core] Eliminate duplicate Necessity typesJohn Firebaugh2016-06-131-4/+7
|
* [tidy] Check modernize-pass-by-valueBruno de Oliveira Abinader2016-06-131-1/+1
| | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-pass-by-value.html