summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [core] support "scheme": "tms" in TileJSON filesKonstantin Käfer2016-08-162-1/+6
|
* [core, android, ios, macos] Replaced getPointAnnotationsInBounds() w/ ↵Minh Nguyễn2016-08-127-23/+24
| | | | | | | queryPointAnnotations() (#5165) queryPointAnnotations() accepts a screen rectangle instead of a geographic bounding box, so marker hit testing works at the edges of a rotated, tilted map view. Fixes #5151.
* CJK overflow - update to match gl-shader (#5908)Amy Lee Walton2016-08-118-32/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * update vertex array ushorts * update atlas size * testing latest cjk test-suite branch * update shader ref * update shaders * update icon buffer * shaders * updated tests * buffer fix * updated make tests * annotation expected updates * final push * final fonts * a_data1 removal * remove cjk-mixed test * hiring threshold for cjk-chinese * update to new test suite * Rename a_data2 to a_data in sdf and icon shaders * update test-suite sha
* [core] Use NDEBUG instead of DEBUGBruno de Oliveira Abinader2016-08-056-18/+10
| | | | | CMake defines 'NDEBUG' by default for release build, so we can check if that's not defined instead of using 'DEBUG' for debug build.
* [core] Respect minzoom and maxzoom propertiesThiago Marcos P. Santos2016-07-293-4/+7
| | | | Fixes #5811
* GeoJSON point clustering (#5724)Vladimir Agafonkin2016-07-276-60/+102
| | | | | | | | | | | | | | | | * add supercluster dependency * prepare GeoJSONTile for Supercluster * prepare GeoJSONSource for accepting options * try removing mbgl::GeoJSON * fix setGeoJSON types * add GeoJSONSource getURL * add geojson to include path * add Supercluster index in GeoJSONSource * fix GeoJSONSource getZoomRange * bring back mbgl::GeoJSON header * fix tidy warnings hopefully * try test-suite with enabled cluster test * fix formatting in clustering-related files
* [core] Revert annotation source maxZoom to 22Bruno de Oliveira Abinader2016-07-262-3/+2
|
* [core] Micro-optimizations in geometry codeBruno de Oliveira Abinader2016-07-263-10/+23
|
* [core] don't crash when the version number is not a numberKonstantin Käfer2016-07-201-1/+2
|
* [core] fix crash when the style JSON doesn't have an object at its rootKonstantin Käfer2016-07-201-0/+5
|
* [core] Make MapDebugOptions::StencilClip a no-op in Release modeBruno de Oliveira Abinader2016-07-203-0/+7
|
* [core] Make MapDebugOptions::Overdraw a no-op in Release modeBruno de Oliveira Abinader2016-07-202-0/+12
|
* Merge branch 'release-ios-v3.3.0'Minh Nguyễn2016-07-191-6/+9
|\
| * [core] use more const, auto and refsKonstantin Käfer2016-07-191-37/+32
| | | | | | | | Cherry-picked from 40ea4247d81eccc1d48af56fe1da95438bbdefcc.
| * [core] add check for missing sprite URL file extensionKonstantin Käfer2016-07-191-0/+8
| | | | | | | | Cherry-picked from 559f3a654b976d41d0f3db3fa958ebcda3e97b1c.
| * mapbox: URL containing query string causes infinite loop (#5554)jingsam2016-07-191-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | * correct all EXPECT_EQ(actual, expected) to EXPECT_EQ(expected, actual) * fix getMapboxURLPathname() of URL with querystring * add test for normalizeSourceURL of non-mapbox protocal * Update mapbox.cpp Cherry-picked from e82ecc60acfeb95ec4804ecb0964a2d695416ea1.
| * [core] Set annotation tileset max zoom to 18Bruno de Oliveira Abinader2016-07-191-1/+3
| |
| * [core] Restored shape annotation z-orderMinh Nguyễn2016-07-181-2/+4
| | | | | | | | | | | | | | | | Shapes are once again always added to the top z-index. Fixes #5691. Cherry-picked from 74fe96d2617f870206ff358d7dfcafccf4e109bc.
| * [core] Guard against camera's `minScale` being NaNJason Wray2016-07-151-6/+9
| | | | | | | | Fixes a bug where calculating the padded bounds for a single point would cause division by zero, resulting in NaN for `minScale`. This invalid `minScale` would then be used to create an invalid padded `centerPixel`.
* | [core] use more const, auto and refsKonstantin Käfer2016-07-191-37/+32
| |
* | [core] add check for missing sprite URL file extensionKonstantin Käfer2016-07-191-0/+8
| |
* | [core] Restored shape annotation z-orderMinh Nguyễn2016-07-181-2/+4
| | | | | | | | | | | | Shapes are once again always added to the top z-index. Fixes #5691.
* | [core] Add support for $id key to filtersJohn Firebaugh2016-07-183-3/+3
| | | | | | | | https://github.com/mapbox/mapbox-gl-style-spec/issues/391
* | [core] Move set/get thread names to platform::Thiago Marcos P. Santos2016-07-162-25/+2
| | | | | | | | Android needs its own implementation.
* | [core] Update color layer properties code generatorBruno de Oliveira Abinader2016-07-142-2/+10
| |
* | [core] Revert workaround for std::atomic on ARMv5Thiago Marcos P. Santos2016-07-1312-66/+22
| | | | | | | | | | | | Got fix on r12. https://github.com/android-ndk/ndk/issues/31
* | [core] Prefer color aliases for default property valuesBruno de Oliveira Abinader2016-07-135-8/+8
| |
* | [core] Use PropertyValue<T> for Annotation line/fillBruno de Oliveira Abinader2016-07-133-7/+8
| |
* | Quadkey tokens in tile URL templates, limited WMS support (#5628)Minh Nguyễn2016-07-121-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * [core] Quadkey tokens in tile URL templates Fixes #5485. * [core] WMS tokens in tile URL templates Fixes #822. * [macos] Added WMS debug style Added a style to the macosapp resource bundle that can be used to test WMS support. To use it, zoom in to somewhere in New Jersey, then go to View ‣ Custom Style and enter “wms.json”.
* | [core] Report conversion errors using std::stringThiago Marcos P. Santos2016-07-121-1/+1
| | | | | | | | | | char* increases the risk of pointing to a invalid reference. Qt had to use a static variable as retainer to workaround.
* | [core] Fix matrix when panning around the worldBruno de Oliveira Abinader2016-07-121-1/+1
| | | | | | | | Partially reverts commit 1d46e83.
* | [core] Remove unusedJohn Firebaugh2016-07-112-14/+0
| |
* | [core] Move translatedMatrix to RenderTileJohn Firebaugh2016-07-118-43/+51
| |
* | [core] Pass RenderTile rather than individual parametersJohn Firebaugh2016-07-1118-69/+59
| |
* | [core] Introduce PaintParametersJohn Firebaugh2016-07-1122-76/+105
| | | | | | | | Use it to DRY selection of regular vs. overdraw shaders and VAOs.
* | [core] Introduce non-anonymous Shaders classJohn Firebaugh2016-07-1111-114/+86
| |
* | [core] Fix raster shader opacity in some casesBruno de Oliveira Abinader2016-07-111-1/+1
| |
* | Merge branch 'boundsj-merge-3.3.0.rc.1'Jesse Bounds2016-07-082-13/+1
|\ \
| * \ Merge branch 'release-ios-v3.3.0' into masterJesse Bounds2016-07-072-13/+1
| |\ \ | | |/
| | * [core] Re-close polygons after clipping with clipper (#5596)Jesse Bounds2016-07-061-0/+8
| | | | | | | | | | | | | | | This pulls in the implementation change in https://github.com/mapbox/ mapbox-gl-native/commit/903d609b40b6d0f4873f7bb46d96f4a06d7b17d6 from the master branch for the iOS 3.3.0 release.
| | * [ios] #3979 compress telemetry events (#5490)Fredrik Karlsson2016-07-052-13/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios] #3979 wip gzip telemetry events * [ios] expose compression from core instead of adding a new dependency * [ios] #3979 Exposed decompress from mbgl and added a test case * [ios] #3979 cleanup * [ios] #3979 cleaned up test case * [ios] #3979 cleanup * [ios] #3979 gzip -> deflate
* | | [core] track texture state to avoid redundand bindsKonstantin Käfer2016-07-0828-95/+141
| | |
* | | [core] Add support for circle-pitch-scaleJohn Firebaugh2016-07-077-4/+31
| | |
* | | [core] Make extrudeScale calculations more similar to JSJohn Firebaugh2016-07-074-20/+28
|/ /
* | [core] don't force GL state to be set when calling .reset()Konstantin Käfer2016-07-072-3/+2
| | | | | | | | We are using Value::reset() to change a piece of GL state to its default value. However, the current implementation always executes the GL call, even if our state tracking system knows that it's already at that value. The new implementation of Value::reset() now respects that, resulting in a lot fewer GL calls.
* | [core] move shaders to anon struct and alias themKonstantin Käfer2016-07-0734-294/+308
| |
* | [core] geometry@0.8.0 / geojsonvt@6.0.0 (#5514)Young Hahn2016-07-068-143/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [core] geometry.hpp 0.8.0 * geojsonvt @ 6.0.0 * Update platform deps, build scripts * Perf optimizations/cleanup * Rebase in geometry@080 * D.R.Y. etc * Ensure fill annotation geometries have closed rings. * Optimizations * Update to geojsonvt @ 6.1.0 for clean handoff between geojson parsing and geojsonvt * Apply close multi/poly geoms for line annotations as well
* | [core] Re-close polygons after clipping with clipperJohn Firebaugh2016-07-061-1/+8
| |
* | [core] Avoid unnecessary copies in GlyphSet::insertJohn Firebaugh2016-07-043-5/+5
| |
* | [core] refactor Raster and allow explicit mipmapping levelsKonstantin Käfer2016-07-043-51/+55
| |