summaryrefslogtreecommitdiff
path: root/include/mbgl/platform
Commit message (Collapse)AuthorAgeFilesLines
* [core] use stale glyphsKonstantin Käfer2016-01-151-1/+3
| | | | Updating glyphs is still unsupported, and there's no good use case for doing so. When we're using a stale glyph PBF, and the fresh answer contains changed to that glyph, we will continue to use the old glyph.
* [core] Eliminate platform::assetRoot()John Firebaugh2016-01-131-3/+0
| | | | I regenerated assets.zip so that all file paths have an `assets/` prefix, as the Android AssetFileSource implementation asserts, and removed `TEST_DATA` from the paths.
* [tests] Rewrite resource loading testJohn Firebaugh2015-12-221-0/+6
| | | | Make it more readable and easier to debug.
* [core] allow changing the orientationKonstantin Käfer2015-12-151-0/+2
| | | | You can now change the orientation of north to be to the right, bottom, left in addition to the default of top
* [node] code review cleanupMike Morris2015-12-151-1/+1
|
* [core] add namespace comment to closing braceKonstantin Käfer2015-12-037-9/+9
|
* [glfw] No longer necessary to wait for style load to add default markerJohn Firebaugh2015-12-011-2/+0
|
* [tests] Don't use icons from the style for annotationsJohn Firebaugh2015-11-301-0/+2
|
* [core] Added MapDebugOptionsBruno de Oliveira Abinader2015-11-272-2/+4
| | | | | Map debug options are now cycled up to all debug options enabled, then back to none.
* [core] Fix image type of Map::renderStillJohn Firebaugh2015-11-251-1/+1
| | | | | | | It's a premultiplied image. This implies that we were misusing encodePNG in most cases, as we were passing premultiplied pixels which were then interpreted as unmultiplied. I changed encodePNG to accept premultipled pixels, and unpremultiply in the implementations.
* [core] Rewrite image handlingJohn Firebaugh2015-11-254-178/+1
| | | | | | * Consolidate Image and StillImage * Typecheck unassociated vs premultiplied images * Rewrite default platform image decoding implementation
* [core] Remove unusedJohn Firebaugh2015-11-233-9/+3
|
* [core] For binary image data use uint8_t, not charJohn Firebaugh2015-11-233-6/+6
|
* [core] allow changing pitch in GLFW based appsKonstantin Käfer2015-11-172-0/+2
|
* VAO and extension tracking code.Adam Hunter2015-10-061-0/+32
|
* Added GL logging utilityAdam Hunter2015-09-291-0/+40
|
* Merge branch 'master' into nodeJohn Firebaugh2015-08-311-0/+1
|\
| * iOS perspective gesture supportJason Wray2015-08-261-0/+1
| | | | | | | | | | | | Drag two fingers upward to tilt the map. Implements #2116
* | View::swap -> View::beforeRender View::afterRenderMike Morris2015-08-252-2/+6
|/ | | | | To be able to resize the framebuffer on the map thread in HeadlessView.
* add benchmark mode that shows the real frame time rather than the vsync timeKonstantin Käfer2015-08-111-2/+8
|
* add MBGL_USE_GLES2 defineKonstantin Käfer2015-08-042-2/+2
|
* add ability to add random custom markers to test appKonstantin Käfer2015-07-081-0/+4
|
* Make pixelRatio constant across a Map object lifetimeKonstantin Käfer2015-07-082-16/+19
| | | | also moves framebuffer size out of TransformState into its own object
* drive map rendering from main threadKonstantin Käfer2015-06-262-2/+7
|
* Support shape annotations on GLFWViewThiago Marcos P. Santos2015-06-181-0/+8
| | | | | | Add different random triangles count by using the keys 7, 8, 9 or 0. Q will clear all the annotations. W will remove one annotation.
* Namespaced reachability notification constantMinh Nguyễn2015-06-121-1/+1
| | | Fixes #1717.
* press 1 through 6 to add 10^(n-1) points in the current viewportKonstantin Käfer2015-06-091-0/+6
| | | | (only works correctly when rotated to north, but this is a just a debug functionality anyway)
* Remove references to ResourceLoaderThiago Marcos P. Santos2015-06-021-2/+2
| | | | ResourceLoader got merged with Style.
* Replace mbgl::util::make_unique<> with std::make_unique<>Konstantin Käfer2015-05-262-2/+1
|
* prefix Reachability with "MGL" to avoid linking conflicts and app store ↵Konstantin Käfer2015-05-261-4/+4
| | | | rejections
* update Reachability with latest versionKonstantin Käfer2015-05-261-25/+8
|
* Add callback for error notifications on renderStill()Thiago Marcos P. Santos2015-05-221-0/+2
| | | | | | | | | The callback will be called when any of the resources requested from the network failed to load. There is not recovery implemented yet, so the closest thing to reseting the Map object and reloading all the resources would be setting a new style.
* Extensible GL extension supportJohn Firebaugh2015-05-131-123/+24
|
* Remove unused GL feature flagsJohn Firebaugh2015-05-131-8/+0
| | | | These were used only for prerendered textures, which were removed.
* Fix Linux GCC Debug buildThiago Marcos P. Santos2015-05-081-1/+1
| | | | | Compiler was complaining about shadowed variable after macro expansion.
* change the window title to indicate the current styleKonstantin Käfer2015-05-071-0/+2
|
* Make all GLFWView attributes privateThiago Marcos P. Santos2015-05-071-5/+6
|
* Add style change functionality to the Linux test appThiago Marcos P. Santos2015-05-071-2/+8
| | | | | | | Makes the life of people using Linux as development environment way easier. Just press 's' to cycle through 3 different styles.
* lower thread priority of worker threadsKonstantin Käfer2015-05-041-0/+3
|
* add gl::groups back for easier debugging in XcodeKonstantin Käfer2015-05-041-1/+1
|
* fix compile with clang-3.6Dane Springmeyer2015-05-012-4/+2
|
* Resize view from map threadJohn Firebaugh2015-04-281-2/+1
|
* Remove Map::start/stopJohn Firebaugh2015-04-281-1/+1
| | | | | | Both Android and iOS now use pause/resume. The map thread is always running, and be able to receive messages. When paused, it will just refuse to render.
* Following kkaefer's view changesJohn Firebaugh2015-04-281-7/+1
|
* Move run() to MapContextJohn Firebaugh2015-04-281-0/+1
|
* move most private Map code to MapContextKonstantin Käfer2015-04-282-2/+2
|
* align static render mode and still image render modeKonstantin Käfer2015-04-171-11/+28
| | | | | - static rendering now also runs in a separate thread; you have to start it with map.start(Map::Mode::Static) and join the thread with map.stop() before destructing the Map object - map.renderStill() takes a callback with will be invoked on the *map* thread, so you'll have to figure out your own method of dispatching back to the main thread.
* Remove some uv.hpp includesJohn Firebaugh2015-04-091-2/+0
|
* make sqlite storage more resilient to sporadic errorsKonstantin Käfer2015-04-071-1/+3
| | | | | | | | - catch SQLite exceptions and report them - failed statements are ignored, we're really just caching here, so if it fails we're handling it gracefully elsewhere - handle cases where the database file goes away after we opened it - handle cases where the schema wasn't created after the database file was opened successfully - add tests
* closes #1082, refs #756: user dot on map in iOSJustin R. Miller2015-03-251-0/+5
|