summaryrefslogtreecommitdiff
path: root/src/mbgl/util
Commit message (Collapse)AuthorAgeFilesLines
* [core] Support a range of zooms in TileRange. Accounts for TilePyramid ↵Asheem Mamoowala2018-02-201-20/+40
| | | | requesting parent tiles of ideal zoom tiles.
* [core, ios, macos, android, node] Heatmap layer (#11046)Vladimir Agafonkin2018-02-152-11/+17
| | | | | Co-Authored-By: Konstantin Käfer <mail@kkaefer.com> Co-Authored-By: Anand Thakker <anandthakker@users.noreply.github.com> Co-Authored-By: Minh Nguyễn <1ec5@users.noreply.github.com>
* [core] add raster-dem source type and hillshade layer type (#10642)Molly Lloyd2018-01-231-1/+1
|
* [core] Fix alpha handling in rgba and to-rgba operatorsJohn Firebaugh2018-01-091-3/+3
|
* [windows][core] Use Qt's own zlib on WindowsThiago Marcos P. Santos2018-01-081-0/+4
|
* [windows][core] Include what you useThiago Marcos P. Santos2018-01-081-0/+1
|
* [ios] Ignore Boost's 'implicit conversion loses integer precision' warningBruno de Oliveira Abinader2018-01-081-0/+3
|
* Support TileJSON bounds property (#10701)Asheem Mamoowala2018-01-052-0/+129
| | | | | | | | * [core] Parse TileJSON bounds property * [core] Add TileRange and LatLngBounds::contains(CanonicalTileID) Move LatLngBounds::contains impl to cpp file * [core] Skip tile creation outside of tileset bounds * [core] Fix TileRange for wrapped bounds and use for CustomTileLoader instead of LatLngBounds comparisons for tiles.
* [ios,macos] Darwin implementation of a CoreText-based LocalGlyphRasterizer.Chris Loer2017-12-112-0/+9
| | | | | - Changing font weight does not currently appear to be working. - Glyph metric extraction code not working; currently unused.
* [core] C++ port of TinySDFChris Loer2017-12-112-0/+125
|
* [core] Skip fade animation for placed symbols that are currently offscreen.Chris Loer2017-11-171-1/+1
| | | | | Don't mark items that are outside the collision grid range as placed. Requires new ignore because GL JS issue #5654 allows insertion of symbols outside the CollisionIndex range, and those symbols can cascade in to affect items within the viewport.
* [core] Cleanup in response to review commentsChris Loer2017-11-171-5/+4
|
* [core] Add circle geometries to GridIndex.Chris Loer2017-11-172-51/+338
| | | | | - Adds early exiting "hitTest" query for fast collision detection - GridIndex now determines cell count separately for x and y axes based on grid dimensions.
* [gcc4.9] Keep compatibility with GCC + AndroidThiago Marcos P. Santos2017-10-311-2/+2
| | | | Needed by Qt builds on Android.
* [core] Move SourceType to the 'style' namespaceAnand Thakker2017-10-164-8/+8
|
* [core] Fix out-of-bounds array accessAsheem Mamoowala2017-10-121-1/+1
|
* [build] split out DefaultFileSource and dependents to a separate targetKonstantin Käfer2017-09-281-0/+2
| | | | We don't want to link it into the node bindings, so keep it in a separate target
* Preserve depth buffer between 3D layers + optimize render order (#9931)Lauren Budorick2017-09-212-18/+23
| | | 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-202-3/+3
|
* [core] Rename for clarity: ActiveTexture → ActiveTextureUnitJohn Firebaugh2017-09-111-1/+1
|
* Fast tileCount with help from @mapbox/sphericalmercator moduleAsheem Mamoowala2017-09-082-0/+24
|
* [core] Remove debug::renderTreeLauren Budorick2017-09-071-2/+0
|
* [core] make thread.hpp publicIvo van Dongen2017-08-301-163/+0
|
* [core] Add optional type template parameter to util::unit, so that it ↵Chris Loer2017-08-251-2/+2
| | | | doesn't always pick up the default type of 'double' from util::mag.
* [core] Remove std:: namespace for some functionsThiago Marcos P. Santos2017-08-071-1/+1
| | | | They are not available on Android + GCC (needed by Qt)
* [all] Merge View into RendererBackendJohn Firebaugh2017-07-261-4/+3
|
* [core] Fix issues with the std:: namespace and old compilersThiago Marcos P. Santos2017-07-262-0/+4
| | | | Specifically when building Android with GCC 4.9 (which Qt still does :-/)
* [Qt] Rename files with same nameThiago Marcos P. Santos2017-07-191-0/+0
| | | | | QMake is having some issues with files with same names when building the Qt Location plugin.
* [core] fix undefined behavior for division through 0Konstantin Käfer2017-07-171-0/+13
|
* [core] Use gmtime_s on WindowsThiago Marcos P. Santos2017-07-121-2/+9
| | | | gmtime_r is POSIX
* [core] Use std::to_string on WindowsThiago Marcos P. Santos2017-07-122-1/+14
| | | | Clang on Window's can't parse rapidjson's dtoa.
* [core] Prefer std:: functions over POSIXThiago Marcos P. Santos2017-07-121-4/+2
| | | | s/unlink/std::remove
* [core] fix transformMat4Ansis Brammanis2017-07-111-4/+5
| | | | | It used to overwrite values in the middle of the calculation which would cause problems when `out` and `a` were a reference to the same vector.
* [core] Isolate pthread-based tls implementationThiago Marcos P. Santos2017-07-071-34/+10
|
* [core] Updated script detection for Unicode 10Minh Nguyễn2017-07-061-2/+14
| | | | Updated script detection code to reflect changes in Unicode 10 and UTR 50 revision 17.
* [core] Fix iterator invalidation in erase_ifJohn Firebaugh2017-07-051-4/+4
| | | | vector::erase invalidates iterators. It's not safe for erase_if to cache the end iterator nor increment, then erase.
* [core] Rename ThreadedObject to ThreadThiago Marcos P. Santos2017-06-211-7/+7
| | | | | Now that the old Thread class is gone, we can give ThreadedObject a better name.
* [core] Remove util::ThreadThiago Marcos P. Santos2017-06-214-209/+1
| | | | Fixes #6425
* [core] Added the ThreadedObjectThiago Marcos P. Santos2017-06-211-0/+163
| | | | Actor model version of util::Thread.
* [core] Added Backend::{assume,set}ScissorTestBruno de Oliveira Abinader2017-06-131-0/+1
|
* [core] Disable letter-spacing for Arabic labels (issue #9057)Chris Loer2017-05-222-5/+18
|
* [core] leave Image objects in a valid state after premultiply/unpremultiplyKonstantin Käfer2017-05-191-0/+2
|
* [core] Throttle tiles to redo symbol placement at most once every 300ms.Chris Loer2017-05-172-0/+58
| | | | Fixes issue #8435 and prepares for pitch-scaling changes in issue #8967.
* [core] Remove WorkQueueJohn Firebaugh2017-05-172-78/+0
| | | | No longer used as of 5cdf838a387cae446dba500ac49a1c5524bf7949.
* [linux] loop-uv depends on mbgl-core for linkingJohn Firebaugh2017-05-121-1/+1
|
* [core] Immutable ImplsJohn Firebaugh2017-05-121-0/+106
|
* [tidy] modernize-use-overrideBruno de Oliveira Abinader2017-05-121-1/+1
|
* [tidy] modernize-use-usingBruno de Oliveira Abinader2017-05-121-1/+1
|
* [tidy] modernize-use-autoBruno de Oliveira Abinader2017-05-122-2/+2
|
* [tidy] llvm-namespace-commentBruno de Oliveira Abinader2017-05-121-1/+1
|