summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [docs] First uncompressed shader source diffChris Loer2018-09-191-49/+9
|
* [docs] Include uncompressed shader source in .cpp commentsChris Loer2018-09-1925-0/+3333
| | | | | | This is meant to (1) Make it easier for new developers to find the source (2) Make it easier to look at shader diffs when the GL JS pin changes
* [test] Bump gl-js pin.Chris Loer2018-09-1913-1567/+1567
|
* [core] For string-valued properties, do coercion rather than assertionJohn Firebaugh2018-09-196-36/+58
|
* [core] Auto-convert concat arguments to stringsJohn Firebaugh2018-09-192-9/+13
|
* [core] prevent crash when expression for pattern evaluates to "" (#12896)Molly Lloyd2018-09-181-2/+11
| | | when a source-expression like `["get", "property"]` evaluates to null and the default pattern value (empty string) is used, make sure attribute buffers get populated to avoid crashing the app
* [core] Disable debugging extension when running on ANGLE over Direct3DAnder Conselvan de Oliveira2018-09-141-1/+5
| | | | | | The ANGLE implementation of GL_KHR_debug on Direct3D seems to be broken leading to a bad_alloc being thrown when running with a debug build, so disable it in that platform.
* [core] Refactor vertex array object extension initializationAnder Conselvan de Oliveira2018-09-142-24/+18
| | | | | | | Currently the vertex object extension is disabled through an ifdef for the Windows platform due to an issue with ANGLE, while there is a blacklist for other platforms. Unify those by adding ANGLE to that blacklist and some small refactoring.
* [core] Make "to-number" of null behave as documentedJohn Firebaugh2018-09-131-0/+1
|
* [core] Implement array assertion fallback behaviorJohn Firebaugh2018-09-134-124/+77
| | | | This was added in gl-js in #7095.
* [core] to-color should be idempotentJohn Firebaugh2018-09-131-0/+3
| | | | Ports https://github.com/mapbox/mapbox-gl-js/pull/7260.
* [core] ["to-array", <item type>, <empty array>] should work for any item typeJohn Firebaugh2018-09-131-4/+12
| | | | Ports https://github.com/mapbox/mapbox-gl-js/pull/7261.
* [linux,qt] Remove remainder of WebP supportKonstantin Käfer2018-09-131-13/+1
|
* [core] Enable face culling for fill extrusion layersBruno de Oliveira Abinader2018-09-132-4/+10
| | | | | Use face culling for fill extrusion layers. Winding order is changed to ensure correct rendering.
* [core] Add face culling mode parameter to Program::drawBruno de Oliveira Abinader2018-09-1323-0/+162
| | | | | | Add a parameter to Program::draw to control whether face culling should be enabled. This will be used in a follow up commit to enable face culling for fill extrusion layers.
* [core] Port "collision group" plumbing to gl-native.Chris Loer2018-09-1211-42/+124
| | | | | [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.
* [android] add support for gnustlKonstantin Käfer2018-09-117-6/+11
|
* Port symbol-z-order symbol layout style-spec property to Nativeupstream/sort-by-yryanhamley2018-09-078-3/+57
|
* [core] Mark allow-overlap symbols visible even outside of collision grid.Chris Loer2018-09-061-1/+20
| | | | Fixes issue #12683.
* [core] simplify dependency layout process and refactor data structuresMolly Lloyd2018-08-3115-146/+147
|
* [core] Simplify GeometryTileWorkerJohn Firebaugh2018-08-312-58/+25
| | | | | | | * The worker no longer needs to maintain symbol layer order. * No need for separate symbolLayoutsNeedPreparation state. That dates back to when we had "two phase" symbol layout. Now we can just check symbolLayouts.empty(). (Similarly for pattern layouts.) * No need to loop over symbol layouts twice in performSymbolLayout. Same reason as above. * Simplify iconAtlas initialization. It initialized via every possible branch, so just do it up front.
* [core] remove redundant Uniform::Type aliasMolly Lloyd2018-08-312-6/+3
|
* [core] Implement CrossFadedDataDrivenProperty to add support for feature ↵Molly Lloyd2018-08-31102-2023/+2888
| | | | expressions in `*-pattern` properties
* [core] move PaintProperty::Attribute to TypeList and pass to Binder constructorsKonstantin Käfer2018-08-312-3/+17
|
* [core] introduce TypeListConcat and TypeList::ExpandIntoKonstantin Käfer2018-08-315-44/+10
|
* [core] allow passing multiple AttributeTypes to a PaintPropertyBinderKonstantin Käfer2018-08-311-9/+9
|
* [core] rename gl::Attribute to gl::Attribute to remove overloaded namingKonstantin Käfer2018-08-314-33/+33
|
* [core] simplify attribute/location typesKonstantin Käfer2018-08-312-22/+10
|
* [core] Added pragma to remove warning ("unknown warning group ↵Julian Rex2018-08-281-0/+1
| | | | '-Wtautological-constant-compare', ignored") on iOS build (#12753)
* Add unit tests and fixtures for OfflineDatabase::mergeDatabaseAsheem Mamoowala2018-08-281-1/+1
|
* [node] capture invalid input data as `ParseError` objectsKonstantin Käfer2018-08-272-2/+4
| | | | This allows us to distinguish them from other types of errors
* [core] Add `line-gradient` propertyMikhail Pozdnyakov2018-08-2320-1491/+1751
| | | | | | | | Porting of https://github.com/mapbox/mapbox-gl-js/pull/6303 See the link above for the description of the feature and its limitations). Based on patch from @lbud (Lauren Budorick).
* fixed validation message for boundsJustyna Janczyszyn2018-08-221-2/+2
|
* [core] fix icon-size for small data-driven valuesChris Loer2018-08-214-192/+192
| | | | port of mapbox/mapbox-gl-js#7125
* [core, node] Re-implement "avoid edges" behavior for MapMode::TileChris Loer2018-08-204-41/+60
| | | | | | | - Fixes issue #12461. - Only implement "avoid edges" in MapMode::Tile since it's no longer relevant in Static or Continuous mode. - New: Force "avoid edges" to "true" for line labels, since in tile mode they'll always clip poorly at tile boundaries. - Remove unused "withinPlus0/inside" logic.
* [core] downgrade event severity for erroneous DDS rendering to WarningKonstantin Käfer2018-08-201-1/+1
|
* [core] make style/conversion.hpp implementation privateKonstantin Käfer2018-08-1948-17/+253
|
* [core] Evict unused font stacks from GlyphManagerJohn Firebaugh2018-08-175-24/+58
|
* [core] Fix querying for annotations near tile boundaries at high zoom.Chris Loer2018-08-141-1/+7
| | | | | | | | Fixes issue #12472. This commit doesn't address the underlying issues that come from symbolAnnotationTree using a slightly lower precision coordinate system than the annotations themselves. Instead, it just puts a small padding around each tile when it queries for tile data, so that symbols right at the tile boundary will be included in both tiles. The rendering/querying code will take care of only displaying one instance. The padding is in global coordinates, so at higher zoom the padding will be larger in tile units -- this is consistent with precision loss also being greater at higher zoom.
* [core] Fix out of range exception for string compareVladimir Kondrashov2018-08-141-2/+2
|
* [core] Don't default-show text/icons that depend on the placement of a ↵Chris Loer2018-08-131-2/+9
| | | | | | paired icon/text Fixes issue #12483.
* [core] Factor out setVisibility conversionJohn Firebaugh2018-08-1311-130/+29
|
* [core] Optimize generated set{Paint,Layout}Property codeJohn Firebaugh2018-08-1313-1292/+2260
|
* [core] Eliminate setProperty & co.John Firebaugh2018-08-1316-381/+2313
|
* [core] Fix build when building Qt Location plugin for AndroidSudarsana Babu Nagineni2018-08-102-2/+3
| | | | | | | - log2 is not available on Android before API 18. - Android doesn't have 'round' on the std:: namespace when using g++. Co-authored-by: Thiago Marcos P. Santos <thiago@mapbox.com>
* Revert "[core] Replace Boost.Spirit with std::regex in CacheControl::parse()"Bruno de Oliveira Abinader2018-08-081-7/+21
| | | | This reverts commit 990b3b11b9427ffd86f693d3f4c3dd351891e5d0.
* [core] Use correct Log::record overload. (#12571)Chris Loer2018-08-081-1/+1
|
* [core] Replace Boost.Spirit with std::regex in CacheControl::parse()Bruno de Oliveira Abinader2018-08-081-21/+7
|
* [core] Replace remaining dynamic_cast with static_castBruno de Oliveira Abinader2018-08-0814-15/+30
|
* [core] Add lineMetrics to GeoJSONOptionsMikhail Pozdnyakov2018-08-082-0/+11
| | | | | This patch also bumps geojson-vt-cpp version to 6.6.0, which enables the `lineMetrics` option.