Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [core] correctly set the framebuffer size on retina screens | Konstantin Käfer | 2016-11-01 | 1 | -0/+4 | |
| | | | | Also asserts in Debug mode that the internal state and the OpenGL state are identical | |||||
* | [core] Cleanup TransformState::getIntegerZoom | Bruno de Oliveira Abinader | 2016-10-31 | 1 | -1/+1 | |
| | ||||||
* | [core] Use numeric_limits<>::max() for checking element groups | Bruno de Oliveira Abinader | 2016-10-31 | 9 | -42/+37 | |
| | ||||||
* | [core] Moved util::log2 to its own header | Bruno de Oliveira Abinader | 2016-10-31 | 7 | -28/+12 | |
| | | | | | | - 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] Don't use GL_LINEAR if panning w/o rotation nor pitch | Bruno de Oliveira Abinader | 2016-10-31 | 4 | -7/+1 | |
| | ||||||
* | [core] Use overscaledZ for scale in collision box shader | Bruno de Oliveira Abinader | 2016-10-31 | 1 | -1/+2 | |
| | ||||||
* | [core] Use VAOs internally | John Firebaugh | 2016-10-28 | 2 | -19/+79 | |
| | ||||||
* | [core] Modern C++ bindings for OpenGL | John Firebaugh | 2016-10-28 | 92 | -1839/+2197 | |
| | ||||||
* | [core] operator bool() must always be explicit | John Firebaugh | 2016-10-28 | 2 | -4/+12 | |
| | | | | 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] Methods don't need to be Painter instance methods | John Firebaugh | 2016-10-28 | 2 | -32/+28 | |
| | ||||||
* | [core] change std::array<uint16_t, 2> to mbgl::Size | Konstantin Käfer | 2016-10-27 | 28 | -155/+146 | |
| | ||||||
* | [core] remove tiles for disabled sources | Konstantin Käfer | 2016-10-27 | 3 | -6/+31 | |
| | | | | When no layer of a source is visible anymore, we are now evicting tiles that are still stored in that source and move them to the cache. | |||||
* | [core] don't load tiles from sources that aren't used | Konstantin Käfer | 2016-10-27 | 1 | -3/+6 | |
| | ||||||
* | [core] move gl::Context to Backend and refactor View | Konstantin Käfer | 2016-10-25 | 21 | -256/+449 | |
| | ||||||
* | [core] separate Backend from View for headless rendering | Konstantin Käfer | 2016-10-25 | 8 | -57/+106 | |
| | ||||||
* | [core] geojson source - cancel any pending request when setting geojson ↵ | Ivo van Dongen | 2016-10-25 | 2 | -3/+12 | |
| | | | | explicitly | |||||
* | [core] geojson source - clear cache when json content is set | Ivo van Dongen | 2016-10-25 | 2 | -1/+3 | |
| | ||||||
* | [core] geojson source - reset req on setURL | Ivo van Dongen | 2016-10-25 | 1 | -2/+2 | |
| | ||||||
* | [core] Reuse last placement data in CollisionTile::queryRenderedFeatures | Bruno de Oliveira Abinader | 2016-10-25 | 1 | -32/+68 | |
| | | | | | | | | | | | To obtain precise results, we: 1. Round scale value to obtain same results from symbol shader. 2. Generate a boost geometry polygon to check if it intersects() against all feature boxes. 3. Check if current scale is within each feature's minimum and maximum placement scales. 4. De-scale feature boxes when intersecting to account for the fractional zoom scaling. | |||||
* | [core] Added util::polygonIntersectsPolygon | Bruno de Oliveira Abinader | 2016-10-25 | 2 | -20/+13 | |
| | ||||||
* | [core] Simplify CollisionTile::findPlacementScale | Bruno de Oliveira Abinader | 2016-10-25 | 2 | -8/+6 | |
| | | | | | | Improve findPlacementScale semantics by moving the check if the placement scale result is bigger than minimum scale out of the function scope. | |||||
* | [core] Avoid duplicating edges for CollisionTile | Bruno de Oliveira Abinader | 2016-10-25 | 2 | -23/+16 | |
| | | | | | Make 'edges' static to avoid every instance of CollisionTile having its own copy of it. | |||||
* | [core] Cleanup function signatures in CollisionTile | Bruno de Oliveira Abinader | 2016-10-25 | 2 | -7/+7 | |
| | | | | | - Prefer pass-by-value for primitive types. - Use floating point precision for yStretch to match receiving type. | |||||
* | [core] fixup formatting | Ivo van Dongen | 2016-10-21 | 1 | -2/+2 | |
| | ||||||
* | [core] extract weak_ptr mailbox->receive into Mailbox::maybeReceive | Mike Morris | 2016-10-20 | 2 | -0/+8 | |
| | ||||||
* | [core] [node] pass thread pool impl to Map constructor | Mike Morris | 2016-10-20 | 3 | -89/+8 | |
| | | | | | | | Updates mbgl::Map constructor usage everywhere Adds NodeThreadPool implementation using AsyncQueue to call Nan::AsyncQueueWorker from main thread | |||||
* | [core] reload geojson source on url change | Ivo van Dongen | 2016-10-20 | 4 | -0/+18 | |
| | ||||||
* | [core] Fix SymbolAnnotation coordinate system conversions | Bruno de Oliveira Abinader | 2016-10-19 | 1 | -20/+5 | |
| | ||||||
* | [core] TileCoordinate::fromLatLng no longer depens on TransformState | Bruno de Oliveira Abinader | 2016-10-19 | 2 | -12/+13 | |
| | ||||||
* | [core] Move TransformState::{un,}project() to Projection | Bruno de Oliveira Abinader | 2016-10-19 | 4 | -35/+16 | |
| | ||||||
* | [core] Move TransformState::worldSize() to Projection | Bruno de Oliveira Abinader | 2016-10-19 | 3 | -19/+14 | |
| | ||||||
* | [core] Skip redundant spherical mercator variable updates in {ease,fly}To | Bruno de Oliveira Abinader | 2016-10-19 | 1 | -5/+0 | |
| | ||||||
* | [core] Cleanup SymbolLayout | Bruno de Oliveira Abinader | 2016-10-13 | 3 | -34/+36 | |
| | | | | | Reuse reverse rotation matrix from CollisionTile when populating the collision boxes. | |||||
* | [core] Disable stencil test when rendering collision boxes | Bruno de Oliveira Abinader | 2016-10-12 | 1 | -3/+1 | |
| | ||||||
* | [core] Skip duplicated IDs when querying point annotations | Bruno de Oliveira Abinader | 2016-10-12 | 1 | -3/+5 | |
| | ||||||
* | [core] Improve Source::Impl readability | Bruno de Oliveira Abinader | 2016-10-11 | 1 | -18/+11 | |
| | ||||||
* | [core] Use TilePoint in Source::Impl::queryRenderedFeatures | Bruno de Oliveira Abinader | 2016-10-11 | 3 | -22/+32 | |
| | ||||||
* | [core] Use query geometry from FeatureIndex into ↵ | Bruno de Oliveira Abinader | 2016-10-11 | 3 | -4/+16 | |
| | | | | CollisionTile::queryRenderedSymbols | |||||
* | [core] No need for feature querying to support multipolygons | John Firebaugh | 2016-10-11 | 12 | -57/+46 | |
| | ||||||
* | [core] Ignore placement for symbol annotations | Bruno de Oliveira Abinader | 2016-10-11 | 1 | -0/+1 | |
| | ||||||
* | [core] Skip placement scale for features that ignore placement | Bruno de Oliveira Abinader | 2016-10-11 | 1 | -7/+13 | |
| | ||||||
* | Update mapbox-gl-shaders to 98a56d | John Firebaugh | 2016-10-10 | 8 | -40/+40 | |
| | ||||||
* | [core] Fix Map::setLatLng behavior | Bruno de Oliveira Abinader | 2016-10-07 | 1 | -1/+1 | |
| | | | | | We were erroneously assigning a value to optional<ScreenCoordinate> (null island), causing it to be a valid anchor for Transform::easeTo. | |||||
* | [core] Rationalize shader names | John Firebaugh | 2016-10-06 | 36 | -156/+158 | |
| | | | | {layer type}{subtype}Shader | |||||
* | [core] Adhere to vertices/vertexBuffer naming convention | John Firebaugh | 2016-10-05 | 8 | -23/+23 | |
| | ||||||
* | [core] TextureRectVertex ⇢ SymbolVertex | John Firebaugh | 2016-10-05 | 8 | -28/+27 | |
| | ||||||
* | [core] Make ElementGroup safer | John Firebaugh | 2016-10-05 | 15 | -181/+151 | |
| | | | | | | Template on shader types, rather than count. This allows the compiler to enforce using the correct VAO for the shader and PaintMode. This fixes OverdrawMode with circle layers. While here, avoid using unique_ptrs for groups. Instead, ensure ElementGroup is movable. | |||||
* | [core] Improve attribute binding API | John Firebaugh | 2016-10-05 | 43 | -203/+257 | |
| | ||||||
* | [core] Put VertexArrayObject in gl namespace | John Firebaugh | 2016-10-05 | 7 | -37/+42 | |
| | ||||||
* | [core] Move shader and uniform to gl directory | John Firebaugh | 2016-10-05 | 27 | -244/+249 | |
| |