Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] Convert MapContext to Map::Impl; eliminate indirection | John Firebaugh | 2016-04-15 | 1 | -316/+0 |
| | |||||
* | [core] Clean up ThreadContext vestiges | John Firebaugh | 2016-04-15 | 1 | -11/+0 |
| | |||||
* | [core] Render from the main thread | John Firebaugh | 2016-04-14 | 1 | -27/+6 |
| | | | | Do not create a thread for the MapContext anymore. | ||||
* | Merge branch 'release-ios-3.2.0-android-4.0.0' | John Firebaugh | 2016-03-30 | 1 | -5/+0 |
|\ | |||||
| * | [core] Localize and simplify state for MapChangeDidFinishLoadingMap event | John Firebaugh | 2016-03-30 | 1 | -5/+0 |
| | | | | | | | | Only Map needs to track this state, and it can simply be set when beginning to load a style and reset when finished. | ||||
* | | [core] Update time point in map context on every update | Bruno de Oliveira Abinader | 2016-03-24 | 1 | -6/+7 |
| | | | | | | | | | | | | | | | | Previous behavior prevented view from notifying when map was fully loaded, because the style sources relies on a future time point for checking if their tiles are updated. This was first caught only in still mode, but also happens in continuous mode for platforms that rely on View::notifyMapChange for updating the view. | ||||
* | | [core] Get rid of MapData::{get,set}animationTime | Bruno de Oliveira Abinader | 2016-03-18 | 1 | -8/+11 |
| | | |||||
* | | [core] Remove default transition duration | Bruno de Oliveira Abinader | 2016-03-18 | 1 | -1/+1 |
| | | |||||
* | | [core] s/Update::Zoom/Update/RecalculateStyle/ | Bruno de Oliveira Abinader | 2016-03-18 | 1 | -3/+3 |
| | | |||||
* | | [core] Added user-defined transition properties when modifying classes | Bruno de Oliveira Abinader | 2016-03-18 | 1 | -6/+7 |
| | | |||||
* | | [core] Cleaned up duplicate code in MapContext | Bruno de Oliveira Abinader | 2016-03-18 | 1 | -27/+16 |
| | | |||||
* | | [core] Move class handling to Style | Bruno de Oliveira Abinader | 2016-03-18 | 1 | -0/+28 |
|/ | |||||
* | Fixes an issue where rendering without Vertex Array Objects would cause a ↵ | Henry Dooley | 2016-03-04 | 1 | -3/+3 |
| | | | | massive slowdown in the driver on Nvidia hardware. Unconfirmed if the issue is present on other GPUs. | ||||
* | [core] Fix style cascade loop when transitioning | Bruno de Oliveira Abinader | 2016-03-03 | 1 | -1/+1 |
| | |||||
* | [core] Thread GLObjectStore through to Holder objects | John Firebaugh | 2016-02-18 | 1 | -3/+1 |
| | | | | | | This eliminates the reliance on ThreadContext to provide GLObjectStore, and statically enforces that GL cleanup functions happen only when GLObjectStore::performCleanup is called. With the elimination of the Map thread, this becomes important because there may be multiple GLObjectStore's per-thread, and Map will need to ensure that the correct context is active when calling GLObjectStore::performCleanup. | ||||
* | [core] Remove ThreadContext::getFileSource; instead thread FileSource through | John Firebaugh | 2016-02-18 | 1 | -6/+5 |
| | |||||
* | [gl] Moved TexturePool to gl namespace | Bruno de Oliveira Abinader | 2016-02-18 | 1 | -2/+3 |
| | |||||
* | [gl] Moved GLObjectStore to gl namespace | Bruno de Oliveira Abinader | 2016-02-18 | 1 | -1/+1 |
| | |||||
* | [all] Don't interpret 404s on non-tile resources as "no content" | John Firebaugh | 2016-02-10 | 1 | -6/+3 |
| | |||||
* | [core] Remove TransformState::getNormalizedZoom | John Firebaugh | 2016-02-02 | 1 | -1/+1 |
| | | | | It calculated the same value as TransformState::getZoom. | ||||
* | [core] Rationalize Resource initialization | John Firebaugh | 2016-01-29 | 1 | -1/+1 |
| | |||||
* | [core] Use notModified to check for style change | John Firebaugh | 2016-01-22 | 1 | -5/+7 |
| | |||||
* | [core] Use experimental optional instead of mapbox::util::optional | John Firebaugh | 2016-01-19 | 1 | -1/+1 |
| | |||||
* | [core] use stale styles | Konstantin Käfer | 2016-01-15 | 1 | -9/+6 |
| | | | | This adds support for using cached styles that are stale. They're treated like changing styles; when the refreshed style changed compared to the one we've already had, we're swapping out the entire style, which might cause a slight flicker. | ||||
* | [core] Get rid of ::unref() for Timer and AsyncTask | Thiago Marcos P. Santos | 2016-01-09 | 1 | -3/+0 |
| | | | | | Not need, legacy from libuv. The RunLoop keep the main loop running until is explicitly no longer needed. | ||||
* | [core] unify URL prefix detection (asset:// and mapbox://) | Konstantin Käfer | 2016-01-08 | 1 | -1/+3 |
| | |||||
* | [core] Rationalize error handling for resource loading | John Firebaugh | 2015-12-23 | 1 | -6/+3 |
| | | | | | | | | | * Standardize on std::exception_ptr as the error representation (fixes #2854). * Don't format textual strings at the error source; pass on the constituent data via observer method parameters instead. * Use the null object pattern to simplify observer notification code. * Further refactoring for ResourceLoading tests. | ||||
* | [ios, android] Add methods to remove a custom layer | John Firebaugh | 2015-12-17 | 1 | -0/+6 |
| | |||||
* | [android] Custom layer bindings | John Firebaugh | 2015-12-16 | 1 | -0/+2 |
| | |||||
* | 2210: Sprites can be removed / updated correctly | Romain Quidet | 2015-12-15 | 1 | -1/+6 |
| | |||||
* | [core] Custom layers | John Firebaugh | 2015-12-09 | 1 | -0/+5 |
| | |||||
* | [core] add namespace comment to closing brace | Konstantin Käfer | 2015-12-03 | 1 | -1/+1 |
| | |||||
* | [core] Fix std::move() misuse that disables copy elision | Konstantin Käfer | 2015-12-03 | 1 | -1/+1 |
| | |||||
* | [core] Map::setSprite ⇢ Map::addAnnotationIcon | John Firebaugh | 2015-12-01 | 1 | -7/+7 |
| | | | | Fixes #3084 | ||||
* | [core] Privatize layers and sources | John Firebaugh | 2015-12-01 | 1 | -7/+2 |
| | |||||
* | [core] Use a separate atlas and store for annotation sprites | Adam Hunter | 2015-12-01 | 1 | -15/+4 |
| | | | | Fixes #1488 | ||||
* | [core] Move MapData storage to MapContext | John Firebaugh | 2015-12-01 | 1 | -2/+4 |
| | | | | | This allows MapData members to hold GL resources which must be released on the MapContext thread -- necessary for the following commit. | ||||
* | [core] Use AsyncTask on the MapContext | Thiago Marcos P. Santos | 2015-12-01 | 1 | -15/+14 |
| | |||||
* | [core] Rewrite image handling | John Firebaugh | 2015-11-25 | 1 | -7/+6 |
| | | | | | | * Consolidate Image and StillImage * Typecheck unassociated vs premultiplied images * Rewrite default platform image decoding implementation | ||||
* | [core] Followup fix to #3037 | John Firebaugh | 2015-11-19 | 1 | -1/+1 |
| | | | | | | | | | The previous fix resulted in annotations sometimes never being added. This would happen if, during the execution of MapContext::update where Update::Annotations was set, the style itself was loaded but some of its subresources (sprite or sources) were not. #3082 is a follow up issue to make MapContext::update less error-prone. | ||||
* | [core] Avoid calling AnnotationManager::updateStyle until the style is loaded | John Firebaugh | 2015-11-18 | 1 | -1/+1 |
| | | | Fixes #3037 | ||||
* | [core] Avoid extra copy of TransformState in Painter::render | Bruno de Oliveira Abinader | 2015-11-18 | 1 | -2/+2 |
| | | | | | | In MapContext thread, TransformState gets updated from main thread to MapContext and Painter can safely reference MapContext's TransformState instead of copying it upon each Painter::render call. | ||||
* | [core] Pass a value to response callback, not a reference | John Firebaugh | 2015-11-16 | 1 | -1/+1 |
| | |||||
* | [core] Do not pass uv_loop_t around | Thiago Marcos P. Santos | 2015-11-16 | 1 | -1/+1 |
| | | | | This should be abstracted by util::RunLoop | ||||
* | [core] Merge Sprite into SpriteStore | John Firebaugh | 2015-11-12 | 1 | -1/+1 |
| | |||||
* | [core] Reorganize sprite related files | John Firebaugh | 2015-11-12 | 1 | -3/+3 |
| | |||||
* | Revert "[core] only update the render order array when there are changes to ↵ | Konstantin Käfer | 2015-11-09 | 1 | -15/+1 |
| | | | | | | tiles" This reverts commit ec1a58d8effb3292ec46cca3fcad17218fa8c016 and 177372b83657cda9696ff68fd5cbb872b87ce324. | ||||
* | [core] Update::Classes already implies repaint | Bruno de Oliveira Abinader | 2015-11-09 | 1 | -3/+1 |
| | |||||
* | [core] clear the render order when we're loading a new style | Konstantin Käfer | 2015-11-06 | 1 | -0/+6 |
| | | | | regression introduced by #2908 | ||||
* | [core] only update the render order array when there are changes to tiles | Konstantin Käfer | 2015-11-05 | 1 | -1/+9 |
| |