Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] Rationalize naming for style-related code | John Firebaugh | 2016-06-02 | 119 | -661/+831 |
| | |||||
* | [core] Add {min,max}Zoom accessors | John Firebaugh | 2016-06-02 | 1 | -0/+16 |
| | |||||
* | [core] Add Filter accessors | John Firebaugh | 2016-06-02 | 6 | -113/+40 |
| | |||||
* | [core] Introduce PropertyValue<T> | John Firebaugh | 2016-06-02 | 17 | -465/+542 |
| | | | | PropertyValue<T> represents the three possible types of style property value: undefined, constant, or function. | ||||
* | [core] Generalize Map::{add,remove}CustomLayer | John Firebaugh | 2016-06-02 | 1 | -10/+3 |
| | |||||
* | [core] Runtime style layer API | John Firebaugh | 2016-06-02 | 89 | -1078/+2155 |
| | |||||
* | [tests] Tweak LineAnnotation test so that it reveals a bug; fix the bug | John Firebaugh | 2016-06-02 | 1 | -1/+1 |
| | |||||
* | [core] Constrain annotation API to the supported geometry types | John Firebaugh | 2016-06-01 | 10 | -25/+10 |
| | |||||
* | [all] Rationalize annotation API | John Firebaugh | 2016-06-01 | 14 | -220/+269 |
| | |||||
* | [core] Use geometry.hpp types for shape annotations | John Firebaugh | 2016-06-01 | 3 | -23/+86 |
| | |||||
* | [core] Do annotation longitude wrapping together with latitude clamping | John Firebaugh | 2016-06-01 | 1 | -2/+3 |
| | |||||
* | [core] Store feature keys in same order as in vector tile | Minh Nguyễn | 2016-06-01 | 1 | -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 tests | Bruno de Oliveira Abinader | 2016-06-01 | 2 | -3/+19 |
| | |||||
* | [core] Use unique_resource for GL objects | Bruno de Oliveira Abinader | 2016-06-01 | 17 | -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 Abinader | 2016-06-01 | 67 | -266/+266 |
| | |||||
* | [core] Update sdf shader code | Bruno de Oliveira Abinader | 2016-06-01 | 4 | -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 code | Bruno de Oliveira Abinader | 2016-06-01 | 3 | -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 rings | Young Hahn | 2016-05-31 | 3 | -1/+19 |
| | |||||
* | [core] Run fixupPolygons on geojson-vt-cpp polygon output | John Firebaugh | 2016-05-31 | 2 | -0/+10 |
| | |||||
* | [core] Fix up v1 vector tile geometries with clipper | John Firebaugh | 2016-05-31 | 4 | -1/+76 |
| | |||||
* | [core] Run fix_members.sh on clipper code | John Firebaugh | 2016-05-31 | 3 | -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-mapnik | John Firebaugh | 2016-05-31 | 2 | -0/+6137 |
| | | | | Revision ac8d6bf2517f46c05647b5c19cac113fb180ffb4 | ||||
* | [core] Replace clipper and libtess with earcut.hpp | John Firebaugh | 2016-05-31 | 20 | -10359/+50 |
| | |||||
* | [core] Use init list for shader attributes | Bruno de Oliveira Abinader | 2016-05-31 | 6 | -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 code | Bruno de Oliveira Abinader | 2016-05-31 | 4 | -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 polygons | Minh Nguyễn | 2016-05-27 | 1 | -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. Santos | 2016-05-27 | 1 | -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 algorithm | Konstantin Käfer | 2016-05-27 | 2 | -67/+84 |
| | |||||
* | [core] remove unused template definition | Konstantin Käfer | 2016-05-27 | 4 | -104/+81 |
| | |||||
* | [core] AnnotationTileLayer vends its own name (#5163) | Minh Nguyễn | 2016-05-26 | 4 | -3/+11 |
| | | | Fixes #5159. | ||||
* | [core] s/operator bool/created()/ in {GL,TexturePool}Holder | Bruno de Oliveira Abinader | 2016-05-26 | 10 | -27/+29 |
| | | | | Prevents confusing usage of GL holder objects. | ||||
* | [core] Move objectStore in {GL,TexturePool}Holder::reset() | Bruno de Oliveira Abinader | 2016-05-26 | 2 | -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 Firebaugh | 2016-05-25 | 4 | -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 Firebaugh | 2016-05-25 | 11 | -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-js | John Firebaugh | 2016-05-25 | 27 | -679/+9 |
| | |||||
* | [core] box_shader ⇢ collision_box_shader | John Firebaugh | 2016-05-25 | 5 | -4/+4 |
| | |||||
* | [core] Remove unused dot shader | John Firebaugh | 2016-05-25 | 7 | -60/+0 |
| | |||||
* | [core] rename TileData::State to DataAvailability and make it private | Konstantin Käfer | 2016-05-25 | 10 | -60/+55 |
| | |||||
* | [core] split TileData::State::obsolete into its own thing | Konstantin Käfer | 2016-05-25 | 8 | -28/+23 |
| | |||||
* | [core] normalize TileData::State::obsolete handling | Konstantin Käfer | 2016-05-25 | 2 | -12/+5 |
| | |||||
* | [core] remove TileData::State::loaded | Konstantin Käfer | 2016-05-25 | 5 | -28/+11 |
| | |||||
* | [core] remove unused TileData::hasData() | Konstantin Käfer | 2016-05-25 | 5 | -14/+0 |
| | |||||
* | [core] remove unused TileData::State::invalid | Konstantin Käfer | 2016-05-25 | 3 | -11/+1 |
| | |||||
* | [core] TileData::isReady() => TileData::isRenderable() | Konstantin Käfer | 2016-05-25 | 5 | -14/+10 |
| | |||||
* | [core] use #pragma once instead of ifdef include guards | Konstantin Käfer | 2016-05-25 | 148 | -592/+148 |
| | |||||
* | [core] Move GLFW stencil clip debug to core | Bruno de Oliveira Abinader | 2016-05-24 | 4 | -0/+53 |
| | | | | | | This makes the stencil clip debug available to all platforms. Fixes #4669. | ||||
* | [core] Added PixelZoom, RasterPos to GL config | Bruno de Oliveira Abinader | 2016-05-24 | 2 | -0/+17 |
| | |||||
* | [core] move *Observers to their own files | Konstantin Käfer | 2016-05-23 | 16 | -75/+139 |
| | |||||
* | [core] move RenderItem and GlyphRange to their own headers | Konstantin Käfer | 2016-05-23 | 6 | -20/+41 |
| | |||||
* | [core] Restore default texture unit | Thiago Marcos P. Santos | 2016-05-23 | 1 | -0/+1 |
| | | | | Play nice with the GL context when we are sharing it. |