summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [core][android] Introduce mbgl::style::LayerTypeInfoupstream/mikhail_LayerTypeInfoMikhail Pozdnyakov2018-11-1524-188/+120
| | | | | | | | | The `LayerTypeInfo` contains static meta data about certain layer type. Each layer module should have a single immutable `LayerTypeInfo` instance for the represented layer type. Both `LayerImpl` and `LayerFactory` from the module always refer to the same `LayerTypeInfo` instance, so address of this instance can be used as a layer module Id during the process life time.
* [core] Add RendererState::{pixelForLatLng,latLngForPixel}Bruno de Oliveira Abinader2018-11-141-4/+19
|
* [build] Update to geometry v1.0.0Bruno de Oliveira Abinader2018-11-1317-49/+50
|
* noexcept specifier for layer factory methodsMikhail Pozdnyakov2018-11-0724-46/+46
|
* Refer corresponding LayerFactory instance from the Layer::ImplMikhail Pozdnyakov2018-11-0724-78/+230
|
* [core] Change toLowerHex to produce lower hex sequencesAlexander Shalamov2018-11-071-1/+1
|
* [build] Remove #pragma diagnostic for boostThiago Marcos P. Santos2018-11-013-38/+0
| | | | | Boost is now included as a system header and the compiler should ignore it when issuing warnings.
* Introduce the style::Layer factory classesMikhail Pozdnyakov2018-10-3112-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 Pozdnyakov2018-10-313-7/+4
|
* Consolidate `style::Layer` properties APIMikhail Pozdnyakov2018-10-2513-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 Abinader2018-10-251-0/+32
|
* [core] add priorities to resourcesHuyen Chau Nguyen2018-10-232-12/+21
| | | | | - priorities can be low or regular - offline downloads should have low priority to not throttle "regular requests"
* [core] address nitsKonstantin Käfer2018-10-233-5/+5
|
* [core] refactor util::toString to use RapidJSON's stringificationKonstantin Käfer2018-10-231-7/+55
|
* [core] remove special case for WindowsKonstantin Käfer2018-10-231-16/+0
|
* [core] remove some uses of <iostream> and <sstream>Konstantin Käfer2018-10-2314-46/+22
|
* [core] don't use <boost/functional/hash.hpp> to avoid <locale> includeKonstantin Käfer2018-10-238-32/+56
|
* [core] unify UTF-8/16 conversion to <boost/locale/encoding_utf.hpp>Konstantin Käfer2018-10-233-6/+4
|
* [core] remove use of <boost/algorithm/string.hpp>Konstantin Käfer2018-10-234-6/+7
|
* [core] don't use <sstream> and <iomanip> for string constructionKonstantin Käfer2018-10-233-30/+35
|
* [core] add the ability to stringy numbers as hexKonstantin Käfer2018-10-231-0/+19
|
* [core] add ability to stringify doubles that are integer with and without ↵Konstantin Käfer2018-10-233-9/+10
| | | | trailing ".0"
* [core] deduplicate dtoa() from RapidJSON and add testsKonstantin Käfer2018-10-231-90/+7
|
* [core] Introduce mbgl::RendererStateBruno de Oliveira Abinader2018-10-192-0/+11
|
* [core] Add TransformState::getCameraOptions()Bruno de Oliveira Abinader2018-10-193-7/+24
|
* [core] CameraOptions receives and outputs angle and pitch as degrees, not ↵Bruno de Oliveira Abinader2018-10-192-9/+9
| | | | radians
* [Core] Ensure queryRenderedFeatures accounts for icon-rotate (#13105)Ryan Hamley2018-10-185-30/+58
|
* [core, tests] Don't break text-field support "identity functions"Chris Loer2018-10-151-0/+3
|
* [core] Initial implementation of 'format' expressionChris Loer2018-10-1533-142/+703
|
* [core] Bidi support for styled text.Chris Loer2018-10-151-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 Loer2018-10-151-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 Loer2018-10-151-64/+91
| | | | multiple overloads.
* Reserve vector storage in the convert filter codeMikhail Pozdnyakov2018-10-102-4/+7
|
* [core] only generate clip ids for clipped layersMolly Lloyd2018-10-031-2/+5
|
* [core] don't prefetch AnnotationTilesMolly Lloyd2018-10-031-1/+1
|
* [core] fix flickering caused by incorrect ClipIDsMolly Lloyd2018-10-031-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 parserBruno de Oliveira Abinader2018-10-032-3/+3
|
* [core] Do not constrain on X axis in ConstrainMode::HeightOnlyBruno de Oliveira Abinader2018-10-021-10/+15
|
* [core] don't break ascent in the overscaled tile phaseKonstantin Käfer2018-09-211-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 initializationAnder Conselvan de Oliveira2018-09-211-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 diffChris Loer2018-09-191-49/+9
|
* [docs] Include uncompressed shader source in .cpp commentsChris Loer2018-09-1925-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 Loer2018-09-1913-1567/+1567
|
* [core] For string-valued properties, do coercion rather than assertionJohn Firebaugh2018-09-196-36/+58
|
* [core] Auto-convert concat arguments to stringsJohn Firebaugh2018-09-192-9/+13
|
* [core] prevent crash when expression for pattern evaluates to "" (#12896)Molly Lloyd2018-09-181-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 Direct3DAnder Conselvan de Oliveira2018-09-141-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 initializationAnder Conselvan de Oliveira2018-09-142-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 documentedJohn Firebaugh2018-09-131-0/+1
|
* [core] Implement array assertion fallback behaviorJohn Firebaugh2018-09-134-124/+77
| | | | This was added in gl-js in #7095.