summaryrefslogtreecommitdiff
path: root/src/mbgl/geometry
Commit message (Collapse)AuthorAgeFilesLines
* [core] add texture bindings to draw call instead of Context member fnKonstantin Käfer2019-03-122-9/+9
|
* [core] use abstract Context interface where possibleKonstantin Käfer2019-03-122-9/+8
|
* [core] move Texture to the gfx namespaceKonstantin Käfer2019-03-122-6/+6
|
* [core] move Texture related enums to gfx namespaceKonstantin Käfer2019-03-121-2/+2
|
* remove unused dem memoryMolly Lloyd2019-03-052-22/+15
|
* [core] fix deduping rings in querying, #11357Ansis Brammanis2019-01-041-1/+2
|
* [core] Replace RenderSymbolLayer downcast with symbol interfaceAlexander Shalamov2018-11-191-1/+1
|
* [core] remove some uses of <iostream> and <sstream>Konstantin Käfer2018-10-231-1/+0
|
* [core] don't use <boost/functional/hash.hpp> to avoid <locale> includeKonstantin Käfer2018-10-231-3/+2
|
* [core] Port "collision group" plumbing to gl-native.Chris Loer2018-09-121-1/+4
| | | | | [node] Hook up map-wide "crossSourceCollisions" option, defaulting to true. [test] Pass "crossSourceCollisions" test option through test harness; enable cross-source-collisions tests on native.
* [core] Fix sort order for queryRenderedFeatures when features are filtered.Chris Loer2018-07-031-5/+6
| | | | Fixes issue #12104.
* [core] fix undefined behavior in LineAtlas::addDashKonstantin Käfer2018-06-121-0/+7
|
* Merge branch 'release-boba' into masterupstream/fabian-merge-release-4.0.1-masterFabian Guerra2018-05-171-1/+0
|\ | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # mapbox-gl-js # platform/android/CHANGELOG.md # platform/android/MapboxGLAndroidSDK/gradle.properties # platform/android/gradle/dependencies.gradle # platform/darwin/src/MGLVectorTileSource.mm # platform/darwin/src/MGLVectorTileSource_Private.h # platform/ios/CHANGELOG.md # src/mbgl/style/expression/compound_expression.cpp
| * [core] Convert "legacy" filters directly into expressions (#11610)Lucas Wojciechowski2018-05-101-1/+0
| | | | | | Ports the specialized filter-* expressions from GL JS, adding them to src/mbgl/style/expression/compound_expression.cpp
* | [core] Only run placement for first layer per SymbolBucketChris Loer2018-05-032-10/+10
| | | | | | | | | | | | | | | | | | Native version of mapbox/mapbox-gl-js#6548. Port of mapbox/mapbox-gl-js#6550. Prevents symbols that share the same layout properties from colliding against each other. Bump GL JS pin to get regression test. Rename "bucketName" -> "bucketLeaderID" to make it clearer what it represents.
* | [core] only index features within tile boundariesAnsis Brammanis2018-04-261-3/+9
| | | | | | | | | | | | | | Previously we relied on tile buffers for querying features who's rendered representations cross tile boundaries. Now we query multiple tiles making it unnecessary to index features that are completely outside a tile's boundaries.
* | [core] fix circle querying for scale and alignmentChris Loer2018-04-262-9/+15
| | | | | | | | | | | | | | 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-262-5/+5
| |
* | Port global symbol query from GL JS:Chris Loer2018-04-252-32/+58
|/ | | | | | | - 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] Make FeatureIndex own GeometryTileData.Chris Loer2018-04-022-10/+14
| | | | | Prevents querying a FeatureIndex built against a separate set of data, which can lead to invalid index exceptions. The GeometryTileWorker 'data' member can still change independently of the data in the feature index, at the time 'setData' is called. The GeometryTileWorker maintains ownership of its local data (which may be used to re-parse) and clones the data for use by the FeatureIndex in the foreground.
* [core] Add expression filter support (#11251)Lucas Wojciechowski2018-03-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * WIP * WIP * WIP * Remove Filter::operator()(const Feature&) * WIP * WIP * WIP * WIP * Hook up expression filter evaluator * Replace `shared_ptr` with &reference * Fill in implementation of `void operator()(const ExpressionFilter&)` * Fix failing tests * Switch back to a shared_ptr per chat with @anandthakker * Fix benchmark compilation * Shot in the dark to fix CI * Shot in the dark to fix CI (part 2) * Shot in the dark to fix CI (part 3) * In src/mbgl/style/conversion/filter.cpp, add a port of isExpressionFilter and use it to decide in Converter<Filter>::operator() whether to parse the incoming JSON as an ExpressionFilter or one of the legacy filter types * Remove bool Filter::operator()(const GeometryTileFeature&) const * Ensure the map zoom is passed into filtering operations wherever applicable * Add expression filter tests * Addressed PR feedback * Implement `NSPredicate *operator()(mbgl::style::ExpressionFilter filter)` * Fix formatting& nit
* [core] add support for mapzen terrarium (#11154)Molly Lloyd2018-02-142-3/+16
| | | | | | | | | | | | * add support for mapzen terrarium * Encoding --> DEMEncoding, avoid if statement when unpacking elevation values * add Terrarium test * update submodule * remove redundant checks
* [core] add raster-dem source type and hillshade layer type (#10642)Molly Lloyd2018-01-232-0/+142
|
* [core] Cleanup in response to review comments.Chris Loer2017-11-171-10/+4
|
* [core] Cleanup in response to review commentsChris Loer2017-11-171-1/+1
|
* [core] Update queryRenderedFeatures to use global CollisionIndex.Chris Loer2017-11-172-19/+46
|
* [core] Add circle geometries to GridIndex.Chris Loer2017-11-171-1/+1
| | | | | - Adds early exiting "hitTest" query for fast collision detection - GridIndex now determines cell count separately for x and y axes based on grid dimensions.
* [core] Avoid GeometryTile dependency in FeatureIndexJohn Firebaugh2017-08-242-22/+4
|
* [core] Avoid RenderStyle dependency in query codeJohn Firebaugh2017-08-242-55/+37
|
* [core] renderer interfaceIvo van Dongen2017-07-181-1/+1
|
* [core] Remove unused binpack.hpppJohn Firebaugh2017-06-131-101/+0
|
* [core] Split RenderStyle from StyleJohn Firebaugh2017-06-052-11/+8
|
* [core] Move renderer/* files into sub-folders (#8983)Asheem Mamoowala2017-05-121-1/+1
| | | Move renderer/* files into sub-folders
* [core] Immutable ImplsJohn Firebaugh2017-05-121-1/+1
|
* [tidy] modernize-use-usingBruno de Oliveira Abinader2017-05-121-1/+1
|
* [core] split off render layersIvo van Dongen2017-04-251-10/+9
|
* [core] account for property functions in query rendered featuresIvo van Dongen2017-04-192-6/+43
|
* [core] rename query options for query rendered featuresIvo van Dongen2017-03-092-5/+5
|
* [core] Add support for queryRenderedFeatures filterAsheem Mamoowala2017-03-042-8/+17
|
* [core] Fix whitespace; no need for explicit on multi-parameter constructorsJohn Firebaugh2017-03-021-5/+3
|
* [core] Fix flickering caused by regression in #7586John Firebaugh2017-01-102-3/+3
| | | | It should be safe to invoke GeometryTileWorker::setData multiple times without invoking GeometryTileWorker::setLayers. Therefore GeometryTileWorker::redoLayout() must not consume the layers.
* [core] Replace FeatureIndex::collisionTile with a method parameterJohn Firebaugh2017-01-102-9/+4
| | | | This reduces state and simplifies the test added in the prior commit.
* [build] move logging to utilKonstantin Käfer2016-11-221-2/+2
|
* [core] remove gl.hpp from all headers that don't need itKonstantin Käfer2016-11-041-1/+0
|
* [core] convert LineAtlas to use managed texture handlingKonstantin Käfer2016-11-012-66/+30
|
* [core] Modern C++ bindings for OpenGLJohn Firebaugh2016-10-281-2/+3
|
* [core] Use query geometry from FeatureIndex into ↵Bruno de Oliveira Abinader2016-10-111-1/+1
| | | | CollisionTile::queryRenderedSymbols
* [core] No need for feature querying to support multipolygonsJohn Firebaugh2016-10-112-15/+11
|
* [core] Refactor BufferJohn Firebaugh2016-10-0521-732/+0
|
* [build] add back -WerrorKonstantin Käfer2016-09-3010-23/+23
|