Commit 661ed419 by James Dong Committed by Commit Bot

Debug: suppress INFO level messages by default

They can be re-enabled with the angle_enable_trace option. Prevents validation errors from being output in NoFixture tests, as the default platform methods aren't overridden. Bug: angleproject:3525 Change-Id: I77342230b6c7cd167cfc3169f09d4e74b4579244 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1669848Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
parent cd946a03
...@@ -306,7 +306,9 @@ void Display_logWarning(angle::PlatformMethods *platform, const char *warningMes ...@@ -306,7 +306,9 @@ void Display_logWarning(angle::PlatformMethods *platform, const char *warningMes
void Display_logInfo(angle::PlatformMethods *platform, const char *infoMessage) void Display_logInfo(angle::PlatformMethods *platform, const char *infoMessage)
{ {
// Uncomment to get info spam // Uncomment to get info spam
#if defined(ANGLE_ENABLE_DEBUG_TRACE)
gl::Trace(gl::LOG_INFO, infoMessage); gl::Trace(gl::LOG_INFO, infoMessage);
#endif
} }
const std::vector<std::string> EGLStringArrayToStringVector(const char **ary) const std::vector<std::string> EGLStringArrayToStringVector(const char **ary)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment