summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Scope the Map thread to an EnvironmentThiago Marcos P. Santos2015-03-181-3/+0
| | | | Also, replace manual thread type checks with Environment::currentlyOn().
* refs #893 #992: point annotations APIJustin R. Miller2015-03-174-1/+104
|
* fix sprites for pixel ratios that are not 1 and 2Konstantin Käfer2015-03-171-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 Firebaugh2015-03-131-0/+14
| | | | This reverts commit bffee0715458530c6c86f440f757a4de667278a2.
* Move atlas ownership to StyleJohn Firebaugh2015-03-131-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äfer2015-03-131-4/+6
| | | | order
* Merge pull request #972 from mapbox/log_cleanupThiago Marcos P. Santos2015-03-124-84/+21
|\ | | | | Refactoring of the log system
| * Update the FixtureLogThiago Marcos P. Santos2015-03-121-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 staticThiago Marcos P. Santos2015-03-124-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 mechanismThiago Marcos P. Santos2015-03-123-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 deviceKonstantin Käfer2015-03-125-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 enumKonstantin Käfer2015-03-061-1/+0
|
* scope Requests to an Environment object for easier cancelationKonstantin Käfer2015-03-065-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 releasesKonstantin Käfer2015-03-061-1/+1
|
* use a reinterpret_cast to return the correct typeKonstantin Käfer2015-03-061-1/+1
|
* fix ambiguous name (gcc)Konstantin Käfer2015-03-061-1/+1
|
* throw exception when shader compilation failsKonstantin Käfer2015-03-061-0/+27
|
* guard against concurrent OpenGL extension loadingKonstantin Käfer2015-03-062-4/+2
|
* add more locking around GlyphStore and FontStackKonstantin Käfer2015-03-061-0/+33
| | | | this is a stopgap until we have a solution that gives every worker thread their own copy
* lock the StyleBucket to avoid crashingKonstantin Käfer2015-03-061-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/mutexKonstantin Käfer2015-03-061-0/+41
|
* update mapbox::variantKonstantin Käfer2015-03-062-83/+145
|
* make Map::resize() privateKonstantin Käfer2015-03-064-9/+17
| | | | they can only be called by View::resize
* update static image rendering executableKonstantin Käfer2015-03-061-0/+5
|
* Add projection functions to JavaLeith Bade2015-02-191-0/+10
|
* Tidy up JNI LatLng refsLeith Bade2015-02-191-10/+10
|
* update uv_zip and add testsKonstantin Käfer2015-02-162-3/+8
|
* fixes #476 & #853: pixel/meter/latlng conversion routines in core & iOSJustin R. Miller2015-02-167-11/+152
|
* code styleKonstantin Käfer2015-02-131-2/+2
|
* make sure that the async handle always gets closedKonstantin Käfer2015-02-131-1/+2
|
* Fix #include <uv.h> mixing between C and C++ modesLeith Bade2015-02-111-2/+2
|
* forward declare GLX typedefs to limit conflicts from glx.hMike Morris2015-02-102-4/+5
|
* move iOS code from gl-cocoa to this projectJustin R. Miller2015-02-096-0/+268
|
* refactor makefileKonstantin Käfer2015-02-049-97/+104
|
* add missing headersKonstantin Käfer2015-02-041-0/+1
|
* use standard DEBUG macro rather than NDEBUGKonstantin Käfer2015-02-042-3/+5
|
* make ios compileKonstantin Käfer2015-02-041-4/+2
|
* don't override std::hashKonstantin Käfer2015-02-042-10/+6
|
* fixes for linuxKonstantin Käfer2015-02-042-0/+2
|
* rearrange tests and add storage testsKonstantin Käfer2015-02-041-2/+2
|
* remove circular shared_ptr and a few other memory leaksKonstantin Käfer2015-02-041-0/+4
|
* rewrite storage layer to be independent of the Map's event loopKonstantin Käfer2015-02-0423-285/+710
|
* Use std::chronoLeith Bade2015-02-049-62/+45
|
* Remove excess semicolon in jni.hppLeith Bade2015-01-281-1/+1
|
* Remove program binary cachingLeith Bade2015-01-272-15/+0
|
* Merge branch 'master' of github.com:mapbox/mapbox-gl-native into android-masonLeith Bade2015-01-231-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 v7John Firebaugh2015-01-221-0/+2
| |\
| | * start porting dash lines from jsAnsis Brammanis2015-01-141-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 errorsLeith Bade2015-01-221-3/+5
| | |
* | | get/setAppliedStyleClasses -> get/setClassesLeith Bade2015-01-181-3/+0
| | |