summaryrefslogtreecommitdiff
path: root/include/mbgl/renderer
Commit message (Collapse)AuthorAgeFilesLines
* [core] Fix performance-unnecessary-value-param errors in header filesThiago Marcos P. Santos2020-04-171-1/+1
| | | | As reported by clang-tidy-8.
* [core] PlacedSymbolData contains layer idMikhail Pozdnyakov2020-04-091-0/+2
|
* [core] PlacedSymbolData includes viewport paddingMikhail Pozdnyakov2020-04-021-1/+5
|
* [core] Introduce API to collect placed symbols dataMikhail Pozdnyakov2020-04-021-2/+37
| | | | | | | | | | The following methods are added to the `Renderer` class: - `collectPlacedSymbolData()` enables or disables collecting of the placed symbols data - `getPlacedSymbolsData()` if collecting of the placed symbols data is enabled, returns the reference to the `PlacedSymbolData` vector holding the collected data.
* [core] Fix performance-unnecessary-value-param errorsThiago Marcos P. Santos2020-03-231-2/+1
| | | | As reported by clang-tidy-8.
* [core] Introduce Renderer::clearData() instead of keepRenderData map optionsMikhail Pozdnyakov2020-03-201-0/+1
| | | | | | | | | | `Renderer::clearData()` is a better API than the removed `MapOptions::keepRenderData()`: - gives more flexibility to the client - similar to the existing `Renderer::reduceMemoryUse()` - the `MapOptions::keepRenderData()` API implementation could not handle the raise condition, which happened if the new still image request had come before all tiles from the previous requests were loaded. Co-authored-by: Dane Springmeyer <dane@mapbox.com>
* [core] Pass std::shared_ptr<UpdateParameters> to the render orchestratorMikhail Pozdnyakov2020-01-221-1/+1
| | | | So that it can retain ownership of the given parameters.
* [build] Fix clang format and tidy checksJuha Alanen2019-09-181-12/+6
|
* [core] Add removeFeatureState APIJuha Alanen2019-09-181-1/+4
|
* [core] Add support for set/getFeatureState APIsJuha Alanen2019-09-181-0/+12
|
* [core] Remove programCacheDir parameter from ProgramParametersAnder Conselvan de Oliveira2019-08-271-1/+0
| | | | | | Binary shader support has been removed in commit c2f974f2a573 ([core] Remove binary shader support). This left-over parameter is not used anywhere anymore.
* [core] Export symbol placement update status from MapObserverMikhail Pozdnyakov2019-08-231-2/+2
|
* [core] Forward ImageManagerObserver::onRemoveUnusedStyleImages to ↵Alexander Shalamov2019-05-211-0/+1
| | | | MapObserver interface
* [core] Make the BackgroundScheduler a singletonThiago Marcos P. Santos2019-05-101-2/+1
| | | | | | | | | | - Do not carry it over everywhere as parameter, it is a shared instance anyway and the lifecycle is pretty much the app lifecycle from the moment we instantiate a map. - Rename to BackgroundScheduler because it is a Scheduler that will do tasks in the background, we don't make assumptions if it is a thread pool or a single thread. - Most importantly, remove the dependency from `core` on `platform`.
* [core] remove Renderer::flushKonstantin Käfer2019-04-051-2/+0
|
* [core] move GLContextMode to RendererBackendKonstantin Käfer2019-04-052-20/+0
|
* [core] refactor RendererBackendKonstantin Käfer2019-04-052-94/+5
|
* [core] move BackendScope to gfx namespaceKonstantin Käfer2019-04-052-37/+2
|
* add onStyleImageMissing to allow dynamically loaded or generated images (#14253)Ansis Brammanis2019-04-021-0/+4
| | | Also make `Style#updateImage(...)` much faster when the image doesn't change size. This can be useful for asynchronously generating images.
* [core] Expose a way of flushing the graphics pipelineThiago Marcos P. Santos2019-03-201-0/+2
| | | | | Useful for apps before going to background that are restricted by the OS of performing any operation.
* [core] Get FileSource via UpdateParameters in Renderer::ImplBruno de Oliveira Abinader2019-03-131-2/+1
|
* [core] Move Map::Impl to its own def/impl filesBruno de Oliveira Abinader2019-02-271-0/+1
|
* [core] Introduce Renderer::queryFeatureExtension APIAlexander Shalamov2018-12-121-1/+8
| | | | | | New interface allows it's users to query additional information about feature that was provided by qRF interface. This is particularly useful for clustered features.
* [core] Add RendererState::{pixelForLatLng,latLngForPixel}Bruno de Oliveira Abinader2018-11-141-4/+10
|
* [core] Added RendererState::has{Image,Layer,Source}Bruno de Oliveira Abinader2018-10-251-1/+9
|
* [core] Introduce mbgl::RendererStateBruno de Oliveira Abinader2018-10-191-0/+22
|
* Use a host interface for CustomLayer instead of function pointers (#11553)Asheem Mamoowala2018-04-021-3/+3
| | | | | | Use a host interface for CustomLayer instead of function pointers Co-authored-by: Julian Rex <julian.rex@mapbox.com>
* [core] Rename "onLowMemory" to "reduceMemoryUse".Chris Loer2018-02-141-1/+1
| | | | | Android still calls "reduceMemoryUse" only while handling a low memory event. iOS, on the other hand, calls "reduceMemoryUse" every time it enters the background.
* [core] Make RendererObserver a public interfaceThiago Marcos P. Santos2018-02-091-0/+35
| | | | Needed by backends implementing asyncronous rendering
* [ios,macos] Darwin implementation of a CoreText-based LocalGlyphRasterizer.Chris Loer2017-12-111-1/+2
| | | | | - Changing font weight does not currently appear to be working. - Glyph metric extraction code not working; currently unused.
* [core] move HeadlessBackend extension initialization code into ImplKonstantin Käfer2017-11-291-1/+1
|
* Merge branch 'release-agua' into tvn-merge-releaseTobrun2017-11-101-0/+2
|\
| * [ios, macos] Add selection support to MGLMultiPoint annotations. (#9984)Fabian Guerra Soto2017-10-181-0/+2
| | | | | | | | | | | | * [ios, macos] Add selection support to MGLMultiPoint annotations. * [ios, macos] Update changelogs.
* | [core] Move GLContextMode to its own Renderer headerBruno de Oliveira Abinader2017-11-012-1/+19
|/
* [core] send signal to RenderCustomLayer when gl context has been lostIvo van Dongen2017-09-221-0/+2
| | | | - Prevents cleaning up of GL resources that no longer exist, resulting in a crash
* Preserve depth buffer between 3D layers + optimize render order (#9931)Lauren Budorick2017-09-211-0/+2
| | | Port of https://github.com/mapbox/mapbox-gl-js/pull/5101: adds a new render pass `Pass3D` before any other rendering wherein we render layers with 3D passes (fill-extrusion layers) to offscreen framebuffers, sharing a depth renderbuffer between those layers in order to render 3D space correctly. Those framebuffers are saved on the RenderLayers and copied back to the map during the translucent pass. Rendering to offscreen framebuffers before we do any clear + draw means we can avoid expensive framebuffer restores.
* [all] Merge View into RendererBackendJohn Firebaugh2017-07-262-3/+7
|
* [core] fix backend scope handling on render, cleanup and lowmemoryIvo van Dongen2017-07-251-4/+0
| | | | | - Make renderer frontend responsible for creating a BackendScope on render - encapsulate backend scope handling on cleanup and low memory in renderer impl
* [core] Fix build; struct ⇢ classJohn Firebaugh2017-07-192-2/+2
|
* [core] No need for default ctor in {Update,Tile}ParametersBruno de Oliveira Abinader2017-07-192-2/+2
|
* [core] Bracket init works for optional<T> in GCC 4.9Bruno de Oliveira Abinader2017-07-192-5/+5
|
* [core] BackendScope prevent double (de-)activationIvo van Dongen2017-07-182-0/+9
| | | | | - Guards against duplicate activations by checking wether the backend of the prior scope is the same as the current ones - Makes sure that only the most outer backend scope deactivates by tracking activation state
* [core] rename backend to renderer backendIvo van Dongen2017-07-183-2/+117
|
* [core] renderer interfaceIvo van Dongen2017-07-183-0/+128
|
* make most headers privateKonstantin Käfer2014-12-049-697/+0
|
* Texturepool ⇢ TexturePool (fixes #655)John Firebaugh2014-12-021-1/+1
|
* Eliminate Map::getTexturepool()John Firebaugh2014-11-261-3/+1
|
* Fix variable shadowingJohn Firebaugh2014-10-291-1/+1
|
* Render map with a copy of TransformStateJohn Firebaugh2014-10-291-3/+17
|
* make addGlyphsToAtlas static method of SymbolBucket + add addGlyphs method ↵artemp2014-10-271-2/+2
| | | | to minimise number of mutex locking