summaryrefslogtreecommitdiff
path: root/src/mbgl
Commit message (Collapse)AuthorAgeFilesLines
* Install RapidJSON from masonJohn Firebaugh2015-10-014-4/+8
|
* mason variant@1.0Mike Morris2015-09-309-8/+14
|
* [node] Handle tiles which 404 betterbsudekum2015-09-292-0/+12
|
* Fix up of some naming issues, etc.Adam Hunter2015-09-292-58/+56
|
* Added GL logging utilityAdam Hunter2015-09-292-0/+143
|
* Rewrite annotation invalidation strategyJohn Firebaugh2015-09-2810-190/+128
| | | | | | | | | | | | | | | | First, move style mutation code out of StyleParser and into AnnotationManager, coalescing it with the mutation code for shape layers. Second, allow AnnotationManager to keep track of stale tiles entirely internally. There's no reason to pass sets of TileIDs around. Third, correct the logic for invalidating the shape source. Since AnnotationManager does not track shape invalidations on a tile-by-tile basis, don't try to invalidate the shape source tile-by-tile. Fixes #1675 Fixes #2322 Fixes #2095
* Move updateAnnotationTiles[IfNeeded] to AnnotationManagerJohn Firebaugh2015-09-284-130/+97
|
* map/annotation.* ⇢ annotation/annotation_manager.*John Firebaugh2015-09-286-5/+3
|
* Move Annotation class to cpp fileJohn Firebaugh2015-09-282-22/+15
|
* Move entire loop body to helper functionJohn Firebaugh2015-09-282-90/+57
|
* Inline AnnotationManager::addTileFeatureJohn Firebaugh2015-09-282-45/+14
|
* Ensure that LiveTileData can be reparsedJohn Firebaugh2015-09-285-8/+26
| | | | | | | | | | Annotation tiles may become partially parsed just like regular tiles, for example if a point annotation is added to the map before the style's sprite has been loaded. In such cases, they need to be reparsed or the annotation will not be rendered. Previously, the code path for reparsing would be short-circuited by a dynamic_cast<VectorTileData*> followed by a null check. This commit removes that case and adds (back) a virtual reparse method to the TileData interface.
* [core] include api.mapbox.com in canonicalizationKonstantin Käfer2015-09-282-0/+57
| | | | and move the canonicalization to mapbox.cpp since it's not specific to the SQLiteCache
* Fix freezing on Android when rotatingLeith Bade2015-09-221-0/+4
| | | | Fixes #1941
* [core] Annotation cleanupHenry Dooley2015-09-162-136/+101
| | | | | Eliminate dead code and unecessary STL container usage. Refactor large methods into smaller functional units.
* Revert "[node] Enable npm to build mapbox-gl-native package from source"Lucas Wojciechowski2015-09-163-4/+2
| | | | This reverts commit 4e1ead344bfb1f9ddb207924465fabae3d218d67.
* fix circle clipping bugAnsis Brammanis2015-09-161-0/+4
| | | | https://github.com/mapbox/mapbox-gl-js/commit/91d2e0ee5cf4ed3811804ef40b1696f93de74410
* Don't leak GlyphAtlas textures (fixes #2338)John Firebaugh2015-09-162-0/+12
|
* [node] Enable npm to build mapbox-gl-native package from sourceLucas Wojciechowski2015-09-153-2/+4
| | | | | | - Allow node bindings to be built if git submodules cannot be checked out - Made geojsonvt a mason package instead of a git submodule - Use globally installed mason if it cannot be checked out via git submodules
* [core] convert remaining types to use OpenGL header defined variantsBruno de Oliveira Abinader2015-09-1513-31/+32
|
* [core] GL types for buckets, textures, buffersBruno de Oliveira Abinader2015-09-1515-53/+56
|
* [core] GLObjectStore now uses GLuintBruno de Oliveira Abinader2015-09-152-9/+10
|
* [shader] GL types for all Shader attributesBruno de Oliveira Abinader2015-09-1516-126/+126
|
* [shader] Shaders vertex and fragments are now GLchar*Bruno de Oliveira Abinader2015-09-152-13/+14
|
* don't delete the shaders before the programKonstantin Käfer2015-09-142-8/+9
| | | | some GPU drivers have issues with deleting shader objects that are attached to programs. while this is allowed by the spec, it seems that some drivers are crashing nonetheless.
* don't validate the programKonstantin Käfer2015-09-141-25/+0
| | | | it's not in a state where validation always succeeds with all drivers, e.g. because textures might not be attached yet
* [shader] bind() is now a pure virtualBruno de Oliveira Abinader2015-09-1436-62/+65
| | | | | - Shader::bind() now receives a GLbyte* - BUFFER_OFFSET now uses GLbyte
* [shader] Moved 'a_pos' GL attribute to ShaderBruno de Oliveira Abinader2015-09-1426-37/+8
| | | | Avoids duplicated code in all derived classes.
* Increased precision of coordinate conversion methodsMinh Nguyễn2015-09-112-10/+10
| | | | Fixes #2230.
* increase precision for coordinate conversionsAnsis Brammanis2015-09-115-28/+27
| | | | | | This fixes the earthquakes while panning at high zoom levels. Cherry-picked from 9607171612c4a40e41eddaff5230ad571571a5b9 on the perspective-improved-gestures branch.
* fixes #1675: abstract annotation tile refresh check/render; trigger ↵Justin R. Miller2015-09-085-2/+16
| | | | post-sprite/sprite store load
* CameraOptionsMinh Nguyễn2015-09-076-295/+131
| | | | | | | | | | | | Plumbed camera options all the way through to MGLMapView. Added a method that lets you specify a direction in addition to center point and zoom level. Added Map::jumpTo() for parity with mapbox-gl-js. Replaced usage of Map::setLatLng() and Map::setLatLngZoom() with Map::jumpTo() or Map::easeTo() within MGLMapView. Replaced MGLMapView.pitch with MGLMapCamera for setting all supported degrees of freedom simultaneously. Simultaneously move and rotate with course. Support customizable timing functions on iOS. iosapp now persists an archived MGLMapCamera instead of separate viewpoint properties and also synchronizes user defaults on termination. This change implements persistence entirely in Objective-C, eliminating the use of the Objective-C++ implementation. Fixes #1643, fixes #1834. Ref #1581.
* fix circles at very high zoom levelsAnsis Brammanis2015-09-021-1/+1
| | | | https://github.com/mapbox/mapbox-gl-js/commit/5c8be4b8487a230a32684737a1e81c8a0b2a4396
* Get rid of MapData::{get,set}NeedsRepaintBruno de Oliveira Abinader2015-09-023-18/+1
|
* Substitute nudgeTransitions with async view invalidationBruno de Oliveira Abinader2015-09-024-7/+18
|
* Provide view invalidation call coalescion via uv_async_tBruno de Oliveira Abinader2015-09-022-20/+10
|
* Style no longer requires mainloop accessBruno de Oliveira Abinader2015-09-023-7/+4
|
* Merge pull request #2179 from mapbox/nodeMike Morris2015-09-021-2/+4
|\ | | | | Node bindings
| * remove debug logging and whitespace [skip ci]Mike Morris2015-09-011-2/+0
| |
| * In still mode, don't load resources until a render request is madeJohn Firebaugh2015-08-311-1/+1
| |
| * Merge branch 'master' into nodeJohn Firebaugh2015-08-3155-362/+882
| |\
| * | local nvm?Mike Morris2015-08-281-0/+2
| | |
| * | View::swap -> View::beforeRender View::afterRenderMike Morris2015-08-251-1/+3
| | | | | | | | | | | | | | | To be able to resize the framebuffer on the map thread in HeadlessView.
* | | Bump geojsonvt versionThiago Marcos P. Santos2015-09-011-0/+0
| |/ |/| | | | | It was downgraded (probably accidentally) by 60e9712916.
* | improve dashed and patterned line antialiasingAnsis Brammanis2015-08-278-23/+49
| | | | | | | | | | in perspective view. This is exactly the same approach used for regular lines. I just forgot to implement it for these types of lines.
* | fix line antialiasing adjustment bugAnsis Brammanis2015-08-271-1/+1
| | | | | | | | | | | | | | | | fix #2189 This puts an upper limit on how much lines can be blurred because of their y position. It's a hacky fix but the entire way lines are antialiased in perspective view is hacky.
* | Merge branch 'master' into perspective-without-y-flipMinh Nguyễn2015-08-255-28/+26
|\ \
| * | Revert "only update the render order array when there are changes to tiles"Bruno de Oliveira Abinader2015-08-254-27/+21
| | | | | | | | | | | | | | | | | | This reverts commit fd98607c5fcb14aaa29c046a0b7115f47aaf2ddc. Fixes #2163.
| * | Make Bucket::uploaded an atomic boolBruno de Oliveira Abinader2015-08-251-1/+5
| |/ | | | | | | | | This class is called from multiple threads, so we better make this synchronization flag atomic.
* | move the point origin back to bottom-leftAnsis Brammanis2015-08-251-3/+5
| |