summaryrefslogtreecommitdiff
path: root/platform/default
Commit message (Collapse)AuthorAgeFilesLines
* fix sprites for pixel ratios that are not 1 and 2Konstantin Käfer2015-03-173-112/+1
| | | | | | - 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
* Get rid of printf and cout by using Log::*Thiago Marcos P. Santos2015-03-124-10/+10
| | | | | | | Use our logging system that will route the message accordingly on the target platform. Fixes #613
* Merge pull request #972 from mapbox/log_cleanupThiago Marcos P. Santos2015-03-121-21/+2
|\ | | | | Refactoring of the log system
| * Make the logging system staticThiago Marcos P. Santos2015-03-121-2/+2
| | | | | | | | | | | | | | 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-121-19/+0
| | | | | | | | | | | | | | | | | | 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-122-11/+7
|/ | | | | | | | | | | | 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
* Relax sqlite version check to major version onlyJohn Firebaugh2015-03-111-8/+1
| | | | | | | iOS 8.2 updates the included SQLite version to 3.8.4, while iOS 7.0 up to iOS 8.1 provides version 3.7.13. When compiling with the 8.2 SDK and running on 8.1 or below, or vice versa, a strict check fails. Fixes #968.
* fix handling around unique_ptr releasesKonstantin Käfer2015-03-061-1/+1
|
* Fail early in case there is no displayKonstantin Käfer2015-03-061-0/+4
|
* guard against concurrent OpenGL extension loadingKonstantin Käfer2015-03-062-6/+20
|
* make Map::resize() privateKonstantin Käfer2015-03-062-14/+16
| | | | they can only be called by View::resize
* update uv_zipKonstantin Käfer2015-02-171-0/+2
|
* wrong symbol nameKonstantin Käfer2015-02-171-1/+1
|
* add ca bundle loading back to CURLKonstantin Käfer2015-02-171-4/+118
|
* update uv_zip and add testsKonstantin Käfer2015-02-163-22/+45
|
* add libzip fixKonstantin Käfer2015-02-161-2/+39
|
* forward declare GLX typedefs to limit conflicts from glx.hMike Morris2015-02-102-3/+9
|
* guard boost include with pragma ignoresKonstantin Käfer2015-02-042-0/+13
|
* refactor makefileKonstantin Käfer2015-02-047-242/+581
|
* add missing headersKonstantin Käfer2015-02-041-0/+1
|
* make storage lib separate so we can build without storage libsKonstantin Käfer2015-02-046-0/+880
|
* execute the correct server path and use the exepath for application root ↵Konstantin Käfer2015-02-041-2/+16
| | | | rather than the cwd
* make ios compileKonstantin Käfer2015-02-042-4/+15
|
* fixes for linuxKonstantin Käfer2015-02-042-5/+9
|
* rewrite storage layer to be independent of the Map's event loopKonstantin Käfer2015-02-044-756/+761
|
* Use std::chronoLeith Bade2015-02-042-5/+5
|
* Remove program binary cachingLeith Bade2015-01-272-25/+0
|
* Merge branch 'master' of github.com:mapbox/mapbox-gl-native into android-masonLeith Bade2015-01-181-1/+8
|\ | | | | | | | | Conflicts: src/mbgl/map/map.cpp
| * Merge pull request #757 from mapbox/move-terminateLeith Bade2015-01-161-0/+3
| |\ | | | | | | Move terminate() call to GLFWView to avoid problems with node
| | * Move terminate() call to GLFWView to avoid problems with nodeLeith Bade2015-01-161-0/+3
| | |
| * | Move class state to mapJohn Firebaugh2015-01-141-1/+5
| |/ | | | | https://github.com/mapbox/mapbox-gl-js/pull/936
* | Merge branch 'master' of github.com:mapbox/mapbox-gl-native into android-masonLeith Bade2015-01-131-11/+5
|\ \ | |/
| * Merge pull request #748 from mapbox/fix-swapLeith Bade2015-01-131-7/+4
| |\ | | | | | | Correctly handle swapping
| | * Correctly handle swapping. Fixes #666Leith Bade2015-01-121-7/+4
| | |
| * | Correctly call resize with width and height. Fixes #746Leith Bade2015-01-121-4/+1
| |/
* | Merge branch 'master' of github.com:mapbox/mapbox-gl-native into android-masonLeith Bade2015-01-091-1/+2
|\ \ | |/
| * Merge branch 'master' into shader-performanceJohn Firebaugh2015-01-075-216/+389
| |\
| * | use correct enumKonstantin Käfer2014-12-121-1/+2
| | |
* | | Merge branch 'master' of github.com:mapbox/mapbox-gl-native into android-masonLeith Bade2014-12-233-131/+128
|\ \ \ | | |/ | |/| | | | | | | | | | | | | Conflicts: platform/default/glfw_view.cpp platform/default/headless_view.cpp src/mbgl/map/map.cpp
| * | Rename View functions to match conventions. Also tidy up view classes and ↵Leith Bade2014-12-233-130/+128
| | | | | | | | | | | | remove C style casts. Closes #656
* | | Merge branch 'master' of github.com:mapbox/mapbox-gl-native into android-masonLeith Bade2014-12-212-120/+38
|\ \ \ | |/ / | | | | | | | | | | | | | | | Conflicts: Makefile platform/default/headless_view.cpp src/mbgl/map/map.cpp
| * | Use iostream for saving GL program binary. Also check for ↵Leith Bade2014-12-201-6/+10
| | | | | | | | | | | | GL_NUM_PROGRAM_BINARY_FORMATS > 0.
| * | Merge pull request #718 from mapbox/cli-renderJohn Firebaugh2014-12-181-93/+27
| |\ \ | | | | | | | | CLI render
| | * | never create core profile contexts; their API is subtly differentKonstantin Käfer2014-12-161-72/+2
| | | | | | | | | | | | | | | | (e.g. glGetString(GL_EXTENSIONS) doesn't work, you'd have to use glGetStringi(GL_EXTENSIONS, ...);)
| | * | don't assing nullptr to std::stringKonstantin Käfer2014-12-161-21/+25
| | |/
* | | Fix buildLeith Bade2014-12-182-41/+5
| | |
* | | Add run to AssetRequestLeith Bade2014-12-181-5/+19
| | |
* | | Merge branch 'master' of github.com:mapbox/mapbox-gl-native into android-masonLeith Bade2014-12-182-0/+238
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: gyp/mbgl-ios.gypi gyp/mbgl-osx.gypi platform/default/asset_request_libuv.cpp src/mbgl/storage/caching_http_file_source.cpp src/mbgl/storage/file_request.cpp src/mbgl/storage/file_request.hpp src/mbgl/storage/file_request_baton.hpp
| * | change comment and cache valueKonstantin Käfer2014-12-171-2/+3
| | |
| * | change file:// to asset:// to indicate that they aren't arbitrary filesKonstantin Käfer2014-12-172-27/+54
| | | | | | | | | | | | refs #579