Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | External synchronization for AnnotationManager | John Firebaugh | 2015-07-02 | 6 | -32/+23 |
| | |||||
* | Don't inherit for code reuse | John Firebaugh | 2015-07-02 | 4 | -51/+54 |
| | |||||
* | Remove unnecessary virtual methods from TileData | John Firebaugh | 2015-07-02 | 5 | -26/+12 |
| | |||||
* | fix line tessellation, fix #1814 | Ansis Brammanis | 2015-07-02 | 1 | -2/+2 |
| | |||||
* | reduce collision box linewidth to 1 | Ansis Brammanis | 2015-07-02 | 1 | -1/+1 |
| | | | | https://github.com/mapbox/mapbox-gl-js/commit/06eece43a88141c281b7664cc225ed7753dbfb98 | ||||
* | fix cross-tile label collisions | Ansis Brammanis | 2015-07-02 | 2 | -4/+2 |
| | | | | | | | | | | | | fix #1816 fix #1689 The missing label was the only one in it's bucket. Since the label was outside the tile boundaries it wouldn't need to be drawn by the bucket. Since the bucket had no features to draw, it was dropped completely. Even if a bucket doesn't have any features that need to be rendered, it may have features that need to impact the placement of features in other layers. | ||||
* | Reapply style layer copy technique | John Firebaugh | 2015-07-01 | 3 | -5/+13 |
| | |||||
* | Simplify RunLoop | John Firebaugh | 2015-07-01 | 4 | -154/+71 |
| | | | | | | | | Instead of transforming between return value and callback, pass the wrapped callback on to the invoked function as the last argument. This eliminates the need for multiple invokeWithArgument overloads and permits invoked functions to be asynchronous. | ||||
* | Fix name shadowing | John Firebaugh | 2015-07-01 | 2 | -4/+4 |
| | |||||
* | Don't pass Worker& around so much | John Firebaugh | 2015-07-01 | 8 | -33/+30 |
| | |||||
* | Rename workerData ⇢ tileWorker | John Firebaugh | 2015-07-01 | 3 | -8/+8 |
| | |||||
* | Catch exceptions when parsing tile PBFs | Thiago Marcos P. Santos | 2015-07-01 | 2 | -3/+9 |
| | | | | Also improved the error message and updated the test case. | ||||
* | Single-purpose Worker functions | John Firebaugh | 2015-07-01 | 7 | -98/+122 |
| | |||||
* | Add comment about a subtlety | John Firebaugh | 2015-07-01 | 1 | -0/+11 |
| | |||||
* | Move WorkerTask functionality into RunLoop core | John Firebaugh | 2015-07-01 | 7 | -135/+176 |
| | | | | | As a byproduct, this makes FileCache get requests properly cancelable. | ||||
* | Clean up bucket creation loop | John Firebaugh | 2015-07-01 | 2 | -73/+62 |
| | |||||
* | Remove indirection | John Firebaugh | 2015-07-01 | 2 | -22/+4 |
| | |||||
* | reset partialParse when starting a new parsing run | Konstantin Käfer | 2015-07-01 | 1 | -0/+2 |
| | |||||
* | Merge TileParser into TileWorker | John Firebaugh | 2015-07-01 | 4 | -307/+232 |
| | |||||
* | Remove indirection | John Firebaugh | 2015-07-01 | 4 | -68/+17 |
| | |||||
* | Push TileMembers members down hierarchy | John Firebaugh | 2015-07-01 | 6 | -137/+130 |
| | |||||
* | Introduce TileWorker | John Firebaugh | 2015-07-01 | 8 | -147/+239 |
| | |||||
* | Make request and reparse pure virtual | John Firebaugh | 2015-07-01 | 6 | -51/+101 |
| | |||||
* | Reduce number of arguments in Source::update pathway | John Firebaugh | 2015-07-01 | 9 | -89/+14 |
| | |||||
* | Revert "Do not hold a reference to the Style at the [Live|Vector]TileData" | John Firebaugh | 2015-07-01 | 7 | -27/+24 |
| | | | | This reverts commit 044454417b61bdd102a376c1125ad6ee3a5eacd4. | ||||
* | Cancel pending Style requests before making a new one | Thiago Marcos P. Santos | 2015-07-01 | 2 | -2/+17 |
| | | | | | | | | | | | Calling setStyleURL() multiple times in a short period of time will enqueue requests on the FileSource. The order they get replied is not guaranteed to be the same as the order we make the requests. The side effect was the last style set not always being the one rendered. Now we cancel the current request if we make a new one (and there was no point on keeping it around anyway). | ||||
* | show symbols at z0, fix #1279 | Ansis Brammanis | 2015-07-01 | 1 | -1/+1 |
| | |||||
* | Rationalize *RenderingMap notifications | John Firebaugh | 2015-06-30 | 1 | -2/+20 |
| | |||||
* | Eliminate MapData::get/setFullyLoaded | John Firebaugh | 2015-06-30 | 4 | -33/+25 |
| | |||||
* | Check if the style was loaded before rendering | Thiago Marcos P. Santos | 2015-06-30 | 1 | -2/+5 |
| | | | | | | We now drive rendering from the main thread calling renderSync(), but if we do it just after we set the style URL it will assert because renderSync() expects the style to be fully loaded. | ||||
* | Use array of structs rather than parallel arrays for annotations | John Firebaugh | 2015-06-29 | 3 | -136/+104 |
| | |||||
* | add assert_always() macro for release build assertions | Konstantin Käfer | 2015-06-29 | 1 | -0/+13 |
| | |||||
* | Fit to coordinates | Minh Nguyễn | 2015-06-26 | 1 | -16/+26 |
| | | | | Whoever determined the boundaries of the District of Columbia did not have fit-to-bounds implementations in mind. With this change, shapes that are not unrotated rectangles fit much, much better. | ||||
* | Send MapChangeRegionIsChanging notifications | John Firebaugh | 2015-06-26 | 1 | -0/+3 |
| | |||||
* | Remove duration argument from View::notifyMapChange | John Firebaugh | 2015-06-26 | 2 | -28/+22 |
| | | | | Fixes #1026 | ||||
* | currentState() ⇢ getState() | John Firebaugh | 2015-06-26 | 3 | -16/+10 |
| | |||||
* | Move Transform from MapData to Map | John Firebaugh | 2015-06-26 | 6 | -113/+64 |
| | | | | | Pass current state to MapContext where needed. Remove mutex from Transform. | ||||
* | Move getMin/MaxZoom to TransformState | John Firebaugh | 2015-06-26 | 6 | -52/+50 |
| | |||||
* | Inline updateTiles and recalculateStyle | John Firebaugh | 2015-06-26 | 2 | -14/+2 |
| | |||||
* | drive map rendering from main thread | Konstantin Käfer | 2015-06-26 | 3 | -5/+22 |
| | |||||
* | remove unused renderAsync() function | Konstantin Käfer | 2015-06-26 | 1 | -4/+0 |
| | |||||
* | Maintain rotation when fitting to bounds | Minh Nguyễn | 2015-06-25 | 1 | -13/+21 |
| | | | | | | Also fit to the rotated bounds. A little more verbose than necessary due to <http://stackoverflow.com/a/2357688/4585461>. ref mapbox/mapbox-gl-js#1338 | ||||
* | Fit to bounds with padding | Minh Nguyễn | 2015-06-25 | 1 | -9/+19 |
| | | | | Each side of the bounding box is specified independently, allowing more flexibility than the offset + padding construct supported in mapbox/mapbox-gl-js’ Camera. | ||||
* | Reimplemented fit to bounds | Minh Nguyễn | 2015-06-25 | 1 | -0/+21 |
| | | | | The new implementation is now public and takes advantage of MGLCoordinateBounds. It is re-ported from `Camera.prototype.fitBounds()` in mapbox/mapbox-gl-js to ensure correct behavior. A new function, MGLCoordinateBoundsMake(), makes it easier to create an MGLCoordinateBounds for use with this method. | ||||
* | Get rid of Environment et al. | Thiago Marcos P. Santos | 2015-06-25 | 10 | -196/+7 |
| | | | | | mbgl::Environment is not used anymore and can removed. | ||||
* | Introduce GLObjectStore | Thiago Marcos P. Santos | 2015-06-25 | 12 | -14/+126 |
| | | | | | Make a class for keeping GL objects ids and attach it to the ThreadContext instead of hanging it on the Environment. | ||||
* | Make the FileSource available from the ThreadContext | Thiago Marcos P. Santos | 2015-06-25 | 12 | -32/+50 |
| | | | | | | For now we set the FileSource for the Worker context but in the future after fixing #1664 we can assert() that FileSource are set only for the Map thread context. | ||||
* | Use ThreadContext data for logging | Thiago Marcos P. Santos | 2015-06-25 | 1 | -11/+2 |
| | | | | | | | Do not use the Environment anymore. The Environment ID is not really necessary anymore as we are forwarding exceptions to the main thread, so we always know which Map object triggered the error. | ||||
* | Introduce the ThreadContext | Thiago Marcos P. Santos | 2015-06-25 | 9 | -31/+123 |
| | | | | | | | | | mbgl::Thread will keep a ThreadContext for each running instance in a thread_local so we don't need to lookup a man in the Environment every time we need some info about the current thread. This patch is moving the ::currentlyOn check used on Debug build from the Environment class to the ThreadContext. | ||||
* | Remove unused | John Firebaugh | 2015-06-24 | 1 | -4/+1 |
| |