summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1412 from mapbox/1309-another-tryJohn Firebaugh2015-05-0415-56/+127
|\ | | | | Ensure worker tasks are complete before destroying TileData
| * Join worker tasks before destroying TileDataJohn Firebaugh2015-05-0411-40/+111
| | | | | | Fixes #1309
| * C++14John Firebaugh2015-05-041-2/+3
| |
| * Build with clang 3.5John Firebaugh2015-05-041-6/+6
| |
| * Build with gcc 4.9John Firebaugh2015-05-044-10/+9
| |
* | update iOS 8.x target mentionJustin R. Miller2015-05-041-1/+1
| |
* | iOS tests docs fixesJustin R. Miller2015-05-041-1/+1
| |
* | Merge pull request #1411 from mapbox/1410-one-kilometerBrad Leege2015-05-041-1/+1
|\ \ | | | | | | One Kilometer Desired Accuracy
| * | #1410 - Switching Metrics Location Manager's desiredAccuracy to 1 Kilometer ↵Brad Leege2015-05-041-1/+1
| |/ | | | | | | from 3 Kilometers
* | Merge pull request #1400 from mapbox/1ec5-disable-events-163Minh Nguyễn2015-05-041-8/+3
|\ \ | |/ |/| Avoid creating MGLMapboxEvents when Metrics is disabled
| * Avoid creating MGLMapboxEvents when Metrics is disabledMinh Nguyễn2015-05-011-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-pathKonstantin Käfer2015-05-0457-328/+851
|\ \ | | | | | | Simplify render path
| * | lower thread priority of worker threadsKonstantin Käfer2015-05-0412-6/+48
| | |
| * | check for errorsKonstantin Käfer2015-05-041-4/+4
| | |
| * | fix needsUpload()Konstantin Käfer2015-05-041-1/+1
| | |
| * | don't reallocate the Glyph atlas too oftenKonstantin Käfer2015-05-041-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 changedKonstantin Käfer2015-05-0412-83/+340
| | |
| * | add gl::groups back for easier debugging in XcodeKonstantin Käfer2015-05-043-65/+99
| | |
| * | rename prepare => upload and determine passes per layer instead of per bucketKonstantin Käfer2015-05-0414-36/+91
| | |
| * | make sure we always to a full upload after sprite atlas resizesKonstantin Käfer2015-05-042-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 frameKonstantin Käfer2015-05-0413-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() functionKonstantin Käfer2015-05-0412-20/+60
| | |
| * | remove hasData() from Bucket interfaceKonstantin Käfer2015-05-0411-22/+6
| | |
| * | add upload API to gl objectsKonstantin Käfer2015-05-046-45/+26
| | |
| * | create the tile list staticallyKonstantin Käfer2015-05-043-2/+18
| | |
| * | build render order array once instead of recursing through lots of different ↵Konstantin Käfer2015-05-0411-106/+105
|/ / | | | | | | objects
* | Merge pull request #1406 from mapbox/coverity-fixesDane Springmeyer2015-05-032-11/+11
|\ \ | | | | | | Fix integer division in transform.cpp
| * | fix more 'result is not floating point' coverity warningsDane Springmeyer2015-05-031-4/+4
| | |
| * | fix integer division to work in doubles in transform.cppDane Springmeyer2015-05-031-7/+7
|/ /
* | RunLoop must outlive ObjectJohn Firebaugh2015-05-021-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 Firebaugh2015-05-011-0/+5
| |
* | Fix potential crashJohn Firebaugh2015-05-011-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 Firebaugh2015-05-016-170/+75
|\ \
| * | Eliminate uv::async leak (fixes #1393)John Firebaugh2015-05-013-24/+18
| | |
| * | Write SQLite tests in terms of ImplJohn Firebaugh2015-05-013-146/+57
| | |
* | | More bandaids to avoid #1309John Firebaugh2015-05-015-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 oneJohn Firebaugh2015-05-011-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.6John Firebaugh2015-05-016-12/+8
|\ \ | |/ |/| Fix compile with clang-3.6
| * fix compile with clang-3.6Dane Springmeyer2015-05-016-12/+8
|/
* Replace unsafe use of future with packaged_taskJohn Firebaugh2015-05-011-8/+8
|
* Merge pull request #1392 from mapbox/valgrindJohn Firebaugh2015-05-012-4/+4
|\ | | | | Fix some bugs found via valgrind
| * Fix intended identity comparisonsJohn Firebaugh2015-05-011-2/+2
| |
| * Fix uninitialized variableJohn Firebaugh2015-05-011-2/+2
|/
* [publish ios-v0.2.19]Justin R. Miller2015-05-010-0/+0
|
* bump podspec to 0.2.19ios-v0.2.19Justin R. Miller2015-05-011-1/+1
|
* Merge pull request #1292 from mapbox/1266-slippyMinh Nguyễn2015-05-011-25/+93
|\ | | | | Slip and slide
| * Fixed build errors from mergeMinh Nguyễn2015-05-011-2/+2
| | | | | | | | Follow-up to cf33edf16d60a8967976a8b0296135a106e22ce1.
| * Merge branch 'master' into 1266-slippyJustin R. Miller2015-05-01201-4053/+3444
| |\ | |/ |/|
* | [publish ios-v0.2.18]Justin R. Miller2015-04-300-0/+0
| |
* | bump podspec to 0.2.18ios-v0.2.18Justin R. Miller2015-04-301-1/+1
| |