summaryrefslogtreecommitdiff
path: root/test/tile
Commit message (Collapse)AuthorAgeFilesLines
* [all] Push querySourceFeatures back out to MapJohn Firebaugh2017-05-021-1/+1
| | | | Once Source and RendererSource are split, Source will no longer have access to tiles.
* [core] split off render layersIvo van Dongen2017-04-252-2/+2
|
* [core] Move Sprite parsing to thread poolKonstantin Käfer2017-04-244-4/+4
|
* [core] Render parent raster tiles when ideal tile can't be loadedKonstantin Käfer2017-04-202-1/+13
|
* [core] Safeguard PositionedIcon usage via optionalBruno de Oliveira Abinader2017-04-141-1/+1
|
* Merge branch 'release-ios-v3.5.0-android-v5.0.0' into ↵Fabian Guerra2017-04-111-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | boundsj-merge-release-branch # Conflicts: # cmake/core-files.cmake # mapbox-gl-js # platform/android/CHANGELOG.md # platform/ios/CHANGELOG.md # platform/macos/CHANGELOG.md # platform/qt/bitrise-qt5.yml # src/mbgl/gl/attribute.hpp # src/mbgl/gl/context.cpp # src/mbgl/gl/program.hpp # src/mbgl/map/map.cpp # src/mbgl/programs/program.hpp # src/mbgl/renderer/painter.cpp
| * [core] check null data in query source features (#8553)John Firebaugh2017-03-281-0/+10
| | | | | | | | | | | | * [core] check null data in query source features * Include what you use
| * [core] don’t query rendered features until all data is availableIvo van Dongen2017-03-141-0/+88
| |
* | [core] Add DDS support for {text,icon}-size (#8593)Anand Thakker2017-04-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update gl-js and generate style code * Factor out packUint8Pair() helper function * Draft implementation of DDS for {text,icon}-size Ports https://github.com/mapbox/mapbox-gl-js/pull/4455 * Fix text-size/composite-function-line-placement test * Refactor to PaintPropertyBinders-like strategy * Dedupe gl::Program construction * Use exponential function base for interpolation * Dedupe coveringZoomStops method * Fixup tests * Fix CI errors (hidden within #if block)
* | [all] Make LatLng coordinates read-onlyJohn Firebaugh2017-04-061-2/+2
| |
* | [core] Introduce a fully-evaluated tuple type for layout propertiesJohn Firebaugh2017-03-311-2/+2
| |
* | [core] check null data in query source featuresIvo van Dongen2017-03-281-0/+9
| |
* | [core] Prefer std::map to std::unordered_map for smaller binary sizeJohn Firebaugh2017-03-211-1/+1
| |
* | [core] Replace MapChange enum with MapObserverBruno de Oliveira Abinader2017-03-151-7/+24
| |
* | [core] don’t query rendered features until all data is availableIvo van Dongen2017-03-141-0/+88
|/
* [core] Implement data-driven styling for ↵Anand Thakker2017-02-281-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | {text,icon}-{color,opacity,halo-color,halo-blur,halo-width} (#7939) * Add symbol dds attributes and adapt style code generation * Update to mapbox-gl-js/master * Refactor SymbolFeature as a subclass of GeometryTileFeature Prepares for enabling DDS on symbol paint properties by allowing the SymbolFeatures, which we keep around after constructing SymbolLayout, to be used in evaluating data-driven paint properties later in the layout process. * Draft approach for splitting icon/text paint properties The `Program` types are set up to bind GL attributes to each of the data-driven paint properties specified in the `PaintProperties` type provided. Since `SymbolPaintProperties` specifies both `Text*` and `Icon*` properties, the symbolIcon, symbolIconSDF, and symbolGlyph programs each attempt to bind roughly double the number of attributes that they actually need. This change addresses this by: - Adding the more specific `IconPaintProperties` and `TextPaintProperties` types, which are subsets of the full `SymbolPaintProperties`. - The symbol layer continues to use its `SymbolPaintProperties paint` member to track layer property state, but it provides helpers that construct objects of each the specific `{Icon,Text}PaintProperties::Evaluated` type, for use by the painter. - The three symbol programs instantiate `Program<>` using the appropriate `{Icon,Text}PaintProperties` type. * check in generated style code * Populate paint buffers for symbol DDS properties * Address first round of review comments * Refactor VectorTile{Layer,Feature} to explicitly share data * Update submodule
* [core] don't treat empty raster tiles as "DataAvailability::All"Konstantin Käfer2017-02-221-0/+15
|
* compare polygon ring areas absolutelynode-v3.4.4-13e504Dane Springmeyer2017-02-091-0/+46
| | | | | - This ensures we actually keep the largest polygons - Adds testcase that fails without this patch
* [core] Add support for data-driven stylingJohn Firebaugh2017-02-021-1/+3
|
* [core] Fix flickering caused by regression in #7586John Firebaugh2017-01-101-0/+72
| | | | 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-101-9/+1
| | | | This reduces state and simplifies the test added in the prior commit.
* [core] Keep symbol and non-symbol buckets segregatedJohn Firebaugh2017-01-101-0/+43
| | | | Discard prior symbol buckets only when new symbol buckets became available, in order to eliminate flickering when tiles are refreshed.
* [build] move default ThreadPool implementation to platform/defaultKonstantin Käfer2016-11-222-2/+2
|
* [core] change std::array<uint16_t, 2> to mbgl::SizeKonstantin Käfer2016-10-271-2/+1
|
* [core] [node] pass thread pool impl to Map constructorMike Morris2016-10-202-2/+2
| | | | | | | Updates mbgl::Map constructor usage everywhere Adds NodeThreadPool implementation using AsyncQueue to call Nan::AsyncQueueWorker from main thread
* [core] TileCoordinate::fromLatLng no longer depens on TransformStateBruno de Oliveira Abinader2016-10-191-2/+2
|
* [test] Added TileCoordinate testsBruno de Oliveira Abinader2016-10-111-0/+92
|
* [macos,ios] initialize util::RunLoop in SDK rather than by defaultKonstantin Käfer2016-10-062-0/+4
|
* [core] Tiles that error on load are not renderableJohn Firebaugh2016-10-052-0/+94
|
* [test] add .test.cpp suffix to test case filesKonstantin Käfer2016-09-282-0/+0
|
* [core] *Tile ↔ *TileDataJohn Firebaugh2016-06-131-5/+5
| | | | 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] fix pedantic warning messagesKonstantin Käfer2016-06-132-41/+41
|
* [core] Don't earcut more than 500 inner ringsYoung Hahn2016-05-311-0/+61
|
* [core] add algorithm for detecting whether an ordered map contains covering ↵Konstantin Käfer2016-05-101-1/+1
| | | | children
* [core] introduce three distinct TileID typesKonstantin Käfer2016-05-101-0/+295
* CanonicalTileID has z, x, and y, with x/y being within the bounds z defines. z can be anything from 0-32. * OverscaledTileID is composed of a z value, and a canonical tile. The z value indicates the zoom level the tile is intended for. It is primarily used for indexing overscaled data tiles. * UnwrappedTileID is composed of a wrap value, and a canonical tile. The wrap value is used for representing tiles to the left and right of the main (0/0/0 based) tile pyramid. It is primarily used for indicating the position a tile should be rendered at.