summaryrefslogtreecommitdiff
path: root/src/mbgl/util
Commit message (Collapse)AuthorAgeFilesLines
* [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
|
* [core] Make deleted members publicBruno de Oliveira Abinader2017-05-121-5/+5
| | | | warning: deleted member function should be public [modernize-use-equals-delete]
* [core, android] Factor JSON string conversionsJohn Firebaugh2017-05-082-0/+16
| | | | | | | | | | | 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] Reuse fill-extrusion textures between frames (#8896)Lauren Budorick2017-05-082-25/+30
|
* [core] Make Map.addImage tests pass (#8843)Asheem Mamoowala2017-05-021-12/+0
| | | | | Fix Node tests suite implementation to parse pixelRatio from style json Premultiply images in the node binding before sending to mbgl core
* [core] Render fill-extrusion layers (#8431)Lauren Budorick2017-04-276-102/+38
|
* [core] More complete fix for composite function interpolation edge caseJohn Firebaugh2017-04-201-1/+3
| | | | 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] Tighten geo.hpp ctorsBruno de Oliveira Abinader2017-04-141-2/+2
|
* [core] Updated Size::isEmpty and TransformState::valid checksBruno de Oliveira Abinader2017-04-102-2/+4
|
* [Qt] Fix build when zlib is compiled with -DZ_PREFIXThiago Marcos P. Santos2017-04-071-1/+1
| | | | Proper fix this time.
* [all] Make LatLng coordinates read-onlyJohn Firebaugh2017-04-061-7/+7
|
* [core] De-mutex GlyphAtlas and SpriteAtlasChris Loer2017-04-041-27/+0
| | | | | | | | | | | | - Expose glyph and icon information to workers via message interface. - Glyph/SpriteAtlas track which tiles have outstanding requests and send messages to them when glyphs/icons become available. - Remove obsolete "updateSymbolDependentTiles" pathway - Symbol preparation for a tile now depends on all glyphs becoming available before it can start. - Start tracking individual icons needed for a tile, although we don't do anything with the information yet. - Introduce typedef for GlyphID
* [core] return empty optional when color could not be parsedIvo van Dongen2017-04-041-8/+12
|
* [core] Remove unused ThreadLocal constructorJohn Firebaugh2017-04-031-5/+0
|
* [core] Do not throw on dtorsThiago Marcos P. Santos2017-04-011-1/+4
| | | | Fix build on GCC6 + Ubuntu 16.04.
* [node] Move util/async_task.hpp to public include directoryKonstantin Käfer2017-03-281-24/+0
|
* [core] Remove private header includes from CLI utilitiesKonstantin Käfer2017-03-282-14/+0
|