summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [core] operator bool() must always be explicitJohn Firebaugh2016-10-282-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 methodsJohn Firebaugh2016-10-282-32/+28
|
* [core] change std::array<uint16_t, 2> to mbgl::SizeKonstantin Käfer2016-10-2728-155/+146
|
* [core] remove tiles for disabled sourcesKonstantin Käfer2016-10-273-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 usedKonstantin Käfer2016-10-271-3/+6
|
* [core] move gl::Context to Backend and refactor ViewKonstantin Käfer2016-10-2521-256/+449
|
* [core] separate Backend from View for headless renderingKonstantin Käfer2016-10-258-57/+106
|
* [core] geojson source - cancel any pending request when setting geojson ↵Ivo van Dongen2016-10-252-3/+12
| | | | explicitly
* [core] geojson source - clear cache when json content is setIvo van Dongen2016-10-252-1/+3
|
* [core] geojson source - reset req on setURLIvo van Dongen2016-10-251-2/+2
|
* [core] Reuse last placement data in CollisionTile::queryRenderedFeaturesBruno de Oliveira Abinader2016-10-251-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::polygonIntersectsPolygonBruno de Oliveira Abinader2016-10-252-20/+13
|
* [core] Simplify CollisionTile::findPlacementScaleBruno de Oliveira Abinader2016-10-252-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 CollisionTileBruno de Oliveira Abinader2016-10-252-23/+16
| | | | | Make 'edges' static to avoid every instance of CollisionTile having its own copy of it.
* [core] Cleanup function signatures in CollisionTileBruno de Oliveira Abinader2016-10-252-7/+7
| | | | | - Prefer pass-by-value for primitive types. - Use floating point precision for yStretch to match receiving type.
* [core] fixup formattingIvo van Dongen2016-10-211-2/+2
|
* [core] extract weak_ptr mailbox->receive into Mailbox::maybeReceiveMike Morris2016-10-202-0/+8
|
* [core] [node] pass thread pool impl to Map constructorMike Morris2016-10-203-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 changeIvo van Dongen2016-10-204-0/+18
|
* [core] Fix SymbolAnnotation coordinate system conversionsBruno de Oliveira Abinader2016-10-191-20/+5
|
* [core] TileCoordinate::fromLatLng no longer depens on TransformStateBruno de Oliveira Abinader2016-10-192-12/+13
|
* [core] Move TransformState::{un,}project() to ProjectionBruno de Oliveira Abinader2016-10-194-35/+16
|
* [core] Move TransformState::worldSize() to ProjectionBruno de Oliveira Abinader2016-10-193-19/+14
|
* [core] Skip redundant spherical mercator variable updates in {ease,fly}ToBruno de Oliveira Abinader2016-10-191-5/+0
|
* [core] Cleanup SymbolLayoutBruno de Oliveira Abinader2016-10-133-34/+36
| | | | | Reuse reverse rotation matrix from CollisionTile when populating the collision boxes.
* [core] Disable stencil test when rendering collision boxesBruno de Oliveira Abinader2016-10-121-3/+1
|
* [core] Skip duplicated IDs when querying point annotationsBruno de Oliveira Abinader2016-10-121-3/+5
|
* [core] Improve Source::Impl readabilityBruno de Oliveira Abinader2016-10-111-18/+11
|
* [core] Use TilePoint in Source::Impl::queryRenderedFeaturesBruno de Oliveira Abinader2016-10-113-22/+32
|
* [core] Use query geometry from FeatureIndex into ↵Bruno de Oliveira Abinader2016-10-113-4/+16
| | | | CollisionTile::queryRenderedSymbols
* [core] No need for feature querying to support multipolygonsJohn Firebaugh2016-10-1112-57/+46
|
* [core] Ignore placement for symbol annotationsBruno de Oliveira Abinader2016-10-111-0/+1
|
* [core] Skip placement scale for features that ignore placementBruno de Oliveira Abinader2016-10-111-7/+13
|
* Update mapbox-gl-shaders to 98a56dJohn Firebaugh2016-10-108-40/+40
|
* [core] Fix Map::setLatLng behaviorBruno de Oliveira Abinader2016-10-071-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 namesJohn Firebaugh2016-10-0636-156/+158
| | | | {layer type}{subtype}Shader
* [core] Adhere to vertices/vertexBuffer naming conventionJohn Firebaugh2016-10-058-23/+23
|
* [core] TextureRectVertex ⇢ SymbolVertexJohn Firebaugh2016-10-058-28/+27
|
* [core] Make ElementGroup saferJohn Firebaugh2016-10-0515-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 APIJohn Firebaugh2016-10-0543-203/+257
|
* [core] Put VertexArrayObject in gl namespaceJohn Firebaugh2016-10-057-37/+42
|
* [core] Move shader and uniform to gl directoryJohn Firebaugh2016-10-0527-244/+249
|
* [core] Refactor BufferJohn Firebaugh2016-10-0584-933/+854
|
* [core] Don't refer to geometry coordinates as "vertices"John Firebaugh2016-10-051-57/+57
|
* [core] Tiles that error on load are not renderableJohn Firebaugh2016-10-056-11/+22
|
* [core] Pre-filter sources based on the layers they containThiago Marcos P. Santos2016-10-051-0/+14
|
* [core] remove Raster object in favor of a more low-level Texture objectKonstantin Käfer2016-10-0411-186/+113
|
* [core] Preserve non-access_token query parameters in canonicalizeTileURLSam Matthews2016-10-031-0/+11
|
* [build] add back -WerrorKonstantin Käfer2016-09-3010-23/+23
|
* [core] LocalFileSource implementation and testsIvo van Dongen2016-09-301-0/+25
|