summaryrefslogtreecommitdiff
path: root/test/api/api_misuse.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [tidy] Check modernize-use-autoBruno de Oliveira Abinader2016-06-131-1/+1
| | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-use-auto.html
* [tests] Use StubFileSource where a real FileSource is not requiredJohn Firebaugh2016-04-141-3/+3
|
* [core] Render from the main threadJohn Firebaugh2016-04-141-4/+12
| | | | 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-2/+2
|
* [core] Moving caching logic to DefaultFileSourceJohn Firebaugh2016-02-101-2/+2
| | | | This results in OnlineFileSource containing precisely the logic we want for reuse by OfflineFileSource, and no more.
* [tests] Test with OnlineFileSourceJohn Firebaugh2015-12-231-3/+3
| | | | | When we introduce OfflineFileSource, the behavior of existing tests should not change.
* [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-2/+1
| | | | | | * Consolidate Image and StillImage * Typecheck unassociated vs premultiplied images * Rewrite default platform image decoding implementation
* Make pixelRatio constant across a Map object lifetimeKonstantin Käfer2015-07-081-4/+4
| | | | also moves framebuffer size out of TransformState into its own object
* Add tests for renderStill() misuseThiago Marcos P. Santos2015-06-161-0/+60