Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #1412 from mapbox/1309-another-try | John Firebaugh | 2015-05-04 | 15 | -56/+127 |
|\ | | | | | Ensure worker tasks are complete before destroying TileData | ||||
| * | Join worker tasks before destroying TileData | John Firebaugh | 2015-05-04 | 11 | -40/+111 |
| | | | | | | Fixes #1309 | ||||
| * | C++14 | John Firebaugh | 2015-05-04 | 1 | -2/+3 |
| | | |||||
| * | Build with clang 3.5 | John Firebaugh | 2015-05-04 | 1 | -6/+6 |
| | | |||||
| * | Build with gcc 4.9 | John Firebaugh | 2015-05-04 | 4 | -10/+9 |
| | | |||||
* | | update iOS 8.x target mention | Justin R. Miller | 2015-05-04 | 1 | -1/+1 |
| | | |||||
* | | iOS tests docs fixes | Justin R. Miller | 2015-05-04 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #1411 from mapbox/1410-one-kilometer | Brad Leege | 2015-05-04 | 1 | -1/+1 |
|\ \ | | | | | | | One Kilometer Desired Accuracy | ||||
| * | | #1410 - Switching Metrics Location Manager's desiredAccuracy to 1 Kilometer ↵ | Brad Leege | 2015-05-04 | 1 | -1/+1 |
| |/ | | | | | | | from 3 Kilometers | ||||
* | | Merge pull request #1400 from mapbox/1ec5-disable-events-163 | Minh Nguyễn | 2015-05-04 | 1 | -8/+3 |
|\ \ | |/ |/| | Avoid creating MGLMapboxEvents when Metrics is disabled | ||||
| * | Avoid creating MGLMapboxEvents when Metrics is disabled | Minh Nguyễn | 2015-05-01 | 1 | -8/+3 |
| | | | | | | | | Mapbox Metrics already has a bottleneck; might as well use it to avoid fetching data in the first place. | ||||
* | | Merge pull request #1325 from mapbox/1325-simplify-render-path | Konstantin Käfer | 2015-05-04 | 57 | -328/+851 |
|\ \ | | | | | | | Simplify render path | ||||
| * | | lower thread priority of worker threads | Konstantin Käfer | 2015-05-04 | 12 | -6/+48 |
| | | | |||||
| * | | check for errors | Konstantin Käfer | 2015-05-04 | 1 | -4/+4 |
| | | | |||||
| * | | fix needsUpload() | Konstantin Käfer | 2015-05-04 | 1 | -1/+1 |
| | | | |||||
| * | | don't reallocate the Glyph atlas too often | Konstantin Käfer | 2015-05-04 | 1 | -12/+35 |
| | | | | | | | | | | | | | | | | | | - previously, we reallocated the glyph atlas on every upload. Instead, we're now using glTexSubImage2D to reuse the existing buffer - we're no longer forcing a texture upload when we remove glyphs; they won't be rendered anyway - we're now only doing a texture upload once per frame; previously, worker threads that added glyphs mid-render could trigger a texture upload while rendering is in progress | ||||
| * | | only update GL state when it actually changed | Konstantin Käfer | 2015-05-04 | 12 | -83/+340 |
| | | | |||||
| * | | add gl::groups back for easier debugging in Xcode | Konstantin Käfer | 2015-05-04 | 3 | -65/+99 |
| | | | |||||
| * | | rename prepare => upload and determine passes per layer instead of per bucket | Konstantin Käfer | 2015-05-04 | 14 | -36/+91 |
| | | | |||||
| * | | make sure we always to a full upload after sprite atlas resizes | Konstantin Käfer | 2015-05-04 | 2 | -3/+5 |
| | | | | | | | | | | | | We always need to do a full upload to adjust the image buffer size when we adjust the size of our sprite atlas. This can happen when we change the pixelRatio of the map we're rendering. | ||||
| * | | upload all GL objects before rendering a frame | Konstantin Käfer | 2015-05-04 | 13 | -21/+111 |
| | | | | | | | | | | | | This moves all texture updates and buffer uploads to the beginning of every frame, before we issue any drawing commands. This means the GPU typically has much more time to upload the data in the background until we actually need it, and doesn't have to pause to store/load the framebuffer. | ||||
| * | | add prepare() function | Konstantin Käfer | 2015-05-04 | 12 | -20/+60 |
| | | | |||||
| * | | remove hasData() from Bucket interface | Konstantin Käfer | 2015-05-04 | 11 | -22/+6 |
| | | | |||||
| * | | add upload API to gl objects | Konstantin Käfer | 2015-05-04 | 6 | -45/+26 |
| | | | |||||
| * | | create the tile list statically | Konstantin Käfer | 2015-05-04 | 3 | -2/+18 |
| | | | |||||
| * | | build render order array once instead of recursing through lots of different ↵ | Konstantin Käfer | 2015-05-04 | 11 | -106/+105 |
|/ / | | | | | | | objects | ||||
* | | Merge pull request #1406 from mapbox/coverity-fixes | Dane Springmeyer | 2015-05-03 | 2 | -11/+11 |
|\ \ | | | | | | | Fix integer division in transform.cpp | ||||
| * | | fix more 'result is not floating point' coverity warnings | Dane Springmeyer | 2015-05-03 | 1 | -4/+4 |
| | | | |||||
| * | | fix integer division to work in doubles in transform.cpp | Dane Springmeyer | 2015-05-03 | 1 | -7/+7 |
|/ / | |||||
* | | RunLoop must outlive Object | John Firebaugh | 2015-05-02 | 1 | -3/+3 |
| | | | | | | | | | | | | ~Object is likely to join threads that want to dispatch results back to this RunLoop. This happens, for example, when MapContext is destructed: it joins the worker threads, which need to complete work before shutting down. | ||||
* | | Fix CURL handle leak (fixes #1394) | John Firebaugh | 2015-05-01 | 1 | -0/+5 |
| | | |||||
* | | Fix potential crash | John Firebaugh | 2015-05-01 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | The promise could be deallocated before promise.set_value() had returned, which apparently caused an invalid read on some implementations. By moving the promise declaration up the stack, we ensure that the map is deallocated first, and therefore the map thread is joined, before the promise is deallocated. | ||||
* | | Merge branch 'uv_leak' | John Firebaugh | 2015-05-01 | 6 | -170/+75 |
|\ \ | |||||
| * | | Eliminate uv::async leak (fixes #1393) | John Firebaugh | 2015-05-01 | 3 | -24/+18 |
| | | | |||||
| * | | Write SQLite tests in terms of Impl | John Firebaugh | 2015-05-01 | 3 | -146/+57 |
| | | | |||||
* | | | More bandaids to avoid #1309 | John Firebaugh | 2015-05-01 | 5 | -15/+15 |
| |/ |/| | | | | | | | Even though we only bind the shared_ptr in the after callback, the worker thread was still copying the callback and therefore gaining a shared reference. Here we try to eliminate the copies. | ||||
* | | Reset previous style before creating new one | John Firebaugh | 2015-05-01 | 1 | -0/+2 |
| | | | | | | | | | | | | This ensures that the worker threads associated with the style are joined before new worker threads are launched. I don't know exactly why, but it seems to fix #1384. | ||||
* | | Merge pull request #1397 from mapbox/clang-3.6 | John Firebaugh | 2015-05-01 | 6 | -12/+8 |
|\ \ | |/ |/| | Fix compile with clang-3.6 | ||||
| * | fix compile with clang-3.6 | Dane Springmeyer | 2015-05-01 | 6 | -12/+8 |
|/ | |||||
* | Replace unsafe use of future with packaged_task | John Firebaugh | 2015-05-01 | 1 | -8/+8 |
| | |||||
* | Merge pull request #1392 from mapbox/valgrind | John Firebaugh | 2015-05-01 | 2 | -4/+4 |
|\ | | | | | Fix some bugs found via valgrind | ||||
| * | Fix intended identity comparisons | John Firebaugh | 2015-05-01 | 1 | -2/+2 |
| | | |||||
| * | Fix uninitialized variable | John Firebaugh | 2015-05-01 | 1 | -2/+2 |
|/ | |||||
* | [publish ios-v0.2.19] | Justin R. Miller | 2015-05-01 | 0 | -0/+0 |
| | |||||
* | bump podspec to 0.2.19ios-v0.2.19 | Justin R. Miller | 2015-05-01 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1292 from mapbox/1266-slippy | Minh Nguyễn | 2015-05-01 | 1 | -25/+93 |
|\ | | | | | Slip and slide | ||||
| * | Fixed build errors from merge | Minh Nguyễn | 2015-05-01 | 1 | -2/+2 |
| | | | | | | | | Follow-up to cf33edf16d60a8967976a8b0296135a106e22ce1. | ||||
| * | Merge branch 'master' into 1266-slippy | Justin R. Miller | 2015-05-01 | 201 | -4053/+3444 |
| |\ | |/ |/| | |||||
* | | [publish ios-v0.2.18] | Justin R. Miller | 2015-04-30 | 0 | -0/+0 |
| | | |||||
* | | bump podspec to 0.2.18ios-v0.2.18 | Justin R. Miller | 2015-04-30 | 1 | -1/+1 |
| | |