Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [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 |
| | |||||
* | [core] move retry logic to DefaultFileSource | Konstantin Käfer | 2015-11-02 | 1 | -6/+9 |
| | |||||
* | [node] Output debug logs when a render test times out | John Firebaugh | 2015-10-28 | 1 | -0/+11 |
| | |||||
* | [core] Make response data shared to avoid excessive copying | Konstantin Käfer | 2015-10-26 | 1 | -1/+1 |
| | |||||
* | [core] add support for stale responses | Konstantin Käfer | 2015-10-26 | 1 | -0/+4 |
| | | | | We're now returning stale responses from cache. Those responses will have the `stale` flag set to true. Currently, all requesters in the core code discard stale responses, and cancel the request immediately after they got a non-stale response. | ||||
* | [core] use RAII-style lifetime tracking of Request objects | Konstantin Käfer | 2015-10-26 | 1 | -12/+3 |
| | |||||
* | [core] all requests have to be canceled explicitly now | Konstantin Käfer | 2015-10-26 | 1 | -2/+3 |
| | | | | By not automatically destroying Request objects after the result has been delivered, we are making sure that we can potentially fire the callback multiple times without adverse effects. This means that you have to hold on to the result of fs->request(), can explicitly cancel it if you don't want to be notified of data changes anymore. Not doing so will monitor the request indefinitely and will prevent the app from exiting. | ||||
* | [core] Removed time param from Painter::render | Bruno de Oliveira Abinader | 2015-10-21 | 1 | -1/+1 |
| | | | | Animation time can be obtained directly from MapData. | ||||
* | [core] Moved Painter::setup() to Painter ctor | Bruno de Oliveira Abinader | 2015-10-21 | 1 | -5/+1 |
| | |||||
* | [core] Remove redundant setDebug() from Painter | Bruno de Oliveira Abinader | 2015-10-21 | 1 | -1/+0 |
| | | | | This information can be obtained directly from MapData. | ||||
* | [core] only check for mapbox:// at the start of the failed request's URL | Jason Wray | 2015-10-21 | 1 | -1/+1 |
| | |||||
* | [core] Improve error message when style is not found or is incompatible | Jason Wray | 2015-10-21 | 1 | -0/+2 |
| | | | | | | | Attempting to use a Mapbox-hosted incompatible raster map/style with GL would throw a simple 404, without any indication of the real issue. Fix #1724, ref #1841 | ||||
* | [core] MapContext setStyle{URL,JSON} should ignore redundant calls | Bruno de Oliveira Abinader | 2015-10-16 | 1 | -0/+8 |
| | | | | | | Our engine should be robust enough to ignore redundant calls and avoid triggering a whole style update if the style URL and/or JSON are the same. | ||||
* | [core] [android] Fix InfoWindow topOffsetPixels adjustment when switching styles | Leith Bade | 2015-10-16 | 1 | -8/+5 |
| | | | | | | | Fixes #2599 Make getTopOffsetPixelsForAnnotationSymbol private Also implements MapChangeWillStartLoadingMap, MapChangeDidFinishLoadingMap Paritally implements #630 | ||||
* | [core] MapContext setStyle{URL,JSON} should ignore redundant calls | Bruno de Oliveira Abinader | 2015-10-14 | 1 | -0/+8 |
| | | | | | | Our engine should be robust enough to ignore redundant calls and avoid triggering a whole style update if the style URL and/or JSON are the same. |