summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* [core] make forcing cache/network only more explicitKonstantin Käfer2017-10-124-11/+55
| | | | | | Previously, we used the existence of a `prior*` field in the Resource object as an indication for whether we should consult the cache or not. However, this is prone to error, since a failed cache lookup won't set any prior fields. Therefore, we manually set `priorExpires` to 0. This in turn triggered another bug where generated wrong expiration timestamps when the server response we got was expired (or expired between sending and receiving). This commit changes the flags so that we can now explicitly request CacheOnly/NetworkOnly (or All) loading methods, rather than the implicit Optional/Required naming scheme.
* [core] Add `cameraForLatLngs()` method with modified bearingAsheem Mamoowala2017-10-092-3/+11
|
* [core] Add minzoom to GeoJSONOptionsKonstantin Käfer2017-09-282-0/+11
|
* [build] split out DefaultFileSource and dependents to a separate targetKonstantin Käfer2017-09-281-1/+0
| | | | We don't want to link it into the node bindings, so keep it in a separate target
* [core] Move *TileID hashing to separate implJesse Crocker2017-09-261-0/+263
|
* [core] custom layer - add contextLost callbackIvo van Dongen2017-09-221-0/+16
| | | | - optional callback method that can be used to do cleanup when the context has been lost before re-initialisation
* [core] Actor/ActorRef - ask calls to void methodsIvo van Dongen2017-09-221-0/+26
| | | | - allows to wait for execution of void methods as well as non-void methods
* [core] send signal to RenderCustomLayer when gl context has been lostIvo van Dongen2017-09-221-0/+2
| | | | - Prevents cleaning up of GL resources that no longer exist, resulting in a crash
* [test] add ability to take the OnlineFileSource offlineKonstantin Käfer2017-09-222-0/+4
| | | | This functionality is used for testing to ensure correct offline behavior when connectivity is missing.
* Preserve depth buffer between 3D layers + optimize render order (#9931)Lauren Budorick2017-09-211-0/+2
| | | Port of https://github.com/mapbox/mapbox-gl-js/pull/5101: adds a new render pass `Pass3D` before any other rendering wherein we render layers with 3D passes (fill-extrusion layers) to offscreen framebuffers, sharing a depth renderbuffer between those layers in order to render 3D space correctly. Those framebuffers are saved on the RenderLayers and copied back to the map during the translucent pass. Rendering to offscreen framebuffers before we do any clear + draw means we can avoid expensive framebuffer restores.
* Fix platform dependent number type `unsigned long` -> `uint64_t`Asheem Mamoowala2017-09-201-1/+1
|
* [core] Clear atlasImage rect for a removed patternBruno de Oliveira Abinader2017-09-131-0/+26
|
* Fast tileCount with help from @mapbox/sphericalmercator moduleAsheem Mamoowala2017-09-092-5/+21
|
* [core] Remove debug::renderTreeLauren Budorick2017-09-071-1/+0
|
* [node] Cleanup NodeMap::RenderBruno de Oliveira Abinader2017-08-311-1/+2
|
* [core][ios][macos][android]DDS-ify `text-letter-spacing` and `text-max-width`Asheem Mamoowala2017-08-302-8/+8
|
* [core] enable Thread destruction from arbitrary threadsIvo van Dongen2017-08-301-2/+0
|
* [core] make thread.hpp publicIvo van Dongen2017-08-301-0/+163
|
* Implement icon-anchor propertyLauren Budorick2017-08-283-5/+10
|
* Set Default MaxZoom to 22Asheem Mamoowala2017-08-212-1/+3
|
* [core] Added Style::getDefaultCamera()Bruno de Oliveira Abinader2017-08-111-4/+2
|
* [core] make RunLoop::schedule publicIvo van Dongen2017-08-091-6/+6
|
* [core] current schedulerIvo van Dongen2017-08-091-6/+9
| | | | - Adds a way to set the current scheduler on the thread to be used whenever a mailbox is created that needs to reply on this thread
* [core] Use separate attribute component for line normalsJohn Firebaugh2017-08-091-1/+2
| | | | Broadcom GPUs don't cope well with using the least significant bit for this.
* [core] finish must-revalidate supportKonstantin Käfer2017-08-082-0/+11
|
* [core] make actor self reference optional - againIvo van Dongen2017-08-081-2/+7
| | | | - uses a different method of constructor selection that also works on Apple clang < 8.2.
* [core] Removed unused constructorupstream/tvn-test-ci-time-outThiago Marcos P. Santos2017-08-071-8/+0
| | | | | | | | | | Not in use at the moment, was causing a compiler error on Apple LLVM version 8.0.0 (clang-800.0.42.1). ``` src/mbgl/sprite/sprite_loader.cpp:25:11: error: call to constructor of 'Actor<mbgl::SpriteLoaderWorker>' is ambiguous ```
* [core] Remove std:: namespace for some functionsThiago Marcos P. Santos2017-08-071-2/+2
| | | | They are not available on Android + GCC (needed by Qt)
* [core][android][macos][ios] Implement property functions for line-join, ↵Lauren Budorick2017-07-263-12/+12
| | | | text-justify, text-anchor (#9583)
* [all] Merge View into RendererBackendJohn Firebaugh2017-07-264-23/+7
|
* [core] Fix issues with the std:: namespace and old compilersThiago Marcos P. Santos2017-07-261-0/+25
| | | | Specifically when building Android with GCC 4.9 (which Qt still does :-/)
* [core] fix backend scope handling on render, cleanup and lowmemoryIvo van Dongen2017-07-251-4/+0
| | | | | - Make renderer frontend responsible for creating a BackendScope on render - encapsulate backend scope handling on cleanup and low memory in renderer impl
* [core] make actor self reference optionalIvo van Dongen2017-07-241-3/+15
|
* [core] add ask pattern to actor refIvo van Dongen2017-07-241-0/+21
|
* [core] implement ask pattern in actorIvo van Dongen2017-07-242-0/+46
|
* [core] Fix build; struct ⇢ classJohn Firebaugh2017-07-192-2/+2
|
* [core] No need for default ctor in {Update,Tile}ParametersBruno de Oliveira Abinader2017-07-192-2/+2
|
* [core] Bracket init works for optional<T> in GCC 4.9Bruno de Oliveira Abinader2017-07-193-7/+7
|
* [core] BackendScope prevent double (de-)activationIvo van Dongen2017-07-182-0/+9
| | | | | - Guards against duplicate activations by checking wether the backend of the prior scope is the same as the current ones - Makes sure that only the most outer backend scope deactivates by tracking activation state
* [core] rename backend to renderer backendIvo van Dongen2017-07-183-20/+20
|
* [core] renderer interfaceIvo van Dongen2017-07-185-26/+93
|
* [core] split backend from mapobserverIvo van Dongen2017-07-182-2/+3
|
* [core][ios][android][macos] Use premultiplied image directly for RasterTile ↵Asheem Mamoowala2017-07-171-1/+1
| | | | and ImageSource, un-premultiply in the shader for blending
* [core] Update shaders.Chris Loer2017-07-123-0/+9
| | | | | Implements 'icon-pitch-alignment' (issue #9345) Fixes issue #9456 (map-aligned point label regression)
* [core] GCC 4.9 bracket initialization issuesBruno de Oliveira Abinader2017-07-123-4/+4
|
* [core] GCC 4.9 is unable to deduce ctors when using bracket initBruno de Oliveira Abinader2017-07-124-8/+54
|
* [core] Added MBGL_CONSTEXPR to satisfy GCC 4.9Bruno de Oliveira Abinader2017-07-123-6/+16
|
* [core] GCC 4.9 shadow member warningsBruno de Oliveira Abinader2017-07-121-3/+3
|
* [core] GCC 4.9 does not fully support custom variable templatesBruno de Oliveira Abinader2017-07-126-11/+12
|
* [core] GCC 4.9 does not allow using another member in a constexpr ctorBruno de Oliveira Abinader2017-07-121-4/+4
|