summaryrefslogtreecommitdiff
path: root/include/mbgl
Commit message (Collapse)AuthorAgeFilesLines
...
* [core] Immutable<Impl> for ImageJohn Firebaugh2017-05-151-6/+3
|
* [core] Split style image collection from SpriteAtlasIvo van Dongen2017-05-121-5/+12
|
* [core] Replace createRender{Source,Layer} with Render{Source,Layer}::createJohn Firebaugh2017-05-121-9/+0
| | | | | * Eliminates the need for EnableImmutableFromThis * Eliminates the dependency of {Source,Layer}::Impl on corresponding Render class (circular dependency)
* [core] Return {Source,Layer}::getID by valueJohn Firebaugh2017-05-122-2/+2
| | | | | | | | | | Avoid dangling references in the following sequence: auto& id = layer->getID(); layer->setMaxZoom(2); std::cout << id; The reference would be dangling because mutating the layer allocates a new Immutable impl, and there may be no references to the prior impl, which held the id.
* [core] Immutable ImplsJohn Firebaugh2017-05-1218-79/+336
|
* [tidy] modernize-raw-string-literalBruno de Oliveira Abinader2017-05-122-2/+2
|
* [tidy] modernize-pass-by-valueBruno de Oliveira Abinader2017-05-121-2/+4
|
* [tidy] modernize-use-usingBruno de Oliveira Abinader2017-05-122-2/+2
|
* [tidy] modernize-use-autoBruno de Oliveira Abinader2017-05-121-3/+3
|
* [tidy] llvm-namespace-commentBruno de Oliveira Abinader2017-05-121-1/+1
|
* [core] Make deleted members publicBruno de Oliveira Abinader2017-05-121-2/+4
| | | | warning: deleted member function should be public [modernize-use-equals-delete]
* [core] Remove StyleSourcedAnnotation supportJohn Firebaugh2017-05-101-9/+1
| | | | The functionality this provided has been subsumed by the runtime styling API.
* [core, android] Factor JSON string conversionsJohn Firebaugh2017-05-082-4/+12
| | | | | | | | | | | This adds a `convertJSON` template, to be used like: Error error optional<Foo> foo = convertJSON<Foo>(string, error); Internally, it parses the string with RapidJSON and then calls `convert<Foo>(parsed, error)`. While here, rationalize GeoJSON converters and fix error handling for Tileset conversion in OfflineDownload.
* [core] delegate light changes to render lightIvo van Dongen2017-05-083-15/+17
|
* [core] generated accessor methods on lightIvo van Dongen2017-05-083-46/+77
|
* [core] Reuse fill-extrusion textures between frames (#8896)Lauren Budorick2017-05-081-3/+1
|
* [core] Remove unused declarationJohn Firebaugh2017-05-051-5/+0
|
* [core] Make Map.addImage tests pass (#8843)Asheem Mamoowala2017-05-022-1/+16
| | | | | Fix Node tests suite implementation to parse pixelRatio from style json Premultiply images in the node binding before sending to mbgl core
* [core] Refactor Source::*Impls into RenderSources and TilePyramidJohn Firebaugh2017-05-022-19/+1
|
* [all] Push querySourceFeatures back out to MapJohn Firebaugh2017-05-024-27/+12
| | | | Once Source and RendererSource are split, Source will no longer have access to tiles.
* [core] Render fill-extrusion layers (#8431)Lauren Budorick2017-04-2712-35/+408
|
* [core] split off render layersIvo van Dongen2017-04-2510-31/+41
|
* [all] Rationalize style::ImageJohn Firebaugh2017-04-242-15/+11
| | | | | | | A style has a collection of images, just as it has collections of sources and layers. * Name things appropriately * Use std::unique_ptr
* [android] use AAssetManager instead of libzipKonstantin Käfer2017-04-241-0/+3
|
* [core] More complete fix for composite function interpolation edge caseJohn Firebaugh2017-04-201-3/+0
| | | | b5b4549 / #8613 handled the edge case for layout properties, but not paint properties. Move the check for a degenerate range to interpolationFactor in order to handle both correctly.
* [core] Move ProjectedMeters to projection.hppJohn Firebaugh2017-04-182-29/+28
|
* [core] Remove non-Map-dependent projection methods from MapJohn Firebaugh2017-04-181-3/+0
|
* [core] Tighten geo.hpp ctorsBruno de Oliveira Abinader2017-04-142-43/+72
|
* [core] TransitionOptions s/operator bool/isDefined/Bruno de Oliveira Abinader2017-04-141-1/+1
|
* [core] Remove unused bool() functionsBruno de Oliveira Abinader2017-04-141-2/+0
|
* [core, darwin] Object identity for MGLSource*, MGLStyleLayer*John Firebaugh2017-04-133-0/+22
| | | | All `MGLSource` pointers referencing the same logical source will now be object identical; similarly for `MGLStyleLayer`.
* [all] Remove redundant scale-related camera methodsJohn Firebaugh2017-04-131-4/+1
| | | | We don't need to have two different measurement systems for map zoom.
* [core] Revert use of optional<EdgeInsets>, because EdgeInsets has a natural ↵John Firebaugh2017-04-113-11/+14
| | | | "empty" state
* [core] Added {set,get}{Min,Max}PitchBruno de Oliveira Abinader2017-04-111-0/+4
|
* [core] Added Map::{get,set}LatLngBoundsBruno de Oliveira Abinader2017-04-111-0/+2
|
* [core] Added LatLngBounds::{valid,constrain}Bruno de Oliveira Abinader2017-04-111-0/+15
|
* [core] Move {Map,Transform}::{get,set}{Min,Max}Zoom to bounds pragmaBruno de Oliveira Abinader2017-04-111-2/+4
|
* [core] Updated Size::isEmpty and TransformState::valid checksBruno de Oliveira Abinader2017-04-102-7/+6
|
* [core] Add DDS support for {text,icon}-size (#8593)Anand Thakker2017-04-064-9/+18
| | | | | | | | | | | | | | | | | | | | | | | | * Update gl-js and generate style code * Factor out packUint8Pair() helper function * Draft implementation of DDS for {text,icon}-size Ports https://github.com/mapbox/mapbox-gl-js/pull/4455 * Fix text-size/composite-function-line-placement test * Refactor to PaintPropertyBinders-like strategy * Dedupe gl::Program construction * Use exponential function base for interpolation * Dedupe coveringZoomStops method * Fixup tests * Fix CI errors (hidden within #if block)
* [all] Make LatLng coordinates read-onlyJohn Firebaugh2017-04-062-41/+45
|
* [core] Tighten LatLng and other geo.hpp classesJohn Firebaugh2017-04-061-17/+18
| | | | | * Remove LatLng::null and enforce invariants * Remove unnecessary operator bool()
* Fix edge case in composite function interpolation (#8613)Anand Thakker2017-04-031-1/+8
| | | | | | | | | | | | | | | | This fixes a bug where, for a zoom value greater than that of the highest zoom stop, composite function interpolation would return nan. (Blocking a render test over in #8593) * Add failing tests for composite function edge case The failing cases here are: - Should interpolate before the first stop - Should interpolate past the last stop * Fix edge case in composite function interpolation * Hold functions constant outside stop-defined domain
* [core] Add DDS support for icon-imageJohn Firebaugh2017-03-312-4/+4
|
* [core] Add DDS support for text-rotateJohn Firebaugh2017-03-312-4/+4
|
* [core] implement dds for text-offsetMolly Lloyd2017-03-282-4/+4
|
* [core] Privatize gl/gl.hppKonstantin Käfer2017-03-281-50/+0
|
* [core] Privatize OpenGL/Context headersKonstantin Käfer2017-03-281-0/+26
|
* [node] Move util/async_task.hpp to public include directoryKonstantin Käfer2017-03-281-0/+24
|
* [core] Move map/change.hpp to public include directoryJohn Firebaugh2017-03-281-0/+26
|
* [core] Move actor/{mailbox,scheduler}.hpp to public include directoryJohn Firebaugh2017-03-282-0/+71
| | | | Map constructor takes Scheduler&, and consumers are expected to define an implementation. Therefore the interface must be public.