Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] Use gmtime_s on Windows | Thiago Marcos P. Santos | 2017-07-12 | 1 | -2/+9 |
| | | | | gmtime_r is POSIX | ||||
* | [core] Use std::to_string on Windows | Thiago Marcos P. Santos | 2017-07-12 | 2 | -1/+14 |
| | | | | Clang on Window's can't parse rapidjson's dtoa. | ||||
* | [core] Prefer std:: functions over POSIX | Thiago Marcos P. Santos | 2017-07-12 | 1 | -4/+2 |
| | | | | s/unlink/std::remove | ||||
* | [core] add static asserts for more gl constants | Ansis Brammanis | 2017-07-11 | 4 | -6/+53 |
| | | | | and rename BufferUsageType to BufferUsage | ||||
* | [core] port pitch-label collision hack | Ansis Brammanis | 2017-07-11 | 4 | -20/+50 |
| | | | | https://github.com/mapbox/mapbox-gl-js/pull/4781/commits/81363951ed56c54f331ffc8d88e4e5079226a224 | ||||
* | [core] improve legibility of labels that follow lines | Ansis Brammanis | 2017-07-11 | 28 | -716/+714 |
| | | | | | | | | | | port https://github.com/mapbox/mapbox-gl-js/pull/4781 This improves legibility of labels that follow lines in pitched views. The previous approach used the limited information in the shader to calculate put the glyph in approximatelyright place. The new approach does this more accurately by doing it on the cpu where we have access to the entire line geometry. | ||||
* | [core] fix transformMat4 | Ansis Brammanis | 2017-07-11 | 1 | -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] Hold on to tile yStretch value for rendering old symbolBuckets while ↵ | Chris Loer | 2017-07-11 | 2 | -2/+10 |
| | | | | waiting for new ones. | ||||
* | [core] Change OverscaledTileID to also include a "wrap" value. | Chris Loer | 2017-07-11 | 3 | -26/+23 |
| | | | | | This prevents TilePyramid from sharing wrapped copies of tiles. This is necessary because two wrapped tiles no longer share the same CollisionTile. | ||||
* | [core] Limit symbol re-placement on changed tile distance to pitch > 25. | Chris Loer | 2017-07-11 | 1 | -1/+7 |
| | |||||
* | [core] Re-generate shaders. | Chris Loer | 2017-07-11 | 3 | -89/+184 |
| | |||||
* | [core] Use fade texture in collision debug boxes so that they agree more ↵ | Chris Loer | 2017-07-11 | 4 | -3/+5 |
| | | | | closely with symbol shaders. | ||||
* | [core] Set "max_camera_distance" to 1.5 for viewport-aligned road labels. | Chris Loer | 2017-07-11 | 3 | -3/+19 |
| | | | | Viewport-aligned curved labels start to look very strange in the distance. Until we have a better system for projecting them, just prevent them from showing. | ||||
* | [core] Enable tile clipping for collision boxes. | Chris Loer | 2017-07-11 | 1 | -1/+1 |
| | | | | Necessary because collision boxes now change shape based on while tile they're part of. | ||||
* | [core] Extend collision feature boxes to accommodate potential pitch-scaling. | Chris Loer | 2017-07-11 | 1 | -8/+49 |
| | |||||
* | [core] Pass pitch-scaling vertex attributes and uniforms to shaders. | Chris Loer | 2017-07-11 | 9 | -21/+53 |
| | |||||
* | [core] Improved label pitch-scaling: approximate collision box shapes based ↵ | Chris Loer | 2017-07-11 | 11 | -25/+82 |
| | | | | on tile distance from camera. | ||||
* | [build] Don't use maybe-uninitialized and misleading-indentation in Clang, ↵ | Konstantin Käfer | 2017-07-11 | 2 | -0/+4 |
| | | | | since they're not implemented there | ||||
* | [core] Isolate pthread-based tls implementation | Thiago Marcos P. Santos | 2017-07-07 | 1 | -34/+10 |
| | |||||
* | [core] Fix conditional unitialized jump on RenderGeoJSONSource | Thiago Marcos P. Santos | 2017-07-07 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | ``` ==24942== Conditional jump or move depends on uninitialised value(s) ==24942== at 0x7D943D: mbgl::RenderGeoJSONSource::update(mbgl::Immutable<mbgl::style::Source::Impl>, std::vector<mbgl::Immutable<mbgl::style::Layer::Impl>, std::allocator<mbgl::Immutable<mbgl::style::Layer::Impl> > > const&, bool, bool, mbgl::TileParameters const&) (in /home/tmpsantos/Projects/mapbox-gl-native/build/linux-x86_64/Release/mbgl-test) ==24942== by 0x796445: mbgl::RenderStyle::update(mbgl::UpdateParameters const&) (in /home/tmpsantos/Projects/mapbox-gl-native/build/linux-x86_64/Release/mbgl-test) ==24942== by 0x77E29D: mbgl::Map::Impl::render(mbgl::View&) (in /home/tmpsantos/Projects/mapbox-gl-native/build/linux-x86_64/Release/mbgl-test) ==24942== by 0x77E559: mbgl::Map::Impl::renderStill() (in /home/tmpsantos/Projects/mapbox-gl-native/build/linux-x86_64/Release/mbgl-test) ==24942== by 0xA39772: uv__async_event (async.c:98) ==24942== by 0xA398F8: uv__async_io (async.c:138) ==24942== by 0xA4375F: uv__io_poll (linux-core.c:380) ==24942== by 0xA3A1F2: uv_run (core.c:354) ==24942== by 0x61BADC: API_ZoomHistory_Test::TestBody() (in /home/tmpsantos/Projects/mapbox-gl-native/build/linux-x86_64/Release/mbgl-test) ==24942== by 0x89FDE9: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (in /home/tmpsantos/Projects/mapbox-gl-native/build/linux-x86_64/Release/mbgl-test) ==24942== by 0x885450: testing::Test::Run() (in /home/tmpsantos/Projects/mapbox-gl-native/build/linux-x86_64/Release/mbgl-test) ==24942== by 0x88642F: testing::TestInfo::Run() (in /home/tmpsantos/Projects/mapbox-gl-native/build/linux-x86_64/Release/mbgl-test) ==24942== ``` | ||||
* | [core] Fix sorting order for render tiles | Thiago Marcos P. Santos | 2017-07-07 | 1 | -0/+3 |
| | | | | | Sort by z order, so lower res tiles don't get rendered over high res tiles. | ||||
* | [core] Prefetch low resolution tiles | Thiago Marcos P. Santos | 2017-07-07 | 5 | -4/+45 |
| | |||||
* | [core] Updated script detection for Unicode 10 | Minh Nguyễn | 2017-07-06 | 1 | -2/+14 |
| | | | | Updated script detection code to reflect changes in Unicode 10 and UTR 50 revision 17. | ||||
* | [core] Implement circle-pitch-alignment property | Chris Loer | 2017-07-06 | 7 | -12/+67 |
| | | | | Closes issue #9349. | ||||
* | [core] Don't upload empty buckets | Bruno de Oliveira Abinader | 2017-07-06 | 2 | -3/+5 |
| | |||||
* | [core] make{Glyph,Image}Atlas only once for any number of symbol layers | John Firebaugh | 2017-07-06 | 3 | -34/+24 |
| | |||||
* | [core] rename getStencils() to getClipIDs() to better reflect what it ↵ | Konstantin Käfer | 2017-07-06 | 3 | -12/+12 |
| | | | | actually does | ||||
* | [core] don't use unordered_* collections for things we need to sort anyway | Konstantin Käfer | 2017-07-06 | 1 | -4/+4 |
| | |||||
* | [core] refactor ClipID generation | Konstantin Käfer | 2017-07-06 | 16 | -52/+45 |
| | |||||
* | [core] Fix iterator invalidation in erase_if | John Firebaugh | 2017-07-05 | 1 | -4/+4 |
| | | | | vector::erase invalidates iterators. It's not safe for erase_if to cache the end iterator nor increment, then erase. | ||||
* | [core] Factor timePoint initialization: take 2 | Bruno de Oliveira Abinader | 2017-07-04 | 3 | -6/+9 |
| | |||||
* | [core] Bind only active attributes in order to avoid exceeding attribute ↵ | Lauren Budorick | 2017-06-29 | 3 | -6/+64 |
| | | | | | limits (#9373) Introducing two new attributes to enable property functions for line-width (#9250) pushed the attribute count over GL_MAX_VERTEX_ATTRIBS on some devices. Now we selectively bind only attributes that are used, making it unlikely to surpass GL_MAX_VERTEX_ATTRIBS. | ||||
* | [core] Check if frameZoom is NaN in Transform::flyTo callback | Bruno de Oliveira Abinader | 2017-06-28 | 1 | -0/+5 |
| | |||||
* | [core] Clamp to scale boundaries in TransformState::setLatLngZoom | Bruno de Oliveira Abinader | 2017-06-28 | 1 | -1/+1 |
| | |||||
* | [core] remove tile cache size setter | Ivo van Dongen | 2017-06-27 | 13 | -41/+0 |
| | |||||
* | [core] fix render doesn’t flag style mutation | Ivo van Dongen | 2017-06-26 | 1 | -2/+2 |
| | |||||
* | [core] Don't transition new layers on a setStyle operation | John Firebaugh | 2017-06-26 | 9 | -22/+48 |
| | |||||
* | [core] Introduce the ResourceTransform | Thiago Marcos P. Santos | 2017-06-26 | 1 | -0/+13 |
| | | | | Wrapper for transforming URLs on the OnlineFileSource. | ||||
* | [core] Make the mbgl/actor headers public | Thiago Marcos P. Santos | 2017-06-26 | 3 | -168/+0 |
| | | | | | They will be needed by the DefaultFileSource, something that we also export as public. | ||||
* | [core] Move setStyleJSON/URL to Style; add Map::setStyle | John Firebaugh | 2017-06-22 | 5 | -112/+117 |
| | |||||
* | [all] Promote Style to public API | John Firebaugh | 2017-06-22 | 12 | -397/+449 |
| | |||||
* | [core] Refactor CustomLayer internals | John Firebaugh | 2017-06-22 | 9 | -85/+66 |
| | | | | Move the responsibility for initialization/deinitialization/rendering to RenderCustomLayer. This eliminates special case code from Map and Style. | ||||
* | [core] document lifetimes of GeometryTileFeatures | Konstantin Käfer | 2017-06-21 | 1 | -0/+7 |
| | |||||
* | [core] retain GeometryTileLayer in SymbolLayout | Konstantin Käfer | 2017-06-21 | 5 | -14/+21 |
| | | | | We're storing GeometryTileFeature objects in SymbolLayout, but they may reference data in GeometryTileLayer, which could go away if we don't retain it. | ||||
* | [core] always return owning pointers for GeometryTileData::getLayer() | Konstantin Käfer | 2017-06-21 | 8 | -50/+77 |
| | |||||
* | [core] switch to vector-tile library for decoding Mapbox vector tiles | Konstantin Käfer | 2017-06-21 | 3 | -252/+62 |
| | |||||
* | [core] shared feature data for GeoJSONTileData objects | Konstantin Käfer | 2017-06-21 | 1 | -5/+11 |
| | |||||
* | [core] shared data among AnnotationTileFeature objects | Konstantin Käfer | 2017-06-21 | 5 | -30/+82 |
| | |||||
* | [core] add benchmark for vector tile parsing | Konstantin Käfer | 2017-06-21 | 3 | -298/+334 |
| | |||||
* | [core] add MBGL_CHECK_ERROR to some locations where it was missing | Konstantin Käfer | 2017-06-21 | 1 | -4/+4 |
| |