mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
cleanup logs
This commit is contained in:
@@ -146,7 +146,7 @@ void FrameBuffer::checkFramebufferStatus()
|
|||||||
Log::Warning(" GL_FRAMEBUFFER_UNDEFINED is returned if target is the default framebuffer, but the default framebuffer does not exist.");
|
Log::Warning(" GL_FRAMEBUFFER_UNDEFINED is returned if target is the default framebuffer, but the default framebuffer does not exist.");
|
||||||
break;
|
break;
|
||||||
case GL_FRAMEBUFFER_COMPLETE:
|
case GL_FRAMEBUFFER_COMPLETE:
|
||||||
Log::Info("Framebuffer created.");
|
Log::Info("Framebuffer created %d x %d.", width(), height());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -128,8 +128,6 @@ bool Rendering::Init()
|
|||||||
glViewport(0, 0, main_window_attributes_.viewport.x, main_window_attributes_.viewport.y);
|
glViewport(0, 0, main_window_attributes_.viewport.x, main_window_attributes_.viewport.y);
|
||||||
main_window_attributes_.clear_color = glm::vec4(COLOR_BGROUND, 1.0);
|
main_window_attributes_.clear_color = glm::vec4(COLOR_BGROUND, 1.0);
|
||||||
|
|
||||||
Log::Info("viewport %d x %d", main_window_attributes_.viewport.x, main_window_attributes_.viewport.y);
|
|
||||||
|
|
||||||
// Gstreamer link to context
|
// Gstreamer link to context
|
||||||
g_setenv ("GST_GL_API", "opengl3", FALSE);
|
g_setenv ("GST_GL_API", "opengl3", FALSE);
|
||||||
gst_init (NULL, NULL);
|
gst_init (NULL, NULL);
|
||||||
|
|||||||
@@ -74,7 +74,6 @@ void SessionCreator::loadSession(XMLElement *sessionNode)
|
|||||||
// TODO : create other types of source
|
// TODO : create other types of source
|
||||||
|
|
||||||
}
|
}
|
||||||
Log::Info("Created %d Sources", counter);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
Log::Warning("Session seems empty.");
|
Log::Warning("Session seems empty.");
|
||||||
|
|||||||
@@ -155,7 +155,7 @@ bool UserInterface::Init()
|
|||||||
|
|
||||||
// Load Fonts (using resource manager, NB: a temporary copy of the raw data is necessary)
|
// Load Fonts (using resource manager, NB: a temporary copy of the raw data is necessary)
|
||||||
int base_font_size = int ( Rendering::manager().MonitorHeight() / 90.f );
|
int base_font_size = int ( Rendering::manager().MonitorHeight() / 90.f );
|
||||||
Log::Info("Base font size %d (%.1f)", base_font_size, Rendering::manager().MonitorHeight());
|
Log::Info("Base font size %d", base_font_size);
|
||||||
ImGuiToolkit::SetFont(ImGuiToolkit::FONT_DEFAULT, "Roboto-Regular", base_font_size);
|
ImGuiToolkit::SetFont(ImGuiToolkit::FONT_DEFAULT, "Roboto-Regular", base_font_size);
|
||||||
ImGuiToolkit::SetFont(ImGuiToolkit::FONT_BOLD, "Roboto-Bold", base_font_size);
|
ImGuiToolkit::SetFont(ImGuiToolkit::FONT_BOLD, "Roboto-Bold", base_font_size);
|
||||||
ImGuiToolkit::SetFont(ImGuiToolkit::FONT_ITALIC, "Roboto-Italic", base_font_size);
|
ImGuiToolkit::SetFont(ImGuiToolkit::FONT_ITALIC, "Roboto-Italic", base_font_size);
|
||||||
@@ -1054,7 +1054,6 @@ void Navigator::RenderNewPannel()
|
|||||||
ImGuiToolkit::HelpMarker("A Media source displays an image or a video file.");
|
ImGuiToolkit::HelpMarker("A Media source displays an image or a video file.");
|
||||||
// browse folder
|
// browse folder
|
||||||
if (ImGuiToolkit::ButtonIcon(2, 5)) {
|
if (ImGuiToolkit::ButtonIcon(2, 5)) {
|
||||||
Log::Info("Settings::application.recentMedia.path %s", Settings::application.recentMedia.path.c_str());
|
|
||||||
std::thread (MediaDialogOpen, Settings::application.recentMedia.path).detach();
|
std::thread (MediaDialogOpen, Settings::application.recentMedia.path).detach();
|
||||||
}
|
}
|
||||||
// combo recent
|
// combo recent
|
||||||
|
|||||||
Reference in New Issue
Block a user