Remove base/logging.h in a whole lot more places.

This commit is contained in:
Henrik Rydgård committed 2020-08-15 19:09:00 +02:00
1 parent 5eb13378c6
commit c41f875df4
36 files changed
+136 -127

No files matched your search

+6 -6
View File
@@ -114,7 +114,7 @@ void GLRenderManager::ThreadStart(Draw::DrawContext *draw) {
renderThreadId = std::this_thread::get_id();
if (newInflightFrames_ != -1) {
ILOG("Updating inflight frames to %d", newInflightFrames_);
INFO_LOG(G3D, "Updating inflight frames to %d", newInflightFrames_);
inflightFrames_ = newInflightFrames_;
newInflightFrames_ = -1;
}
@@ -154,7 +154,7 @@ void GLRenderManager::ThreadStart(Draw::DrawContext *draw) {
}
void GLRenderManager::ThreadEnd() {
ILOG("ThreadEnd");
INFO_LOG(G3D, "ThreadEnd");
// Wait for any shutdown to complete in StopThread().
std::unique_lock<std::mutex> lock(mutex_);
@@ -217,7 +217,7 @@ bool GLRenderManager::ThreadFrame() {
}
VLOG("PULL: Running frame %d", threadFrame_);
if (firstFrame) {
ILOG("Running first frame (%d)", threadFrame_);
INFO_LOG(G3D, "Running first frame (%d)", threadFrame_);
firstFrame = false;
}
Run(threadFrame_);
@@ -246,7 +246,7 @@ void GLRenderManager::StopThread() {
// Wait until we've definitely stopped the threadframe.
std::unique_lock<std::mutex> lock(mutex_);
ILOG("GL submission thread paused. Frame=%d", curFrame_);
INFO_LOG(G3D, "GL submission thread paused. Frame=%d", curFrame_);
// Eat whatever has been queued up for this frame if anything.
Wipe();
@@ -274,7 +274,7 @@ void GLRenderManager::StopThread() {
}
}
} else {
ILOG("GL submission thread was already paused.");
INFO_LOG(G3D, "GL submission thread was already paused.");
}
}
@@ -454,7 +454,7 @@ void GLRenderManager::BeginFrame() {
// Must be after the fence - this performs deletes.
VLOG("PUSH: BeginFrame %d", curFrame);
if (!run_) {
WLOG("BeginFrame while !run_!");
WARN_LOG(G3D, "BeginFrame while !run_!");
}
// vulkan_->BeginFrame();