summaryrefslogtreecommitdiff
path: root/include/mbgl/map/mode.hpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] Added MBGL_CONSTEXPR to satisfy GCC 4.9Bruno de Oliveira Abinader2017-07-121-5/+6
|
* [core] remove dependence on gl.h typesKonstantin Käfer2016-09-291-2/+2
|
* [core] add ability show visualize the depth buffer to the GLFW and macOS appKonstantin Käfer2016-08-191-1/+10
|
* [core] s/Wireframe/Overdraw/gBruno de Oliveira Abinader2016-06-201-1/+1
|
* [core] Cleaned up enum classesBruno de Oliveira Abinader2016-06-181-7/+8
| | | | | - Replaced static_cast with C++ casts. - Replaced inline with constexpr.
* [core] use #pragma once instead of ifdef include guardsKonstantin Käfer2016-05-251-4/+1
|
* [core] Move GLFW stencil clip debug to coreBruno de Oliveira Abinader2016-05-241-0/+4
| | | | | | This makes the stencil clip debug available to all platforms. Fixes #4669.
* [core] Implement MapDebugOptions::WireframeBruno de Oliveira Abinader2016-05-231-0/+1
| | | | | | | | Together with MapDebugOptions::Collision, provides "wireframe" rendering output so all drawn objects are visible. This mode ignores the line width, background and fill colors for better visualization. Fixes #4359.
* [core] Added Viewport modeBruno de Oliveira Abinader2016-05-111-0/+7
| | | | | | Satisfies embedding platforms that requires the viewport coordinate systems to be set according to its standards e.g. viewport mirrored vertically.
* [core, ios, osx] Only constrain after adding to a windowMinh Nguyễn2016-02-101-0/+1
| | | | | | Introduced a setter/getter for constrain mode. On iOS and OS X, the zoom level inspectable causes the zoom level to be set independently from the longitude and latitude. Thus, the latitude inspectable had no effect because the latitude was constrained to 0 at z0. Temporarily removing the heightwise constraint allows the map to center on the intended location before zooming, which is the usual case for storyboards and XIBs. On iOS, the only guarantee we have timing-wise is that all the inspectables are applied after initialization but before the view is added to a window. So we reimpose the heightwise constraint as soon as the view is added to a window, that is, before the user has a chance to pan the map out of bounds. Fixes #3868.
* [core] Collision debug is now MapDebugOptions::CollisionBruno de Oliveira Abinader2015-11-271-0/+1
|
* [core] Added MapDebugOptionsBruno de Oliveira Abinader2015-11-271-3/+25
| | | | | Map debug options are now cycled up to all debug options enabled, then back to none.
* [core] Added ConstrainMode::{HeightOnly,WidthAndHeight}Bruno de Oliveira Abinader2015-11-181-0/+7
| | | | | | | | | | ConstrainMode gives flexibility to our engine to choose between constraining both vertically and horizontally, or just vertically (default behavior). Constrain in both axis means we can no longer pan the map beyond the map boundaries. This fixes an issue where e.g. annotations disappear upon crossing the map boundaries.
* [core] Added save/restore capabilities to GL configBruno de Oliveira Abinader2015-10-221-0/+4
|
* [core] Added GLContextMode to MapDataBruno de Oliveira Abinader2015-10-221-2/+7
| | | | | | | Adding new mbgl::GLContextMode enum to mbgl::Map ctor, which gets stored in MapData. In shared GL context environments, we cannot assume that the GL state that has been left since the last draw is the same, so we reset the GL configurations to their default values.
* Remove Map::start/stopJohn Firebaugh2015-04-281-1/+0
| | | | | | Both Android and iOS now use pause/resume. The map thread is always running, and be able to receive messages. When paused, it will just refuse to render.
* move rendering mode enum to MapData objectKonstantin Käfer2015-04-281-0/+16