summaryrefslogtreecommitdiff
path: root/test/api/custom_layer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [tidy] Check modernize-use-nullptrBruno de Oliveira Abinader2016-06-131-1/+1
| | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-use-nullptr.html
* [core, node, android] Remove used "base" parameter from setStyleJSONJohn Firebaugh2016-06-021-1/+1
|
* [core] Rationalize naming for style-related codeJohn Firebaugh2016-06-021-1/+2
|
* [core] Generalize Map::{add,remove}CustomLayerJohn Firebaugh2016-06-021-2/+2
|
* Revert "[core] Do not clear custom layers upon style switch"Bruno de Oliveira Abinader2016-04-211-4/+0
| | | | This reverts commit 8ec875b87c387713d7e4df5c90e6cac7669ed38b.
* [core] Do not clear custom layers upon style switchBruno de Oliveira Abinader2016-04-211-0/+4
|
* [tests] Use StubFileSource where a real FileSource is not requiredJohn Firebaugh2016-04-141-2/+2
|
* [core] Render from the main threadJohn Firebaugh2016-04-141-0/+3
| | | | Do not create a thread for the MapContext anymore.
* [test] rearrange test files so they're not in the fixtures folderKonstantin Käfer2016-03-221-1/+1
|
* Revert "[gl] Updated CustomLayer tests"John Firebaugh2016-02-181-24/+30
| | | | | | These tests are intended to reflect how someone using the custom layer feature might actually write their callbacks. Therefore the callbacks should not use mbgl-specific classes. This reverts commit 69112a2a09404cc0ee7089a9f1f81ff1feac586f.
* [gl] Updated CustomLayer testsBruno de Oliveira Abinader2016-02-181-26/+24
|
* [core] Moving caching logic to DefaultFileSourceJohn Firebaugh2016-02-101-1/+1
| | | | This results in OnlineFileSource containing precisely the logic we want for reuse by OfflineFileSource, and no more.
* [core] Simplify asset:// implementationJohn Firebaugh2016-01-131-1/+1
| | | | | | | | * Move asset:// URL handling to DefaultFileSource. * AssetFileSource implements FileSource interface and follows familiar implementation patterns. * Move default implementation to platform/default, zip implementation to platform/android. * Don't bother with modified / expires / etag -- assets are not cached so it doesn't matter. * Don't bother with interleaving individual IO calls on the implementation thread. That adds a lot of complexity for very little benefit.
* [tests] Test with OnlineFileSourceJohn Firebaugh2015-12-231-2/+2
| | | | | When we introduce OfflineFileSource, the behavior of existing tests should not change.
* [core] Reduce custom layer API to lowest common denominatorJohn Firebaugh2015-12-111-11/+14
|
* [core] Custom layersJohn Firebaugh2015-12-091-0/+83