summaryrefslogtreecommitdiff
path: root/test/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] Loading images to style optimizationMikhail Pozdnyakov2020-02-112-5/+5
| | | | | | This change enables attaching images to the style with batches and avoids massive re-allocations. Thus, it improves UI performance especially at start-up time.
* [core] Change ImagePosition from storing non-padded rect to padded rect to ↵Konstantin Käfer2020-01-151-1/+1
| | | | mirror the JS implementation
* [tests] Fix -Werror=shadow issues in the unit testsThiago Marcos P. Santos2019-12-121-1/+1
|
* [core] Do not make pending requests for already requested images.Mikhail Pozdnyakov2019-10-281-9/+3
| | | | | so that processing for the corresponding tile does not suspend and the rendering performance is not affected.
* Revert "[core] Revert coalescing requests to the client for the same missing ↵Mikhail Pozdnyakov2019-10-281-0/+24
| | | | | | image" This reverts commit 22132683797b5ea5cbe8622f77c01b399ad9c71e.
* [core] Revert coalescing requests to the client for the same missing imageMikhail Pozdnyakov2019-10-241-24/+0
|
* [core] Update ImageManager.OnStyleImageMissingBeforeSpriteLoadedMikhail Pozdnyakov2019-10-171-2/+12
| | | | So that it checks pending image requests for a different requestor.
* [core] Update ImageManager.OnStyleImageMissingBeforeSpriteLoaded unit testMikhail Pozdnyakov2019-10-101-0/+14
| | | | So that it checks missing images requests coalescing.
* [core] also remove version info in ImageManager when removing an image (#15397)Konstantin Käfer2019-08-191-0/+12
|
* [core] Introduce PatternAtlasMikhail Pozdnyakov2019-06-042-44/+85
|
* [core] Update ImageManager's unit test for onRemoveUnusedStyleImages APIAlexander Shalamov2019-05-211-13/+58
|
* [core] Make the BackgroundScheduler a singletonThiago Marcos P. Santos2019-05-101-1/+0
| | | | | | | | | | - 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] Schedule invocation of onStyleImageMissing completion callback on the ↵Alexander Shalamov2019-05-091-0/+22
| | | | | | | | | same thread Before this change, ImageManger's 'done' callback for onStyleImageMissing observer notification that was created on renderer thread, could be called from different thread, therefore, is not thread safe. For example, on Android platform, callback was invoked from UI thread. This change makes callback to be scheduled on originating thread.
* [core] Add unit test for ImageManager::reduceMemoryUsageAlexander Shalamov2019-04-251-1/+60
|
* [core] Pass ImageManager to ImageRequestor's constructorAlexander Shalamov2019-04-251-4/+6
| | | | | This makes ImageRequestor API explicitly dependant on ImageManager, so that ImageRequestor can unregister itself from ImageManager on destruction.
* [core] Use `style::LayerProperties` in render layers, buckets and layouts.Mikhail Pozdnyakov2019-04-171-60/+0
|
* fix firing onStyleImageMissing after sprite has loaded (#14369)Ansis Brammanis2019-04-081-0/+75
|
* [core] move GLContextMode to RendererBackendKonstantin Käfer2019-04-051-1/+4
|
* [core] refactor RendererBackendKonstantin Käfer2019-04-051-10/+9
|
* [core] move BackendScope to gfx namespaceKonstantin Käfer2019-04-051-6/+6
|
* add onStyleImageMissing to allow dynamically loaded or generated images (#14253)Ansis Brammanis2019-04-021-5/+11
| | | Also make `Style#updateImage(...)` much faster when the image doesn't change size. This can be useful for asynchronously generating images.
* [core] Remove file source from public Map ctorBruno de Oliveira Abinader2019-03-201-1/+0
|
* [core] layermanager folderMikhail Pozdnyakov2018-11-301-0/+1
| | | | Move `LayerManager` and `LayerFactory` abstract classes to a dedicated folder.
* [core][Android][Darwin] LayerManager creates RenderLayer instancesMikhail Pozdnyakov2018-11-271-1/+1
| | | | | | | | `LayerManager` is now responsible for `RenderLayer` instances creation, so that there is a single entry point for creating of objects, which correspond to a certain layer type. The `LayerType type` field is dropped from `Layer::Impl`.
* Remove style::Layer::is()/as()Mikhail Pozdnyakov2018-10-311-4/+6
|
* [core] Implement CrossFadedDataDrivenProperty to add support for feature ↵Molly Lloyd2018-08-311-7/+11
| | | | expressions in `*-pattern` properties
* [core] Replace use of *Stops with expressions DSLJohn Firebaugh2018-06-291-3/+3
|
* [core] Convert "legacy" filters directly into expressions (#11610)Lucas Wojciechowski2018-05-101-1/+4
| | | Ports the specialized filter-* expressions from GL JS, adding them to src/mbgl/style/expression/compound_expression.cpp
* [core] move HeadlessBackend extension initialization code into ImplKonstantin Käfer2017-11-291-7/+2
|
* Preserve depth buffer between 3D layers + optimize render order (#9931)Lauren Budorick2017-09-211-4/+8
| | | 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.
* [core] Added GeometryTileWorker-owned image correlation IDBruno de Oliveira Abinader2017-08-251-4/+7
|
* [all] Merge View into RendererBackendJohn Firebaugh2017-07-261-0/+2
|
* [core] Correctly track sprite loaded state through smart setStyleJohn Firebaugh2017-07-201-1/+1
|
* [core] BackendScope prevent double (de-)activationIvo van Dongen2017-07-181-0/+111
| | | | | - 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] Per-bucket icon atlasesJohn Firebaugh2017-06-131-0/+147
|
* [core] Replace createRender{Source,Layer} with Render{Source,Layer}::createJohn Firebaugh2017-05-121-1/+1
| | | | | * Eliminates the need for EnableImmutableFromThis * Eliminates the dependency of {Source,Layer}::Impl on corresponding Render class (circular dependency)
* [core] split off render layersIvo van Dongen2017-04-251-0/+54