summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
...
* | [core] Convert style properties to a tuple-based approachJohn Firebaugh2016-11-172-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 Bounds2016-11-111-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 templateJohn Firebaugh2016-11-081-5/+0
| |
* | [build] Remove unused gl/implementation.hppBruno de Oliveira Abinader2016-11-083-19/+0
| |
* | [core] Refactor HeadlessBackendBruno de Oliveira Abinader2016-11-081-43/+16
| |
* | [core] Refactor HeadlessDisplayBruno de Oliveira Abinader2016-11-081-13/+6
| |
* | [linux] Added OSMesa headless backendBruno de Oliveira Abinader2016-11-042-0/+9
| |
* | [core] add ability to upload alpha-only textures + imagesKonstantin Käfer2016-11-011-3/+6
| |
* | [core] Moved util::log2 to its own headerBruno de Oliveira Abinader2016-10-312-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 OpenGLJohn Firebaugh2016-10-282-1/+5
| |
* | [core] operator bool() must always be explicitJohn Firebaugh2016-10-281-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::SizeKonstantin Käfer2016-10-276-29/+61
|/
* [core] move gl::Context to Backend and refactor ViewKonstantin Käfer2016-10-257-111/+66
|
* [core] separate Backend from View for headless renderingKonstantin Käfer2016-10-258-112/+177
|
* [core] extract weak_ptr mailbox->receive into Mailbox::maybeReceiveMike Morris2016-10-201-3/+1
|
* [core] [node] pass thread pool impl to Map constructorMike Morris2016-10-202-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_viewIvo van Dongen2016-10-201-0/+5
|
* [core] TileCoordinate::fromLatLng no longer depens on TransformStateBruno de Oliveira Abinader2016-10-191-1/+1
|
* [core] Move TransformState::{un,}project() to ProjectionBruno de Oliveira Abinader2016-10-191-0/+16
|
* [core] Move TransformState::worldSize() to ProjectionBruno de Oliveira Abinader2016-10-191-4/+10
|
* [core] Improve attribute binding APIJohn Firebaugh2016-10-051-32/+0
|
* [core] Move shader and uniform to gl directoryJohn Firebaugh2016-10-051-1/+1
|
* [core] Refactor BufferJohn Firebaugh2016-10-051-3/+35
|
* [core] LocalFileSource implementation and testsIvo van Dongen2016-09-301-0/+1
|
* [core] move OpenGL extension loading to their own headersKonstantin Käfer2016-09-292-44/+4
|
* [core] remove dependence on gl.h typesKonstantin Käfer2016-09-293-8/+3
|
* [core] introduces types for GL objectsKonstantin Käfer2016-09-291-3/+4
|
* [core] remove unused GL_TRACK functionsKonstantin Käfer2016-09-281-72/+0
|
* [core] move GL value accessors to gl::value namespaceKonstantin Käfer2016-09-272-400/+0
|
* [core] standardize on uint16_t for texture sizesKonstantin Käfer2016-09-273-8/+8
|
* [core] store viewport and FBO bindingKonstantin Käfer2016-09-272-0/+26
|
* [core] Removed map attribution APIMinh Nguyễn2016-09-262-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 attributionMinh Nguyễn2016-09-261-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 BuffersKonstantin Käfer2016-09-261-0/+32
|
* [core] make GL value defaults constexprKonstantin Käfer2016-09-261-21/+21
|
* [core] Add interface to add sprites to the styleThiago Marcos P. Santos2016-09-221-0/+4
| | | | Unlike annotations, they will go away when we change the style.
* Better handling for undefined icon|text-rotation-alignment (#6253)Young Hahn2016-09-211-1/+1
| | | | | | * [core, ios, android] Use `auto` value for properties with calculated defaults * Fix render tests
* [core] check GL errors in loopMike Morris2016-09-211-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 Lloyd2016-09-201-0/+7
|
* [core] Convert uses of std::set to std::unordered_set (#6325)Lucas Wojciechowski2016-09-191-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 concurrencyJohn Firebaugh2016-09-161-2/+13
|
* [core] [android] - public api configurable base endpoint (#6309)Tobrun2016-09-153-0/+10
| | | add runloop to test
* [core] OnlineFileSource - rate limitIvo van Dongen2016-09-133-1/+9
|
* [core] Separate transition options accessors from class APIBruno de Oliveira Abinader2016-09-131-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 referencesJohn Firebaugh2016-09-081-13/+16
|
* [core] Rework invokeWithCallback so that the callback is lastJohn Firebaugh2016-09-083-11/+25
|
* [core] Extract WorkTaskImpl from run_loop.hppJohn Firebaugh2016-09-083-83/+105
|
* [core] Batch source updatesJohn Firebaugh2016-09-061-3/+2
|
* [core] Trigger Source::Impl::reload when a filter or layout property is modifiedJohn Firebaugh2016-09-061-15/+55
|
* [core, ios, android, qt] Observe style layer mutations rather than requiring ↵John Firebaugh2016-09-062-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.