move asyncRender to MapContext

This commit is contained in:
Konstantin Käfer
2015-03-24 11:47:51 +01:00
committed by John Firebaugh
parent f8600d8d97
commit fa272b3aaa
4 changed files with 43 additions and 37 deletions

View File

@@ -77,9 +77,6 @@ public:
// Notifies the Map thread that the state has changed and an update might be necessary.
void triggerUpdate(Update = Update::Nothing);
// Triggers a render. Can be called from any thread.
void triggerRender();
// Releases resources immediately
void terminate();
@@ -215,7 +212,6 @@ private:
std::unique_ptr<uv::async> asyncTerminate;
std::unique_ptr<uv::async> asyncUpdate;
std::unique_ptr<uv::async> asyncInvoke;
std::unique_ptr<uv::async> asyncRender;
bool terminating = false;
bool pausing = false;