drive map rendering from main thread

This commit is contained in:
Konstantin Käfer
2015-05-22 15:56:05 +02:00
committed by John Firebaugh
parent 740281cc89
commit 84e2ea886d
14 changed files with 71 additions and 35 deletions

View File

@@ -1,4 +1,5 @@
#include "../fixtures/util.hpp"
#include "../fixtures/mock_view.hpp"
#include <mbgl/util/run_loop.hpp>
#include <mbgl/map/map_data.hpp>
@@ -11,18 +12,6 @@
using namespace mbgl;
class MockView : public View {
public:
void activate() override {
}
void deactivate() override {
}
void notify() override {
}
void invalidate(std::function<void()>) override {
}
};
TEST(Transform, InvalidScale) {
MockView view;
Transform transform(view);