Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [build] Remove #pragma diagnostic for boost | Thiago Marcos P. Santos | 2018-11-01 | 3 | -38/+0 |
| | | | | | Boost is now included as a system header and the compiler should ignore it when issuing warnings. | ||||
* | Introduce the style::Layer factory classes | Mikhail Pozdnyakov | 2018-10-31 | 12 | -112/+281 |
| | | | | | | | | | This patch introduces the initial implementation of - A `LayerFactory` abstract class that creates `style::Layer` instances of a certain layer type (line, hillshade, round, ..) - A singleton `LayerManager` class, which is responsible for initializing the `LayerFactory` instances and forwarding the `create()` calls to the corresponding factory. | ||||
* | Remove style::Layer::is()/as() | Mikhail Pozdnyakov | 2018-10-31 | 3 | -7/+4 |
| | |||||
* | Consolidate `style::Layer` properties API | Mikhail Pozdnyakov | 2018-10-25 | 13 | -537/+97 |
| | | | | | | | | The `style::Layer` class now exposes all the properties contained at `style::LayerImpl`. This allowed to drop `style::Layer::accept()` method usage, avoid the repeated generated code and thus save some binary size. This patch is a part of the layers modularization effort. | ||||
* | [core] Added RendererState::has{Image,Layer,Source} | Bruno de Oliveira Abinader | 2018-10-25 | 1 | -0/+32 |
| | |||||
* | [core] add priorities to resources | Huyen Chau Nguyen | 2018-10-23 | 2 | -12/+21 |
| | | | | | - priorities can be low or regular - offline downloads should have low priority to not throttle "regular requests" | ||||
* | [core] address nits | Konstantin Käfer | 2018-10-23 | 3 | -5/+5 |
| | |||||
* | [core] refactor util::toString to use RapidJSON's stringification | Konstantin Käfer | 2018-10-23 | 1 | -7/+55 |
| | |||||
* | [core] remove special case for Windows | Konstantin Käfer | 2018-10-23 | 1 | -16/+0 |
| | |||||
* | [core] remove some uses of <iostream> and <sstream> | Konstantin Käfer | 2018-10-23 | 14 | -46/+22 |
| | |||||
* | [core] don't use <boost/functional/hash.hpp> to avoid <locale> include | Konstantin Käfer | 2018-10-23 | 8 | -32/+56 |
| | |||||
* | [core] unify UTF-8/16 conversion to <boost/locale/encoding_utf.hpp> | Konstantin Käfer | 2018-10-23 | 3 | -6/+4 |
| | |||||
* | [core] remove use of <boost/algorithm/string.hpp> | Konstantin Käfer | 2018-10-23 | 4 | -6/+7 |
| | |||||
* | [core] don't use <sstream> and <iomanip> for string construction | Konstantin Käfer | 2018-10-23 | 3 | -30/+35 |
| | |||||
* | [core] add the ability to stringy numbers as hex | Konstantin Käfer | 2018-10-23 | 1 | -0/+19 |
| | |||||
* | [core] add ability to stringify doubles that are integer with and without ↵ | Konstantin Käfer | 2018-10-23 | 3 | -9/+10 |
| | | | | trailing ".0" | ||||
* | [core] deduplicate dtoa() from RapidJSON and add tests | Konstantin Käfer | 2018-10-23 | 1 | -90/+7 |
| | |||||
* | [core] Introduce mbgl::RendererState | Bruno de Oliveira Abinader | 2018-10-19 | 2 | -0/+11 |
| | |||||
* | [core] Add TransformState::getCameraOptions() | Bruno de Oliveira Abinader | 2018-10-19 | 3 | -7/+24 |
| | |||||
* | [core] CameraOptions receives and outputs angle and pitch as degrees, not ↵ | Bruno de Oliveira Abinader | 2018-10-19 | 2 | -9/+9 |
| | | | | radians | ||||
* | [Core] Ensure queryRenderedFeatures accounts for icon-rotate (#13105) | Ryan Hamley | 2018-10-18 | 5 | -30/+58 |
| | |||||
* | [core, tests] Don't break text-field support "identity functions" | Chris Loer | 2018-10-15 | 1 | -0/+3 |
| | |||||
* | [core] Initial implementation of 'format' expression | Chris Loer | 2018-10-15 | 33 | -142/+703 |
| | |||||
* | [core] Bidi support for styled text. | Chris Loer | 2018-10-15 | 1 | -0/+4 |
| | | | | Remove use of QString from non-ICU Qt stub bidi implementation since we weren't making use of it. | ||||
* | [core,test] Update expression style parsing test fixture. | Chris Loer | 2018-10-15 | 1 | -18/+14 |
| | | | | Always clear errors before trying automatic coercion for a new compound expression overload. | ||||
* | [core] Add automatic argument coercion for compound expressions with ↵ | Chris Loer | 2018-10-15 | 1 | -64/+91 |
| | | | | multiple overloads. | ||||
* | Reserve vector storage in the convert filter code | Mikhail Pozdnyakov | 2018-10-10 | 2 | -4/+7 |
| | |||||
* | [core] only generate clip ids for clipped layers | Molly Lloyd | 2018-10-03 | 1 | -2/+5 |
| | |||||
* | [core] don't prefetch AnnotationTiles | Molly Lloyd | 2018-10-03 | 1 | -1/+1 |
| | |||||
* | [core] fix flickering caused by incorrect ClipIDs | Molly Lloyd | 2018-10-03 | 1 | -1/+1 |
| | | | | we missed a check for RenderTile.needsClipping when generating the new ClipIDs for some tiles, resulting in incorrect clipping that caused flickering in some cases | ||||
* | [core] Read style's transition from parser | Bruno de Oliveira Abinader | 2018-10-03 | 2 | -3/+3 |
| | |||||
* | [core] Do not constrain on X axis in ConstrainMode::HeightOnly | Bruno de Oliveira Abinader | 2018-10-02 | 1 | -10/+15 |
| | |||||
* | [core] don't break ascent in the overscaled tile phase | Konstantin Käfer | 2018-09-21 | 1 | -5/+4 |
| | | | | We optimize our updateRenderable algorithm by breaking ascent when we've already checked a certain tile. So far, we've compared the UnwrappedTileIDs, but they don't include the overscale component. When ascending through overscaled tile IDs, we've stopped the ascent too early, when we should've kept the search going. | ||||
* | [core] Don't log GL renderer string on every context initialization | Ander Conselvan de Oliveira | 2018-09-21 | 1 | -2/+5 |
| | | | | | | | | | | Commit 1c53dc9ca8d9 ([core] Refactor vertex array object extension initialization) changed where the GL renderer string is checked in order to prevent the vertex array extension initialization in certain platforms and in doing so made the logging of that string more frequent, once per context initialization instead of at most once per process. This is a lot more verbose, specially when running unit tests, so make sure that string is logged at most once as it was previously. | ||||
* | [docs] First uncompressed shader source diff | Chris Loer | 2018-09-19 | 1 | -49/+9 |
| | |||||
* | [docs] Include uncompressed shader source in .cpp comments | Chris Loer | 2018-09-19 | 25 | -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 Loer | 2018-09-19 | 13 | -1567/+1567 |
| | |||||
* | [core] For string-valued properties, do coercion rather than assertion | John Firebaugh | 2018-09-19 | 6 | -36/+58 |
| | |||||
* | [core] Auto-convert concat arguments to strings | John Firebaugh | 2018-09-19 | 2 | -9/+13 |
| | |||||
* | [core] prevent crash when expression for pattern evaluates to "" (#12896) | Molly Lloyd | 2018-09-18 | 1 | -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 Direct3D | Ander Conselvan de Oliveira | 2018-09-14 | 1 | -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 initialization | Ander Conselvan de Oliveira | 2018-09-14 | 2 | -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 documented | John Firebaugh | 2018-09-13 | 1 | -0/+1 |
| | |||||
* | [core] Implement array assertion fallback behavior | John Firebaugh | 2018-09-13 | 4 | -124/+77 |
| | | | | This was added in gl-js in #7095. | ||||
* | [core] to-color should be idempotent | John Firebaugh | 2018-09-13 | 1 | -0/+3 |
| | | | | Ports https://github.com/mapbox/mapbox-gl-js/pull/7260. | ||||
* | [core] ["to-array", <item type>, <empty array>] should work for any item type | John Firebaugh | 2018-09-13 | 1 | -4/+12 |
| | | | | Ports https://github.com/mapbox/mapbox-gl-js/pull/7261. | ||||
* | [linux,qt] Remove remainder of WebP support | Konstantin Käfer | 2018-09-13 | 1 | -13/+1 |
| | |||||
* | [core] Enable face culling for fill extrusion layers | Bruno de Oliveira Abinader | 2018-09-13 | 2 | -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::draw | Bruno de Oliveira Abinader | 2018-09-13 | 23 | -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 Loer | 2018-09-12 | 11 | -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. |