mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 14:03:17 +02:00
Remove static logging
This commit is contained in:
parent
9e84603ca4
commit
333cbc99ad
3 changed files with 0 additions and 15 deletions
|
@ -43,14 +43,6 @@ bool recommendedSparseTextures = (QThread::idealThreadCount() >= MIN_CORES_FOR_I
|
|||
|
||||
std::atomic<bool> Texture::_enableSparseTextures { recommendedSparseTextures };
|
||||
|
||||
struct ReportTextureState {
|
||||
ReportTextureState() {
|
||||
qCDebug(gpulogging) << "[TEXTURE TRANSFER SUPPORT]"
|
||||
<< "\n\tidealThreadCount:" << QThread::idealThreadCount()
|
||||
<< "\n\tRECOMMENDED enableSparseTextures:" << recommendedSparseTextures;
|
||||
}
|
||||
} report;
|
||||
|
||||
void Texture::setEnableSparseTextures(bool enabled) {
|
||||
#ifdef Q_OS_WIN
|
||||
qCDebug(gpulogging) << "[TEXTURE TRANSFER SUPPORT] SETTING - Enable Sparse Textures and Dynamic Texture Management:" << enabled;
|
||||
|
|
|
@ -33,17 +33,12 @@ LogHandler& LogHandler::getInstance() {
|
|||
}
|
||||
|
||||
LogHandler::LogHandler() {
|
||||
// when the log handler is first setup we should print our timezone
|
||||
QString timezoneString = "Time zone: " + QDateTime::currentDateTime().toString("t");
|
||||
printMessage(LogMsgType::LogInfo, QMessageLogContext(), timezoneString);
|
||||
|
||||
// make sure we setup the repeated message flusher, but do it on the LogHandler thread
|
||||
QMetaObject::invokeMethod(this, "setupRepeatedMessageFlusher");
|
||||
}
|
||||
|
||||
LogHandler::~LogHandler() {
|
||||
flushRepeatedMessages();
|
||||
printMessage(LogMsgType::LogDebug, QMessageLogContext(), "LogHandler shutdown.");
|
||||
}
|
||||
|
||||
const char* stringForLogType(LogMsgType msgType) {
|
||||
|
|
|
@ -90,7 +90,6 @@ const QString& PathUtils::resourcesPath() {
|
|||
staticResourcePath = projectRootPath() + "/interface/resources/";
|
||||
}
|
||||
#endif
|
||||
qDebug() << "Resource path resolved to " << staticResourcePath;
|
||||
});
|
||||
return staticResourcePath;
|
||||
}
|
||||
|
@ -105,7 +104,6 @@ const QString& PathUtils::resourcesUrl() {
|
|||
staticResourcePath = QUrl::fromLocalFile(projectRootPath() + "/interface/resources/").toString();
|
||||
}
|
||||
#endif
|
||||
qDebug() << "Resource url resolved to " << staticResourcePath;
|
||||
});
|
||||
return staticResourcePath;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue