Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] Merge TexturePool into ObjectStore; pool all textures (#5477) | John Firebaugh | 2016-06-27 | 14 | -23/+18 |
| | |||||
* | [core] remove TexturePool dependency from Raster constructor | Konstantin Käfer | 2016-06-22 | 14 | -27/+29 |
| | |||||
* | [core] s/Wireframe/Overdraw/g | Bruno de Oliveira Abinader | 2016-06-20 | 8 | -17/+17 |
| | |||||
* | [core] Refactor wireframe to match JS overdraw mode | Bruno de Oliveira Abinader | 2016-06-20 | 8 | -47/+31 |
| | |||||
* | [core] Avoid redundant 'inline' usage | Bruno de Oliveira Abinader | 2016-06-18 | 2 | -3/+3 |
| | |||||
* | [core] Cleaned up enum classes | Bruno de Oliveira Abinader | 2016-06-18 | 1 | -5/+5 |
| | | | | | - Replaced static_cast with C++ casts. - Replaced inline with constexpr. | ||||
* | [core] Runtime source API: private impls | John Firebaugh | 2016-06-16 | 1 | -2/+3 |
| | |||||
* | [core] Update test suite; use linear interpolation for rotated icons | John Firebaugh | 2016-06-15 | 1 | -0/+2 |
| | |||||
* | [core] Prepare Filter and FilterEvaluator for extraction (#5366) | John Firebaugh | 2016-06-15 | 1 | -3/+1 |
| | |||||
* | Support for icon-text-fit, icon-text-fit-padding (#5334) | Young Hahn | 2016-06-15 | 1 | -1/+1 |
| | | | | | | | | | | * Add support for icon-text-fit * Port unit tests for getIconQuads() from js => cpp * Add support for padding in all 4 directions. * Update all hashes post-merge | ||||
* | [core] Add a few conveniences to Color | John Firebaugh | 2016-06-15 | 6 | -9/+9 |
| | |||||
* | [core] Removed duplicated code in circle shader blur | Bruno de Oliveira Abinader | 2016-06-15 | 1 | -7/+1 |
| | | | | Antialiased blur calculation now happens inside the vertex shader code. | ||||
* | [core] Fix sublayer depth when drawing stroke | Bruno de Oliveira Abinader | 2016-06-15 | 1 | -1/+13 |
| | | | | Port from -js: https://github.com/mapbox/mapbox-gl-js/commit/002c69071275997886fd98aa4dbc6025eed36a86 | ||||
* | [core] Cleaned up Painter::render{Background,Fill} | Bruno de Oliveira Abinader | 2016-06-15 | 2 | -62/+53 |
| | |||||
* | [core] Separate pattern size from draw-time variables | Bruno de Oliveira Abinader | 2016-06-15 | 2 | -74/+29 |
| | | | | Part of https://github.com/mapbox/mapbox-gl-shaders/issues/1. | ||||
* | Color class (#5361) | Young Hahn | 2016-06-15 | 7 | -13/+14 |
| | | | | | | * Color class * Switch to list initialization | ||||
* | [tidy/linux] modernize-use-default | Bruno de Oliveira Abinader | 2016-06-14 | 1 | -3/+2 |
| | |||||
* | [core] Add Source::startRender for parallelism with finishRender | John Firebaugh | 2016-06-14 | 1 | -5/+1 |
| | |||||
* | [tidy] Check modernize-use-default | Bruno de Oliveira Abinader | 2016-06-13 | 1 | -2/+1 |
| | | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-use-default.html | ||||
* | [tidy] Check modernize-pass-by-value | Bruno de Oliveira Abinader | 2016-06-13 | 3 | -7/+5 |
| | | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-pass-by-value.html | ||||
* | [tidy] Check llvm-namespace-comment | Bruno de Oliveira Abinader | 2016-06-13 | 15 | -19/+19 |
| | | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/llvm-namespace-comment.html | ||||
* | [core] *Tile ↔ *TileData | John Firebaugh | 2016-06-13 | 9 | -25/+25 |
| | | | | Tile is now the main base class; RasterTile, VectorTile, etc are its subclasses. GeometryTileData and its subclasses form the piece that's passed to the worker. | ||||
* | [core] Tile ⇢ RenderTile | John Firebaugh | 2016-06-13 | 6 | -8/+39 |
| | |||||
* | [core] Update line-pattern shader code/tests | Bruno de Oliveira Abinader | 2016-06-13 | 1 | -2/+2 |
| | | | | | | | | | Refs: - mapbox-gl-test-suite: https://github.com/mapbox/mapbox-gl-test-suite/pull/107 - mapbox-gl-shaders: https://github.com/mapbox/mapbox-gl-shaders/pull/17 - mapbox-gl-js: https://github.com/mapbox/mapbox-gl-js/pull/2724 Part of https://github.com/mapbox/mapbox-gl-shaders/issues/1. | ||||
* | [core] fix pedantic warning messages | Konstantin Käfer | 2016-06-13 | 2 | -2/+2 |
| | |||||
* | text-pitch-alignment (#5288) | Young Hahn | 2016-06-10 | 3 | -20/+34 |
| | | | | | | | | | | | | * First pass at port of https://github.com/mapbox/mapbox-gl-js/pull/2668 * RotationAlignmentType => AlignmentType * Handle undefined default value for text-pitch-alignment and implement inheritance for this value from text-rotation-alignment * Update dependencies * Move handling fo undefined default value out of camelize functions | ||||
* | [core] Renamed OutlineShader's color uniform | Bruno de Oliveira Abinader | 2016-06-07 | 1 | -2/+2 |
| | | | | Part of https://github.com/mapbox/mapbox-gl-shaders/issues/8. | ||||
* | [core] remove unused code | Konstantin Käfer | 2016-06-07 | 1 | -11/+0 |
| | |||||
* | [core] Naive atomic type for ARMv5 | Thiago Marcos P. Santos | 2016-06-06 | 1 | -3/+2 |
| | | | | | | | std::atomic<bool> is implemented lock free which doesn't work on ARMv5 and seems like the compiler is generating bogus code. This workaround is a naive implementation using regular mutexes. | ||||
* | [core] Move RenderData alongside RenderItem | John Firebaugh | 2016-06-02 | 2 | -3/+40 |
| | |||||
* | [core] Rationalize naming for style-related code | John Firebaugh | 2016-06-02 | 20 | -76/+127 |
| | |||||
* | [core] Runtime style layer API | John Firebaugh | 2016-06-02 | 19 | -33/+38 |
| | |||||
* | [core] Use unique_resource for GL objects | Bruno de Oliveira Abinader | 2016-06-01 | 2 | -6/+7 |
| | | | | | | | | | 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 | 25 | -138/+138 |
| | |||||
* | [core] Update sdf shader code | Bruno de Oliveira Abinader | 2016-06-01 | 3 | -25/+16 |
| | | | | | 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 | 2 | -24/+12 |
| | | | | | 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 | 1 | -1/+4 |
| | |||||
* | [core] Replace clipper and libtess with earcut.hpp | John Firebaugh | 2016-05-31 | 2 | -167/+50 |
| | |||||
* | [core] Update circle shader code | Bruno de Oliveira Abinader | 2016-05-31 | 3 | -3/+8 |
| | | | | | | | 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) | ||||
* | [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] s/operator bool/created()/ in {GL,TexturePool}Holder | Bruno de Oliveira Abinader | 2016-05-26 | 1 | -2/+2 |
| | | | | Prevents confusing usage of GL holder objects. | ||||
* | [core] Port "combine line-width and line-gap-width in shader" | John Firebaugh | 2016-05-25 | 1 | -20/+9 |
| | | | | | 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 | 5 | -52/+18 |
| | | | | | https://github.com/mapbox/mapbox-gl-shaders/commit/0d3412519618a3a1672db9fa21f96f90070cf84c https://github.com/mapbox/mapbox-gl-js/commit/1f5afa7db08a2bdcc492a46e500ff5d020e6f4a2 | ||||
* | [core] box_shader ⇢ collision_box_shader | John Firebaugh | 2016-05-25 | 3 | -3/+3 |
| | |||||
* | [core] Remove unused dot shader | John Firebaugh | 2016-05-25 | 3 | -5/+0 |
| | |||||
* | [core] rename TileData::State to DataAvailability and make it private | Konstantin Käfer | 2016-05-25 | 3 | -10/+19 |
| | |||||
* | [core] use #pragma once instead of ifdef include guards | Konstantin Käfer | 2016-05-25 | 11 | -44/+11 |
| | |||||
* | [core] Move GLFW stencil clip debug to core | Bruno de Oliveira Abinader | 2016-05-24 | 3 | -0/+46 |
| | | | | | | This makes the stencil clip debug available to all platforms. Fixes #4669. | ||||
* | [core] move RenderItem and GlyphRange to their own headers | Konstantin Käfer | 2016-05-23 | 1 | -1/+1 |
| | |||||
* | [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. |