Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Scope the Map thread to an Environment | Thiago Marcos P. Santos | 2015-03-18 | 1 | -3/+0 |
| | | | | Also, replace manual thread type checks with Environment::currentlyOn(). | ||||
* | refs #893 #992: point annotations API | Justin R. Miller | 2015-03-17 | 4 | -1/+104 |
| | |||||
* | fix sprites for pixel ratios that are not 1 and 2 | Konstantin Käfer | 2015-03-17 | 1 | -2/+2 |
| | | | | | | - OpenGL ES 2 doesn't allow NPOT textures with wrap-around - The Sprite object reported the map's pixelRatio, even though it loaded @2x assets - Copying icons from the sprite into the atlas now uses bilinear scaling to scale up to the actual size | ||||
* | Revert "Move atlas ownership to Style" | John Firebaugh | 2015-03-13 | 1 | -0/+14 |
| | | | | This reverts commit bffee0715458530c6c86f440f757a4de667278a2. | ||||
* | Move atlas ownership to Style | John Firebaugh | 2015-03-13 | 1 | -14/+0 |
| | | | | | | This follows gl-js and just makes sense -- whenever the style changes the atlases should be blown away. Refs #957 | ||||
* | fix rare issue that had the notify and cancel callbacks called in the wrong ↵ | Konstantin Käfer | 2015-03-13 | 1 | -4/+6 |
| | | | | order | ||||
* | Merge pull request #972 from mapbox/log_cleanup | Thiago Marcos P. Santos | 2015-03-12 | 4 | -84/+21 |
|\ | | | | | Refactoring of the log system | ||||
| * | Update the FixtureLog | Thiago Marcos P. Santos | 2015-03-12 | 1 | -0/+12 |
| | | | | | | | | | | | | Now the FixtureLog is an Log::Observer instead of a backend. The observer can sniff and filter log messages, that can be used for fail a test if it emits a warning for example. | ||||
| * | Make the logging system static | Thiago Marcos P. Santos | 2015-03-12 | 4 | -81/+10 |
| | | | | | | | | | | | | | | No initialization is needed anymore and we can use the logging functions safely at any point of the code (threading is not handled though, so you might get multiplexed messages if you log from two threads simultaneously). | ||||
| * | Simplify the logging mechanism | Thiago Marcos P. Santos | 2015-03-12 | 3 | -10/+6 |
| | | | | | | | | | | | | | | | | | | Move the implementation of the more specialized methods to the base class and let the platform implement only the most generic method that takes all the possible arguments. These specialized methods will then map to the generic implementation that must be provided by the platforms we support. | ||||
* | | fixes black flicker on rotating the device | Konstantin Käfer | 2015-03-12 | 5 | -47/+36 |
|/ | | | | | | | | | | | | fixes #838 instead of rendering ad libitum on the map thread, we are now driving rendering from the UI thread on iOS via the map.renderSync() function. There are still white bars during the rotation, but the general content of the view is kept visible. - upgrades GLFW to 3.1 - removes swapped/needsSwap in favor of a more explicit scheme - View#invalidate() now replaces View#swap() and is called whenever the View needs to trigger a rerender. GLFW and Android to this right away, while iOS goes back to the main thread and does the Map redrawing as part of the GLKView update - sets all iOS deployment targets to 7.0 - disables SQLite3 version check, since the library version changed on iOS 8.2 | ||||
* | remove unused enum | Konstantin Käfer | 2015-03-06 | 1 | -1/+0 |
| | |||||
* | scope Requests to an Environment object for easier cancelation | Konstantin Käfer | 2015-03-06 | 5 | -29/+57 |
| | | | | | | | | | we are now scoping all file requests to an environment object. The FileSource implementation treats this as an opaque pointer, but allows canceling all Requests that are associated with that pointer. This is necessary to abort all file requests that originated from a particular Map object. Aborting a file request is different from canceling a file request: A canceled request doesn't have its callback called, while an aborted request will have its callback called with an error, indicating that the environment is going to be shut down. | ||||
* | fix handling around unique_ptr releases | Konstantin Käfer | 2015-03-06 | 1 | -1/+1 |
| | |||||
* | use a reinterpret_cast to return the correct type | Konstantin Käfer | 2015-03-06 | 1 | -1/+1 |
| | |||||
* | fix ambiguous name (gcc) | Konstantin Käfer | 2015-03-06 | 1 | -1/+1 |
| | |||||
* | throw exception when shader compilation fails | Konstantin Käfer | 2015-03-06 | 1 | -0/+27 |
| | |||||
* | guard against concurrent OpenGL extension loading | Konstantin Käfer | 2015-03-06 | 2 | -4/+2 |
| | |||||
* | add more locking around GlyphStore and FontStack | Konstantin Käfer | 2015-03-06 | 1 | -0/+33 |
| | | | | this is a stopgap until we have a solution that gives every worker thread their own copy | ||||
* | lock the StyleBucket to avoid crashing | Konstantin Käfer | 2015-03-06 | 1 | -1/+1 |
| | | | | stopgap until we have a solution that doesn't mutate the style objects while parsing a tile | ||||
* | move readlock/writelock to uv.hpp and add movable lock/mutex | Konstantin Käfer | 2015-03-06 | 1 | -0/+41 |
| | |||||
* | update mapbox::variant | Konstantin Käfer | 2015-03-06 | 2 | -83/+145 |
| | |||||
* | make Map::resize() private | Konstantin Käfer | 2015-03-06 | 4 | -9/+17 |
| | | | | they can only be called by View::resize | ||||
* | update static image rendering executable | Konstantin Käfer | 2015-03-06 | 1 | -0/+5 |
| | |||||
* | Add projection functions to Java | Leith Bade | 2015-02-19 | 1 | -0/+10 |
| | |||||
* | Tidy up JNI LatLng refs | Leith Bade | 2015-02-19 | 1 | -10/+10 |
| | |||||
* | update uv_zip and add tests | Konstantin Käfer | 2015-02-16 | 2 | -3/+8 |
| | |||||
* | fixes #476 & #853: pixel/meter/latlng conversion routines in core & iOS | Justin R. Miller | 2015-02-16 | 7 | -11/+152 |
| | |||||
* | code style | Konstantin Käfer | 2015-02-13 | 1 | -2/+2 |
| | |||||
* | make sure that the async handle always gets closed | Konstantin Käfer | 2015-02-13 | 1 | -1/+2 |
| | |||||
* | Fix #include <uv.h> mixing between C and C++ modes | Leith Bade | 2015-02-11 | 1 | -2/+2 |
| | |||||
* | forward declare GLX typedefs to limit conflicts from glx.h | Mike Morris | 2015-02-10 | 2 | -4/+5 |
| | |||||
* | move iOS code from gl-cocoa to this project | Justin R. Miller | 2015-02-09 | 6 | -0/+268 |
| | |||||
* | refactor makefile | Konstantin Käfer | 2015-02-04 | 9 | -97/+104 |
| | |||||
* | add missing headers | Konstantin Käfer | 2015-02-04 | 1 | -0/+1 |
| | |||||
* | use standard DEBUG macro rather than NDEBUG | Konstantin Käfer | 2015-02-04 | 2 | -3/+5 |
| | |||||
* | make ios compile | Konstantin Käfer | 2015-02-04 | 1 | -4/+2 |
| | |||||
* | don't override std::hash | Konstantin Käfer | 2015-02-04 | 2 | -10/+6 |
| | |||||
* | fixes for linux | Konstantin Käfer | 2015-02-04 | 2 | -0/+2 |
| | |||||
* | rearrange tests and add storage tests | Konstantin Käfer | 2015-02-04 | 1 | -2/+2 |
| | |||||
* | remove circular shared_ptr and a few other memory leaks | Konstantin Käfer | 2015-02-04 | 1 | -0/+4 |
| | |||||
* | rewrite storage layer to be independent of the Map's event loop | Konstantin Käfer | 2015-02-04 | 23 | -285/+710 |
| | |||||
* | Use std::chrono | Leith Bade | 2015-02-04 | 9 | -62/+45 |
| | |||||
* | Remove excess semicolon in jni.hpp | Leith Bade | 2015-01-28 | 1 | -1/+1 |
| | |||||
* | Remove program binary caching | Leith Bade | 2015-01-27 | 2 | -15/+0 |
| | |||||
* | Merge branch 'master' of github.com:mapbox/mapbox-gl-native into android-mason | Leith Bade | 2015-01-23 | 1 | -0/+2 |
|\ | | | | | | | | | | | | | Conflicts: src/mbgl/renderer/painter_prerender.cpp src/mbgl/renderer/prerendered_texture.cpp src/mbgl/renderer/prerendered_texture.hpp | ||||
| * | Merge remote-tracking branch 'origin/dash-3' into v7 | John Firebaugh | 2015-01-22 | 1 | -0/+2 |
| |\ | |||||
| | * | start porting dash lines from js | Ansis Brammanis | 2015-01-14 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | - switches to dash units that are scaled by line width - adds a lineatlas to store patterns line dashed lines - adds linesdf shader which renders line fill from the lineatlas js: 8e83d76af3bd877eb9639c02e296363e2c0186f8 | ||||
* | | | Throw on egl errors | Leith Bade | 2015-01-22 | 1 | -3/+5 |
| | | | |||||
* | | | get/setAppliedStyleClasses -> get/setClasses | Leith Bade | 2015-01-18 | 1 | -3/+0 |
| | | |