mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-16 17:00:59 -06:00
Update Ghoul version
Add initial Tracy profiling macros
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
|
||||
#include <openspace/util/syncdata.h>
|
||||
#include <ghoul/misc/assert.h>
|
||||
#include <ghoul/misc/profiling.h>
|
||||
#include <algorithm>
|
||||
|
||||
namespace openspace {
|
||||
@@ -58,12 +59,16 @@ void SyncEngine::decodeSyncables(std::vector<char> data) {
|
||||
}
|
||||
|
||||
void SyncEngine::preSynchronization(IsMaster isMaster) {
|
||||
ZoneScoped
|
||||
|
||||
for (Syncable* syncable : _syncables) {
|
||||
syncable->preSync(isMaster);
|
||||
}
|
||||
}
|
||||
|
||||
void SyncEngine::postSynchronization(IsMaster isMaster) {
|
||||
ZoneScoped
|
||||
|
||||
for (Syncable* syncable : _syncables) {
|
||||
syncable->postSync(isMaster);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user