[render-test] Implement gfx probe for tracking gpu resources

This commit is contained in:
Mikko Pulkki
2019-10-15 12:03:04 +03:00
committed by Mikko Pulkki
parent fb062bb23e
commit a7a7e8cbe2
14 changed files with 267 additions and 34 deletions

View File

@@ -45,10 +45,10 @@ TEST(API, RecycleMapUpdateImages) {
// default marker
loadStyle("default_marker", "test/fixtures/sprites/default_marker.png");
test::checkImage("test/fixtures/recycle_map/default_marker", frontend.render(*map), 0.0006, 0.1);
test::checkImage("test/fixtures/recycle_map/default_marker", frontend.render(*map).image, 0.0006, 0.1);
// flipped marker
loadStyle("flipped_marker", "test/fixtures/sprites/flipped_marker.png");
test::checkImage("test/fixtures/recycle_map/flipped_marker", frontend.render(*map), 0.0006, 0.1);
test::checkImage("test/fixtures/recycle_map/flipped_marker", frontend.render(*map).image, 0.0006, 0.1);
}