Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | [core] Convert style properties to a tuple-based approach | John Firebaugh | 2016-11-17 | 2 | -4/+16 | |
| | | | | | | | | | | | | | | | | This converts the style property classes (CirclePaintProperties and so on) to the same tuple-based approach as gl::Attribute and gl::Uniform. The approach is outlined in https://github.com/mapbox/cpp/blob/master/C%2B%2B%20Structural%20Metaprogramming.md. The main advantage of this approach is it allows writing algorithms that work on sets of style properties, without resorting to code generation or manually repetitive code. This lets us iterate on approaches to data-driven properties more easily. Another advantage is that the cascading, unevaluated, and evaluated states of a set of properties exist as independent structures, instead of individual properties holding their own state. This is a more functional approach that makes data flow clearer and reduces state. | |||||
* | | [core] Return source and layer ownership (#7014) | Jesse Bounds | 2016-11-11 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | When a source or layer is removed transfer ownership back to the caller so it can (optionally) take it. Preserve the behavior that removing a CustomLayer triggers deinitialization. Deinitialize all custom layers when a style is destroyed in case those layers are not explicitly removed. | |||||
* | | [core] Introduce gl::Program template | John Firebaugh | 2016-11-08 | 1 | -5/+0 | |
| | | ||||||
* | | [build] Remove unused gl/implementation.hpp | Bruno de Oliveira Abinader | 2016-11-08 | 3 | -19/+0 | |
| | | ||||||
* | | [core] Refactor HeadlessBackend | Bruno de Oliveira Abinader | 2016-11-08 | 1 | -43/+16 | |
| | | ||||||
* | | [core] Refactor HeadlessDisplay | Bruno de Oliveira Abinader | 2016-11-08 | 1 | -13/+6 | |
| | | ||||||
* | | [linux] Added OSMesa headless backend | Bruno de Oliveira Abinader | 2016-11-04 | 2 | -0/+9 | |
| | | ||||||
* | | [core] add ability to upload alpha-only textures + images | Konstantin Käfer | 2016-11-01 | 1 | -3/+6 | |
| | | ||||||
* | | [core] Moved util::log2 to its own header | Bruno de Oliveira Abinader | 2016-10-31 | 2 | -0/+29 | |
| | | | | | | | | | | | | - Added util::{MIN,MAX}_ZOOM_F to avoid consecutive conversions from double to float - Move util::log2 to its own header (part of mbgl/math) | |||||
* | | [core] Modern C++ bindings for OpenGL | John Firebaugh | 2016-10-28 | 2 | -1/+5 | |
| | | ||||||
* | | [core] operator bool() must always be explicit | John Firebaugh | 2016-10-28 | 1 | -1/+1 | |
| | | | | | | | | Otherwise, it can participate in unexpected conversions. Case in point: GlyphSet::insert was comparing the result of GlyphMetrics::operator bool() where it wanted to use operator==. | |||||
* | | [core] change std::array<uint16_t, 2> to mbgl::Size | Konstantin Käfer | 2016-10-27 | 6 | -29/+61 | |
|/ | ||||||
* | [core] move gl::Context to Backend and refactor View | Konstantin Käfer | 2016-10-25 | 7 | -111/+66 | |
| | ||||||
* | [core] separate Backend from View for headless rendering | Konstantin Käfer | 2016-10-25 | 8 | -112/+177 | |
| | ||||||
* | [core] extract weak_ptr mailbox->receive into Mailbox::maybeReceive | Mike Morris | 2016-10-20 | 1 | -3/+1 | |
| | ||||||
* | [core] [node] pass thread pool impl to Map constructor | Mike Morris | 2016-10-20 | 2 | -2/+30 | |
| | | | | | | | Updates mbgl::Map constructor usage everywhere Adds NodeThreadPool implementation using AsyncQueue to call Nan::AsyncQueueWorker from main thread | |||||
* | [glfw] add map change callback methods to glfw_view | Ivo van Dongen | 2016-10-20 | 1 | -0/+5 | |
| | ||||||
* | [core] TileCoordinate::fromLatLng no longer depens on TransformState | Bruno de Oliveira Abinader | 2016-10-19 | 1 | -1/+1 | |
| | ||||||
* | [core] Move TransformState::{un,}project() to Projection | Bruno de Oliveira Abinader | 2016-10-19 | 1 | -0/+16 | |
| | ||||||
* | [core] Move TransformState::worldSize() to Projection | Bruno de Oliveira Abinader | 2016-10-19 | 1 | -4/+10 | |
| | ||||||
* | [core] Improve attribute binding API | John Firebaugh | 2016-10-05 | 1 | -32/+0 | |
| | ||||||
* | [core] Move shader and uniform to gl directory | John Firebaugh | 2016-10-05 | 1 | -1/+1 | |
| | ||||||
* | [core] Refactor Buffer | John Firebaugh | 2016-10-05 | 1 | -3/+35 | |
| | ||||||
* | [core] LocalFileSource implementation and tests | Ivo van Dongen | 2016-09-30 | 1 | -0/+1 | |
| | ||||||
* | [core] move OpenGL extension loading to their own headers | Konstantin Käfer | 2016-09-29 | 2 | -44/+4 | |
| | ||||||
* | [core] remove dependence on gl.h types | Konstantin Käfer | 2016-09-29 | 3 | -8/+3 | |
| | ||||||
* | [core] introduces types for GL objects | Konstantin Käfer | 2016-09-29 | 1 | -3/+4 | |
| | ||||||
* | [core] remove unused GL_TRACK functions | Konstantin Käfer | 2016-09-28 | 1 | -72/+0 | |
| | ||||||
* | [core] move GL value accessors to gl::value namespace | Konstantin Käfer | 2016-09-27 | 2 | -400/+0 | |
| | ||||||
* | [core] standardize on uint16_t for texture sizes | Konstantin Käfer | 2016-09-27 | 3 | -8/+8 | |
| | ||||||
* | [core] store viewport and FBO binding | Konstantin Käfer | 2016-09-27 | 2 | -0/+26 | |
| | ||||||
* | [core] Removed map attribution API | Minh Nguyễn | 2016-09-26 | 2 | -1/+3 | |
| | | | | Since client code can readily access the individual sources, Map doesn’t need to expose a dedicated API for iterating over them. | |||||
* | [core] Source-driven attribution | Minh Nguyễn | 2016-09-26 | 1 | -0/+1 | |
| | | | | | | Implemented observer callbacks so the style knows when the source’s attribution changes and the map knows when the style’s attribution changes. Also implemented a getter for a tile source’s attribution. Fixes #2723. | |||||
* | [core] track VAOs and Buffers | Konstantin Käfer | 2016-09-26 | 1 | -0/+32 | |
| | ||||||
* | [core] make GL value defaults constexpr | Konstantin Käfer | 2016-09-26 | 1 | -21/+21 | |
| | ||||||
* | [core] Add interface to add sprites to the style | Thiago Marcos P. Santos | 2016-09-22 | 1 | -0/+4 | |
| | | | | Unlike annotations, they will go away when we change the style. | |||||
* | Better handling for undefined icon|text-rotation-alignment (#6253) | Young Hahn | 2016-09-21 | 1 | -1/+1 | |
| | | | | | | * [core, ios, android] Use `auto` value for properties with calculated defaults * Fix render tests | |||||
* | [core] check GL errors in loop | Mike Morris | 2016-09-21 | 1 | -3/+2 | |
| | | | | | | As recommended in https://www.opengl.org/wiki/GLAPI/glGetError char* -> std::string | |||||
* | [core] allow offline region metadata to be updated (#6338) | Molly Lloyd | 2016-09-20 | 1 | -0/+7 | |
| | ||||||
* | [core] Convert uses of std::set to std::unordered_set (#6325) | Lucas Wojciechowski | 2016-09-19 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | * src/mbgl/annotation/annotation_manager.hpp * src/mbgl/algorithm/update_renderables.hpp * src/mbgl/geometry/glyph_atlas.hpp * src/mbgl/renderer/painter.cpp and src/mbgl/renderer/render_item.hpp * src/mbgl/renderer/symbol_bucket.hpp and src/mbgl/text/glyph_store.hpp * src/mbgl/sprite/sprite_atlas.hpp * include/mbgl/storage/network_status.hpp * src/mbgl/text/collision_tile.cpp * src/mbgl/style/update_batch.hpp * platform/default/mbgl/storage/offline_download.hpp * Add GlyphRangeSet typedef * Fix whitespace & unused imports | |||||
* | [core] Use an actor model for tile worker concurrency | John Firebaugh | 2016-09-16 | 1 | -2/+13 | |
| | ||||||
* | [core] [android] - public api configurable base endpoint (#6309) | Tobrun | 2016-09-15 | 3 | -0/+10 | |
| | | | add runloop to test | |||||
* | [core] OnlineFileSource - rate limit | Ivo van Dongen | 2016-09-13 | 3 | -1/+9 | |
| | ||||||
* | [core] Separate transition options accessors from class API | Bruno de Oliveira Abinader | 2016-09-13 | 1 | -3/+6 | |
| | | | | | Now the style class transition options have its own getter/setter, which persists for each style until a new style is set. | |||||
* | [core] Don't use std::move on forwarding references | John Firebaugh | 2016-09-08 | 1 | -13/+16 | |
| | ||||||
* | [core] Rework invokeWithCallback so that the callback is last | John Firebaugh | 2016-09-08 | 3 | -11/+25 | |
| | ||||||
* | [core] Extract WorkTaskImpl from run_loop.hpp | John Firebaugh | 2016-09-08 | 3 | -83/+105 | |
| | ||||||
* | [core] Batch source updates | John Firebaugh | 2016-09-06 | 1 | -3/+2 | |
| | ||||||
* | [core] Trigger Source::Impl::reload when a filter or layout property is modified | John Firebaugh | 2016-09-06 | 1 | -15/+55 | |
| | ||||||
* | [core, ios, android, qt] Observe style layer mutations rather than requiring ↵ | John Firebaugh | 2016-09-06 | 2 | -0/+27 | |
| | | | | | | SDKs to use Map::update This paves the way for updates to filter and layout properties to trigger a source reload, without each SDK having to participate in the implementation. |