summaryrefslogtreecommitdiff
path: root/test/tile
Commit message (Collapse)AuthorAgeFilesLines
* [core] Convert GeometryTileWorker to "one-phase" loadingChris Loer2018-04-021-33/+0
| | | | | Modest simplification refactoring (issue #10457). Also, fixes issue #11538, which was caused in part by a hole in the vestigial two-phase loading.
* [core] add support for mapzen terrarium (#11154)Molly Lloyd2018-02-141-1/+1
| | | | | | | | | | | | * 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-231-0/+93
|
* [core] Custom Geometry SourcesAsheem Mamoowala2017-11-221-0/+130
|
* [core] Update unit tests for viewport collision.Chris Loer2017-11-173-100/+2
| | | | Add 'GridIndex' unit test.
* [core] make sure tiles are not treated as complete until all worker ↵Konstantin Käfer2017-09-214-16/+13
| | | | | | operations completed Previously, when we started a worker operation that eventually throws an exception (e.g. due to the tile not being parseable), and then enqueue another worker operation while the first one is processing, we treated the worker as idle once the first operation's error callback fired, even though the second operation was still in progress. Due to our use of coalescing, I was unable to come up with a reliable test since we'd need to reproduce the behavior described above, which is timing dependent.
* [core] keep tiles renderable even if a subsequent error occursKonstantin Käfer2017-09-212-0/+51
| | | | Since 9a9408e8111bcdcd0fcb9a93112d61ab8fce0601, we marked tiles as non-renderable if an error occured. This lead to situations where a tile was loaded + parsed successfully, then a revalidation attempt occured (e.g. because the resource was stale) which failed. In this case, we used to mark the tile as non-renderable although we could've used the perfectly parsed (stale) resource.
* [core] Avoid RenderStyle dependency in query codeJohn Firebaugh2017-08-241-3/+1
|
* [test] allow only a single shared display to avoid egl errorsIvo van Dongen2017-07-181-1/+1
|
* [core] rename backend to renderer backendIvo van Dongen2017-07-181-1/+1
|
* [core] renderer interfaceIvo van Dongen2017-07-182-3/+2
|
* [core] mutate style on annotation mutations immediatelyIvo van Dongen2017-07-184-6/+14
|
* [core][ios][android][macos] Use premultiplied image directly for RasterTile ↵Asheem Mamoowala2017-07-171-1/+1
| | | | and ImageSource, un-premultiply in the shader for blending
* [core] GCC 4.9 bracket initialization issuesBruno de Oliveira Abinader2017-07-122-4/+4
|
* [core] GCC 4.9 is unable to deduce ctors when using bracket initBruno de Oliveira Abinader2017-07-124-4/+8
|
* [core] Change OverscaledTileID to also include a "wrap" value.Chris Loer2017-07-111-73/+73
| | | | | This prevents TilePyramid from sharing wrapped copies of tiles. This is necessary because two wrapped tiles no longer share the same CollisionTile.
* [core] Refactor CustomLayer internalsJohn Firebaugh2017-06-221-0/+4
| | | | Move the responsibility for initialization/deinitialization/rendering to RenderCustomLayer. This eliminates special case code from Map and Style.
* [core] always return owning pointers for GeometryTileData::getLayer()Konstantin Käfer2017-06-211-2/+1
|
* [core] Per-tile glyph/icon atlasesJohn Firebaugh2017-06-132-8/+12
|
* [core] Per-bucket icon atlasesJohn Firebaugh2017-06-134-12/+12
|
* [core] Per-bucket glyph atlasesJohn Firebaugh2017-06-134-12/+12
|
* [core] Split RenderStyle from StyleJohn Firebaugh2017-06-051-2/+2
|
* [core] Refactor RenderSource updatesJohn Firebaugh2017-06-054-12/+27
| | | | | | | * 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-1/+1
|
* [core] Auto-growable SpriteAtlas using shelf-packJohn Firebaugh2017-05-264-4/+4
|
* [core] Unify {Paint,Layout,Light}PropertiesJohn Firebaugh2017-05-151-1/+1
|
* [core] Move renderer/* files into sub-folders (#8983)Asheem Mamoowala2017-05-122-2/+2
| | | Move renderer/* files into sub-folders
* [core] Immutable ImplsJohn Firebaugh2017-05-122-2/+2
|
* [tidy] modernize-use-emplaceBruno de Oliveira Abinader2017-05-121-1/+1
|
* [core] UpdateParameters ⇢ TileParametersJohn Firebaugh2017-05-044-18/+18
|
* [core] Move render-related sources out of style directory/namespaceJohn Firebaugh2017-05-034-8/+8
| | | | | | | | | | | | | | | | Moves the following to the renderer directory and out of the style namespace: * CascadeParameters * PropertyEvaluationParameters * UpdateParameters * PropertyEvaluator * DataDrivenPropertyEvaluator * CrossFadedPropertyEvaluator * PaintPropertyBinder * PaintProperyStatistics * PossiblyEvaluatedPropertyValue * TransitioningLight * EvaluatedLight
* [core] Refactor Source::*Impls into RenderSources and TilePyramidJohn Firebaugh2017-05-021-8/+8
|
* [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