summaryrefslogtreecommitdiff
path: root/test/api/api_misuse.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [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