| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
and move the canonicalization to mapbox.cpp since it's not specific to the SQLiteCache
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
- does not prepend /v4/ to api endpoints like /fonts/v1/
- only prepends it to things starting with /fontstack
- solves the problem in #1918
- refs mapbox/mapbox-gl-style-spec#309
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Relevant changes:
- Added 'defaultFadeDuration' and 'defaultTransitionDelay' to MapData;
- Painter & StyleParser now receives a reference to MapData;
- As previously seen on the code: 300ms is the default fade duration
and 0ms is the default transition duration;
- We no longer pass the current time point to Style, since it now uses
MapData.animationTime, which gets updated in MapContext::update().
- Updated StyleParser check to use a mock MapData;
|
|
|
|
| |
also moves framebuffer size out of TransformState into its own object
|
| |
|
|
|
|
|
|
|
|
| |
Instead of transforming between return value and callback, pass
the wrapped callback on to the invoked function as the last argument.
This eliminates the need for multiple invokeWithArgument overloads
and permits invoked functions to be asynchronous.
|
| |
|
|
|
|
|
| |
As a byproduct, this makes FileCache get requests properly
cancelable.
|
| |
|
|
|
|
|
| |
Pass current state to MapContext where needed. Remove mutex from
Transform.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The util::Thread will call the stop() method of the MapContext's RunLoop
which will wait for the pending tasks tied to it to complete.
If we have a request that is timeout'ing, this could mean a really long
wait. Instead, we now send a cleanup message that will reset all the
attributes first (canceling the pending requests) so the the MapContext
gets destructed quickly.
|
|\
| |
| |
| |
| | |
Conflicts:
src/mbgl/renderer/painter_fill.cpp
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
src/mbgl/map/source.cpp
src/mbgl/map/source.hpp
src/mbgl/map/tile_data.cpp
src/mbgl/map/tile_parser.cpp
src/mbgl/map/vector_tile_data.cpp
src/mbgl/renderer/painter.cpp
src/mbgl/renderer/symbol_bucket.cpp
src/mbgl/text/glyph.hpp
src/mbgl/text/glyph_store.cpp
src/mbgl/text/placement.cpp
test/suite
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
so that layout property functions are applied correctly
and so that label placement is redone
js:
https://github.com/mapbox/mapbox-gl-js/pull/1005
and
https://github.com/mapbox/mapbox-gl-js/commit/440bc02505eb66f198a3d98708ddc3d9453f453f
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
src/mbgl/map/tile_parser.cpp
src/mbgl/map/tile_parser.hpp
src/mbgl/renderer/painter.hpp
src/mbgl/renderer/painter_symbol.cpp
src/mbgl/renderer/symbol_bucket.cpp
src/mbgl/renderer/symbol_bucket.hpp
src/mbgl/text/collision.cpp
src/mbgl/text/collision.hpp
src/mbgl/text/placement.cpp
|
| | |
|
| |
| |
| |
| |
| |
| | |
The MapContext can only run on its own thread because it is
registering a EnvironmentScope and it is making many assertions
on Debug mode if its methods are being called on the Map thread.
|
| | |
|
| |\
| | |
| | | |
Android GL Crash
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Initialise NativeMapView's EGL variables before Map
Fix hang
Add check for double pause
Add test for double pause
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| |/
| |
| |
| |
| |
| |
| | |
Joining a WorkRequest now ensures that either the after callback has
already been executed, or will never be executed.
Fixes #1438
|
| | |
|
|\ \
| |/ |
|
| | |
|
| |
| |
| |
| | |
This allows making both Tile and TileID private.
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
src/mbgl/renderer/symbol_bucket.cpp
src/mbgl/renderer/symbol_bucket.hpp
src/mbgl/text/collision.cpp
src/mbgl/text/glyph_store.cpp
src/mbgl/text/placement.cpp
src/mbgl/text/rotation_range.cpp
|
| | |
|
|/ |
|
|
|
|
|
|
| |
to get rid of seams in repeating patterns.
https://github.com/mapbox/mapbox-gl-styles/issues/50#issuecomment-86159351
|
|
|
|
|
|
| |
- OpenGL ES 2 doesn't allow NPOT textures with wrap-around
- The Sprite object reported the map's pixelRatio, even though it loaded @2x assets
- Copying icons from the sprite into the atlas now uses bilinear scaling to scale up to the actual size
|
|
|
|
| |
This reverts commit bffee0715458530c6c86f440f757a4de667278a2.
|
|
|
|
|
|
| |
This follows gl-js and just makes sense -- whenever the style changes
the atlases should be blown away.
Refs #957
|