Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] rename backend to renderer backend | Ivo van Dongen | 2017-07-18 | 12 | -12/+12 |
| | |||||
* | [core] renderer interface | Ivo van Dongen | 2017-07-18 | 14 | -237/+372 |
| | |||||
* | [core] split backend from mapobserver | Ivo van Dongen | 2017-07-18 | 9 | -75/+67 |
| | |||||
* | [core] mutate style on annotation mutations immediately | Ivo van Dongen | 2017-07-18 | 5 | -7/+17 |
| | |||||
* | [core][ios][android][macos] Use premultiplied image directly for RasterTile ↵ | Asheem Mamoowala | 2017-07-17 | 3 | -3/+3 |
| | | | | and ImageSource, un-premultiply in the shader for blending | ||||
* | [core] Use shared pointer to manage Image source raster data and speed up ↵ | Asheem Mamoowala | 2017-07-17 | 1 | -1/+1 |
| | | | | change detection | ||||
* | [tests] Add test to enforce database not found behavior | Thiago Marcos P. Santos | 2017-07-17 | 1 | -0/+11 |
| | | | | | | Make sure all the implementations, currently Qt and Default, throw an exception with error code CANTOPEN when opening a database that doesn't exist without the CREATE flag. | ||||
* | [core] Make sure ThreadLocal will not own the pointer it is managing | Thiago Marcos P. Santos | 2017-07-14 | 1 | -10/+18 |
| | | | | | | | | | | | | | | ThreadLocal should not own the pointer it is managing because the use case in Mapbox GL is to keep a pointer to a stack allocated object, like: ``` MyObject foo; threadLocal.set(&foo); ``` To keep consistency, it is required that we clear the managed object before ThreadLocal gets destroyed by setting it to `nullptr`. | ||||
* | [test] Fix undefined behavior warning: | Chris Loer | 2017-07-14 | 1 | -2/+2 |
| | | | | | quads.test.cpp used a bin with unsupported x/y coordinates. Issue #9499. | ||||
* | [core] add unused default template parameter to keep Xcode 9's Clang from ↵ | Konstantin Käfer | 2017-07-13 | 1 | -0/+6 |
| | | | | crashing | ||||
* | [core] Rework attribute binding (again) | John Firebaugh | 2017-07-12 | 1 | -8/+8 |
| | | | | | | | | | | These changes are necessary for programs whose set of active attributes is not fixed at compile time by a template parameter pack, but rather varies based on the generated shader text at runtime. In such cases, the attribute location of a given named attribute may vary between instances of the same Program. Previously, attribute bindings were implicitly associated with a location based on template parameter order, and -1 was used to indicate an inactive attribute. This left us unable to disable the appropriate attribute when it went from active to inactive. Now, the state tracker for bindings explicitly associates locations and state, and an empty optional is used to indicate an inactive attribute. In addition, a gl::VertexArray class is now exposed, allowing more flexibility in the relationship between Programs, Segments, and attribute bindings. In this commit, that relationship does not change, but the subsequent commit adjusts it to match gl-js, reduce rebinds, and work around buggy VAO implementations. VertexArray uses a pimpl idiom in order to support implementations that lack the VAO extension. In that case, all VertexArrays share global binding state, reflecting the platform reality in the absence of VAOs, while still providing a uniform API. | ||||
* | [core] GCC 4.9 bracket initialization issues | Bruno de Oliveira Abinader | 2017-07-12 | 6 | -47/+63 |
| | |||||
* | [core] GCC 4.9 is unable to deduce ctors when using bracket init | Bruno de Oliveira Abinader | 2017-07-12 | 6 | -6/+18 |
| | |||||
* | [core] GCC 4.9 shadow member warnings | Bruno de Oliveira Abinader | 2017-07-12 | 1 | -2/+2 |
| | |||||
* | [test] Add utest to assert our dtoa implementation precision | Thiago Marcos P. Santos | 2017-07-12 | 1 | -0/+24 |
| | |||||
* | [core] improve legibility of labels that follow lines | Ansis Brammanis | 2017-07-11 | 2 | -26/+12 |
| | | | | | | | | | | 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] Change OverscaledTileID to also include a "wrap" value. | Chris Loer | 2017-07-11 | 2 | -567/+565 |
| | | | | | This prevents TilePyramid from sharing wrapped copies of tiles. This is necessary because two wrapped tiles no longer share the same CollisionTile. | ||||
* | [core] Isolate pthread-based tls implementation | Thiago Marcos P. Santos | 2017-07-07 | 1 | -17/+9 |
| | |||||
* | [tests] Add unit test for tile prefetching | Thiago Marcos P. Santos | 2017-07-07 | 6 | -0/+122 |
| | |||||
* | [test] Added bucket feature insertion tests | Bruno de Oliveira Abinader | 2017-07-06 | 1 | -0/+50 |
| | |||||
* | [test] Reuse StubGeometryTileFeature in MergeLines | Bruno de Oliveira Abinader | 2017-07-06 | 2 | -34/+14 |
| | |||||
* | [core] Don't upload empty buckets | Bruno de Oliveira Abinader | 2017-07-06 | 1 | -0/+6 |
| | |||||
* | [core] rename getStencils() to getClipIDs() to better reflect what it ↵ | Konstantin Käfer | 2017-07-06 | 1 | -27/+27 |
| | | | | actually does | ||||
* | [core] don't use unordered_* collections for things we need to sort anyway | Konstantin Käfer | 2017-07-06 | 1 | -1/+1 |
| | |||||
* | [core] refactor ClipID generation | Konstantin Käfer | 2017-07-06 | 1 | -193/+164 |
| | |||||
* | [test] Added API.ZoomHistory | Bruno de Oliveira Abinader | 2017-07-04 | 3 | -0/+62 |
| | |||||
* | [test] Use test::checkImage in API.RepeatedRender | Bruno de Oliveira Abinader | 2017-07-04 | 2 | -9/+5 |
| | |||||
* | [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 | -0/+16 |
| | |||||
* | [core] fix render doesn’t flag style mutation | Ivo van Dongen | 2017-06-26 | 1 | -0/+26 |
| | |||||
* | [core] Use the ResourceTransform instead of callbacks | Thiago Marcos P. Santos | 2017-06-26 | 1 | -3/+22 |
| | | | | | Based on the actor model, can be considered safer to use since we don't need to worry about object lifetime anymore. | ||||
* | [core] Move setStyleJSON/URL to Style; add Map::setStyle | John Firebaugh | 2017-06-22 | 9 | -66/+68 |
| | |||||
* | [all] Promote Style to public API | John Firebaugh | 2017-06-22 | 5 | -58/+19 |
| | |||||
* | [core] Refactor CustomLayer internals | John Firebaugh | 2017-06-22 | 1 | -0/+4 |
| | | | | Move the responsibility for initialization/deinitialization/rendering to RenderCustomLayer. This eliminates special case code from Map and Style. | ||||
* | [tests] Add tests for MapObserver::on{WillStart,DidFinish}LoadingMap | John Firebaugh | 2017-06-22 | 1 | -0/+50 |
| | |||||
* | [core] always return owning pointers for GeometryTileData::getLayer() | Konstantin Käfer | 2017-06-21 | 1 | -2/+1 |
| | |||||
* | [core] add MBGL_CHECK_ERROR to some locations where it was missing | Konstantin Käfer | 2017-06-21 | 1 | -2/+2 |
| | |||||
* | [core] Rename ThreadedObject to Thread | Thiago Marcos P. Santos | 2017-06-21 | 3 | -38/+38 |
| | | | | | Now that the old Thread class is gone, we can give ThreadedObject a better name. | ||||
* | [core] Remove util::Thread | Thiago Marcos P. Santos | 2017-06-21 | 1 | -296/+0 |
| | | | | Fixes #6425 | ||||
* | [tests] Port the ThreadLocalStorage test to the actor model | Thiago Marcos P. Santos | 2017-06-21 | 1 | -16/+29 |
| | |||||
* | [tests] Port the AsyncTask test to the actor model | Thiago Marcos P. Santos | 2017-06-21 | 1 | -30/+29 |
| | |||||
* | [core] Convert AssetFileSource to ThreadedObject | Thiago Marcos P. Santos | 2017-06-21 | 1 | -16/+9 |
| | |||||
* | [tests] Added tests for ThreadedObject | Thiago Marcos P. Santos | 2017-06-21 | 1 | -0/+277 |
| | |||||
* | [core] Trigger repaint on source changes | Asheem Mamoowala | 2017-06-19 | 1 | -1/+1 |
| | |||||
* | [iOS][macOS] Export `MGLImageSource`, add and update documentation. Use ↵ | Asheem Mamoowala | 2017-06-19 | 1 | -1/+1 |
| | | | | animated ImageSource demo in iOS test app | ||||
* | [core] Fix composite function approximation for non-integer stops | John Firebaugh | 2017-06-16 | 1 | -0/+25 |
| | |||||
* | [core] Implement "smart setStyle" | John Firebaugh | 2017-06-15 | 1 | -28/+0 |
| | |||||
* | [core] Remove unused binpack.hppp | John Firebaugh | 2017-06-13 | 1 | -51/+0 |
| | |||||
* | [core] Per-tile glyph/icon atlases | John Firebaugh | 2017-06-13 | 3 | -24/+44 |
| | |||||
* | [core] Per-bucket icon atlases | John Firebaugh | 2017-06-13 | 15 | -204/+164 |
| |