summaryrefslogtreecommitdiff
path: root/test/api/repeated_render.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [test] add .test.cpp suffix to test case filesKonstantin Käfer2016-09-281-74/+0
|
* [core] fix pedantic warning messagesKonstantin Käfer2016-06-131-4/+4
|
* [core, node, android] Remove used "base" parameter from setStyleJSONJohn Firebaugh2016-06-021-2/+2
|
* [core] Render from the main threadJohn Firebaugh2016-04-141-8/+19
| | | | Do not create a thread for the MapContext anymore.
* [ios] make unit tests work on iOS and iOS SimulatorKonstantin Käfer2016-03-221-0/+4
|
* [test] rearrange test files so they're not in the fixtures folderKonstantin Käfer2016-03-221-2/+2
|
* [core] Eliminate platform::assetRoot()John Firebaugh2016-01-131-3/+4
| | | | I regenerated assets.zip so that all file paths have an `assets/` prefix, as the Android AssetFileSource implementation asserts, and removed `TEST_DATA` from the paths.
* [core] Simplify asset:// implementationJohn Firebaugh2016-01-131-3/+3
| | | | | | | | * 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-3/+3
| | | | | When we introduce OfflineFileSource, the behavior of existing tests should not change.
* [core] Fix std::move() misuse that disables copy elisionKonstantin Käfer2015-12-031-2/+2
|
* [tests] Fix/improve Asset utestsThiago Marcos P. Santos2015-12-011-0/+4
| | | | | | ASSET=zip make test-* was broken and now works. Also added a test stressing concurrent file access.
* [core] Fix image type of Map::renderStillJohn Firebaugh2015-11-251-4/+4
| | | | | | | 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-15/+12
| | | | | | * Consolidate Image and StillImage * Typecheck unassociated vs premultiplied images * Rewrite default platform image decoding implementation
* Consolidate test-suite rendering harnesses (#2236)John Firebaugh2015-09-041-1/+1
|
* Make pixelRatio constant across a Map object lifetimeKonstantin Käfer2015-07-081-6/+4
| | | | also moves framebuffer size out of TransformState into its own object
* Replace mbgl::util::make_unique<> with std::make_unique<>Konstantin Käfer2015-05-261-1/+1
|
* Add callback for error notifications on renderStill()Thiago Marcos P. Santos2015-05-221-2/+2
| | | | | | | | | The callback will be called when any of the resources requested from the network failed to load. There is not recovery implemented yet, so the closest thing to reseting the Map object and reloading all the resources would be setting a new style.
* Resize view from map threadJohn Firebaugh2015-04-281-2/+2
|
* Remove Map::start/stopJohn Firebaugh2015-04-281-5/+1
| | | | | | Both Android and iOS now use pause/resume. The map thread is always running, and be able to receive messages. When paused, it will just refuse to render.
* Fix buildJohn Firebaugh2015-04-281-1/+1
|
* rename Mode::Static => Mode::StillKonstantin Käfer2015-04-171-1/+1
|
* explicitly call .discard() to resize the view on static rendersKonstantin Käfer2015-04-171-0/+63
- this is only a stopgap; we need to properly pass state between threads - doesn't fix changing the pixel ratio