summaryrefslogtreecommitdiff
path: root/include/mbgl/map/view.hpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] Reuse fill-extrusion textures between frames (#8896)Lauren Budorick2017-05-081-3/+1
|
* [core] move gl::Context to Backend and refactor ViewKonstantin Käfer2016-10-251-24/+4
|
* [core] separate Backend from View for headless renderingKonstantin Käfer2016-10-251-31/+8
|
* [core] standardize on uint16_t for texture sizesKonstantin Käfer2016-09-271-1/+1
|
* [core, node] Implement setPaintProperty for color properties (#5380)John Firebaugh2016-06-161-0/+1
|
* [core] Generalize Map::{add,remove}CustomLayerJohn Firebaugh2016-06-021-2/+2
|
* [core] use #pragma once instead of ifdef include guardsKonstantin Käfer2016-05-251-4/+1
|
* [core] remove MockView and View dependency in TransformKonstantin Käfer2016-05-181-17/+1
|
* [core] Fix view class docsThiago Marcos P. Santos2016-04-281-2/+0
|
* [core] Render from the main threadJohn Firebaugh2016-04-141-27/+25
| | | | Do not create a thread for the MapContext anymore.
* [core] add namespace comment to closing braceKonstantin Käfer2015-12-031-1/+1
|
* [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-251-3/+3
| | | | | | * Consolidate Image and StillImage * Typecheck unassociated vs premultiplied images * Rewrite default platform image decoding implementation
* View::swap -> View::beforeRender View::afterRenderMike Morris2015-08-251-1/+4
| | | | | To be able to resize the framebuffer on the map thread in HeadlessView.
* Make pixelRatio constant across a Map object lifetimeKonstantin Käfer2015-07-081-3/+15
| | | | also moves framebuffer size out of TransformState into its own object
* Rationalize *RenderingMap notificationsJohn Firebaugh2015-06-301-3/+6
|
* Remove duration argument from View::notifyMapChangeJohn Firebaugh2015-06-261-3/+1
| | | | Fixes #1026
* drive map rendering from main threadKonstantin Käfer2015-06-261-3/+5
|
* Resize view from map threadJohn Firebaugh2015-04-281-0/+3
|
* Following kkaefer's view changesJohn Firebaugh2015-04-281-8/+0
|
* move most private Map code to MapContextKonstantin Käfer2015-04-281-2/+4
|
* align static render mode and still image render modeKonstantin Käfer2015-04-171-0/+11
| | | | | - 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.
* Add typedefs for std::chrono::steady_clock typesJohn Firebaugh2015-04-021-2/+2
|
* refs #894, fixes #1074: callout views for iOSJustin R. Miller2015-03-241-8/+9
|
* fixes black flicker on rotating the deviceKonstantin Käfer2015-03-121-8/+8
| | | | | | | | | | | | 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
* make Map::resize() privateKonstantin Käfer2015-03-061-0/+4
| | | | they can only be called by View::resize
* Use std::chronoLeith Bade2015-02-041-2/+2
|
* Rename View functions to match conventions. Also tidy up view classes and ↵Leith Bade2014-12-231-3/+3
| | | | remove C style casts. Closes #656
* fix variable shadowingKonstantin Käfer2014-10-221-2/+2
|
* we don't need a root_fbo function anymoreKonstantin Käfer2014-10-161-6/+0
| | | | [skip ci]
* Merge branch 'master' into libuv-0.10-headless-displayMike Morris2014-10-101-0/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: common/curl_request.cpp common/glfw_view.cpp common/glfw_view.hpp include/mbgl/platform/request.hpp ios/mapbox-gl-cocoa setup-libraries.sh src/map/map.cpp src/platform/request.cpp test/fixtures/fixture_request.cpp
| * add a callback to stop() to allow running the current thread's event loopKonstantin Käfer2014-09-241-0/+2
| |
* | Add View::make_inactive() to remove context from rendering threadLeith Bade2014-09-101-0/+4
|/ | | | | | | | | | | | | | | | | View::make_inactive() is called just before termination of the rendering thread. The implementation must clear the thread's GL context. This ensures there is no context still bound to a thread during GL shutdown. This is needed as GL will not actually delete a context until it is not active on any thread. Fixes mapbox/mapbox-gl-native#340 Conflicts: common/glfw_view.hpp include/llmr/map/view.hpp test/headless.cpp
* rename llmr => mbglKonstantin Käfer2014-07-161-0/+54