summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [core] Rationalize naming for style-related codeJohn Firebaugh2016-06-02119-661/+831
|
* [core] Add {min,max}Zoom accessorsJohn Firebaugh2016-06-021-0/+16
|
* [core] Add Filter accessorsJohn Firebaugh2016-06-026-113/+40
|
* [core] Introduce PropertyValue<T>John Firebaugh2016-06-0217-465/+542
| | | | PropertyValue<T> represents the three possible types of style property value: undefined, constant, or function.
* [core] Generalize Map::{add,remove}CustomLayerJohn Firebaugh2016-06-021-10/+3
|
* [core] Runtime style layer APIJohn Firebaugh2016-06-0289-1078/+2155
|
* [tests] Tweak LineAnnotation test so that it reveals a bug; fix the bugJohn Firebaugh2016-06-021-1/+1
|
* [core] Constrain annotation API to the supported geometry typesJohn Firebaugh2016-06-0110-25/+10
|
* [all] Rationalize annotation APIJohn Firebaugh2016-06-0114-220/+269
|
* [core] Use geometry.hpp types for shape annotationsJohn Firebaugh2016-06-013-23/+86
|
* [core] Do annotation longitude wrapping together with latitude clampingJohn Firebaugh2016-06-011-2/+3
|
* [core] Store feature keys in same order as in vector tileMinh Nguyễn2016-06-011-5/+4
| | | | The keys in the vector tile may not be in alphabetical order. Building a vector of keys by looping over std::map<std::string, …> effectively sorts the keys by alphabetical order without sorting the associated values. This change inserts keys in the same order in which they appear in the vector tile.
* [test] Added GL objects testsBruno de Oliveira Abinader2016-06-012-3/+19
|
* [core] Use unique_resource for GL objectsBruno de Oliveira Abinader2016-06-0117-234/+175
| | | | | | | | | Source: https://github.com/okdshin/unique_resource These replace the complexity of manually handling moveable-RAII objects with a type specific for that purpose. As suggested in https://github.com/mapbox/mapbox-gl-native/pull/5141#issuecomment-221719872.
* [core] s/GLObjectStore/ObjectStore/Bruno de Oliveira Abinader2016-06-0167-266/+266
|
* [core] Update sdf shader codeBruno de Oliveira Abinader2016-06-014-36/+27
| | | | | Ported the following patch: - [convert mat4 exMatrix to a vec2 extrudeScale](https://github.com/mapbox/mapbox-gl-shaders/commit/a8d549b7a41540d3a99767975ff1b7b18a6010e9)
* [core] Update icon shader codeBruno de Oliveira Abinader2016-06-013-33/+20
| | | | | Ported the following patch: - [convert mat4 exMatrix to a vec2 extrudeScale](https://github.com/mapbox/mapbox-gl-shaders/commit/a8d549b7a41540d3a99767975ff1b7b18a6010e9)
* [core] Don't earcut more than 500 inner ringsYoung Hahn2016-05-313-1/+19
|
* [core] Run fixupPolygons on geojson-vt-cpp polygon outputJohn Firebaugh2016-05-312-0/+10
|
* [core] Fix up v1 vector tile geometries with clipperJohn Firebaugh2016-05-314-1/+76
|
* [core] Run fix_members.sh on clipper codeJohn Firebaugh2016-05-313-424/+448
| | | | https://github.com/mapnik/clipper/blob/r496-mapnik/cpp/fix_members.sh
* [core] Re-add clipper from https://github.com/mapnik/clipper/blob/r496-mapnikJohn Firebaugh2016-05-312-0/+6137
| | | | Revision ac8d6bf2517f46c05647b5c19cac113fb180ffb4
* [core] Replace clipper and libtess with earcut.hppJohn Firebaugh2016-05-3120-10359/+50
|
* [core] Use init list for shader attributesBruno de Oliveira Abinader2016-05-316-17/+17
| | | | | Shader parent object has been safely created, so it is safe to initialize the *Shader attributes via initialization list.
* [core] Update circle shader codeBruno de Oliveira Abinader2016-05-314-9/+15
| | | | | | | Ported the following patches: - [convert mat4 exMatrix to a vec2 extrudeScale](https://github.com/mapbox/mapbox-gl-shaders/commit/a8d549b7a41540d3a99767975ff1b7b18a6010e9) - [Enabled data-driven styling for circle-radius](https://github.com/mapbox/mapbox-gl-shaders/commit/4356e41fa657837904d189e604468617ee601ddb) - [Reduce shader boilerplate, refactor "Bucket"](https://github.com/mapbox/mapbox-gl-shaders/commit/7d3da8f1914954fd96f305b7116cfd127a616551)
* [ios, osx] Holes in polygonsMinh Nguyễn2016-05-271-11/+12
| | | | | | | | MGLPolygon (and by extension MGLMultiPolygon) now supports interior rings. The data is preserved in feature querying results, and interior rings are respected when adding polygon overlays to the map. Fixes #1729. [ios, osx] Updated changelog
* [core] Fill the initial `changeTimes` with the reference timestamp of the ↵Thiago Marcos P. Santos2016-05-271-1/+1
| | | | | | | | | | first frame On the Javascript implementation the array is automatically filled with zeroes which is not the same thing as `TimePoint::min()`. Here we need to get our own "zero" which is the timestamp of the first frame. Fixes #5109
* [core] refactor updateRenderables algorithmKonstantin Käfer2016-05-272-67/+84
|
* [core] remove unused template definitionKonstantin Käfer2016-05-274-104/+81
|
* [core] AnnotationTileLayer vends its own name (#5163)Minh Nguyễn2016-05-264-3/+11
| | | Fixes #5159.
* [core] s/operator bool/created()/ in {GL,TexturePool}HolderBruno de Oliveira Abinader2016-05-2610-27/+29
| | | | Prevents confusing usage of GL holder objects.
* [core] Move objectStore in {GL,TexturePool}Holder::reset()Bruno de Oliveira Abinader2016-05-262-11/+10
| | | | | | | Fixes an issue where a moved {GL,TexturePool}Holder would use an invalid pointer when accessing 'objectStore'. Fixes #5136.
* [core] Port "combine line-width and line-gap-width in shader"John Firebaugh2016-05-254-26/+18
| | | | | https://github.com/mapbox/mapbox-gl-shaders/commit/a9559e911b11a155135888f733a96e5110f8cef6 https://github.com/mapbox/mapbox-gl-js/commit/fcb9bcebae6e00f24ebfde8d7ec09adb95f6b1a3
* [core] Port "separate u_opacity from u_color"John Firebaugh2016-05-2511-52/+24
| | | | | https://github.com/mapbox/mapbox-gl-shaders/commit/0d3412519618a3a1672db9fa21f96f90070cf84c https://github.com/mapbox/mapbox-gl-js/commit/1f5afa7db08a2bdcc492a46e500ff5d020e6f4a2
* [core] Share shaders with gl-jsJohn Firebaugh2016-05-2527-679/+9
|
* [core] box_shader ⇢ collision_box_shaderJohn Firebaugh2016-05-255-4/+4
|
* [core] Remove unused dot shaderJohn Firebaugh2016-05-257-60/+0
|
* [core] rename TileData::State to DataAvailability and make it privateKonstantin Käfer2016-05-2510-60/+55
|
* [core] split TileData::State::obsolete into its own thingKonstantin Käfer2016-05-258-28/+23
|
* [core] normalize TileData::State::obsolete handlingKonstantin Käfer2016-05-252-12/+5
|
* [core] remove TileData::State::loadedKonstantin Käfer2016-05-255-28/+11
|
* [core] remove unused TileData::hasData()Konstantin Käfer2016-05-255-14/+0
|
* [core] remove unused TileData::State::invalidKonstantin Käfer2016-05-253-11/+1
|
* [core] TileData::isReady() => TileData::isRenderable()Konstantin Käfer2016-05-255-14/+10
|
* [core] use #pragma once instead of ifdef include guardsKonstantin Käfer2016-05-25148-592/+148
|
* [core] Move GLFW stencil clip debug to coreBruno de Oliveira Abinader2016-05-244-0/+53
| | | | | | This makes the stencil clip debug available to all platforms. Fixes #4669.
* [core] Added PixelZoom, RasterPos to GL configBruno de Oliveira Abinader2016-05-242-0/+17
|
* [core] move *Observers to their own filesKonstantin Käfer2016-05-2316-75/+139
|
* [core] move RenderItem and GlyphRange to their own headersKonstantin Käfer2016-05-236-20/+41
|
* [core] Restore default texture unitThiago Marcos P. Santos2016-05-231-0/+1
| | | | Play nice with the GL context when we are sharing it.