| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
mbgl::Environment is not used anymore and can
removed.
|
|
|
|
|
|
|
|
|
| |
mbgl::Thread will keep a ThreadContext for each running instance
in a thread_local so we don't need to lookup a man in the Environment
every time we need some info about the current thread.
This patch is moving the ::currentlyOn check used on Debug build from
the Environment class to the ThreadContext.
|
|
|
|
|
|
|
| |
This eliminates a reference loop: VectorTileData holds StyleLayers which
hold StyleBuckets which held Sources which hold VectorTileDatas. This
breaks the StyleBucket -> Source link in favor of manually resolving the
reference where necessary.
|
|
|
|
|
|
|
|
|
| |
We start loading the resources at the moment we set the style, but we
set the callback for error notification at renderStill(), which happen
afterwards.
If some error occurs in this short window, it was never being notified.
Now we save the last error and we check after we set the callback.
|
|
|
|
| |
ResourceLoader got merged with Style.
|
| |
|
| |
|
| |
|
|
|
|
| |
returns whether the Map is still loading/parsing any assets or whether everything is there and a render will likely be complete
|
|
|
|
|
|
| |
This ensures that worker tasks are entirely complete by the
time the style is destructed, and enables us to pass Style&
rather than a shared pointer.
|
| |
|
| |
|
|
|
|
| |
Fixes #695
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This reverts commit bffee0715458530c6c86f440f757a4de667278a2.
|
|
|
|
|
|
| |
This follows gl-js and just makes sense -- whenever the style changes
the atlases should be blown away.
Refs #957
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
src/mbgl/renderer/painter.cpp
src/mbgl/renderer/painter.hpp
src/mbgl/renderer/painter_fill.cpp
src/mbgl/renderer/painter_line.cpp
src/mbgl/style/style_layer.cpp
src/mbgl/style/style_layer.hpp
src/mbgl/style/style_layer_group.cpp
src/mbgl/style/style_layer_group.hpp
|
| | |
|
|/
|
|
|
| |
It introduces a new function type, FadedStopsFunction, that transitions
between the stops values instead of interpolating between them.
|
|\
| |
| |
| |
| | |
Conflicts:
src/mbgl/map/map.cpp
|
| |
| |
| | |
https://github.com/mapbox/mapbox-gl-js/pull/936
|
|/
|
|
|
|
|
|
|
|
|
| |
Conflicts:
.gitignore
gyp/mbgl-ios.gypi
gyp/mbgl-linux.gypi
gyp/mbgl-osx.gypi
include/mbgl/map/map.hpp
src/mbgl/map/map.cpp
src/mbgl/storage/caching_http_file_source.cpp
|
|
|