Commit e0234aeb by Geoff Lang Committed by Commit Bot

GL: Don't print driver performance warnings.

They can add an large ammount of spam to the logs of our test suites and have never been actionable. BUG=768943 Change-Id: Ibee3d7ece97cc03500b10ffa7bcaf3a4d7d51581 Reviewed-on: https://chromium-review.googlesource.com/1115700Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Geoff Lang <geofflang@chromium.org>
parent 1ff0ee75
...@@ -149,8 +149,11 @@ static void INTERNAL_GL_APIENTRY LogGLDebugMessage(GLenum source, ...@@ -149,8 +149,11 @@ static void INTERNAL_GL_APIENTRY LogGLDebugMessage(GLenum source,
<< "\tSeverity: " << severityText << std::endl << "\tSeverity: " << severityText << std::endl
<< "\tMessage: " << message; << "\tMessage: " << message;
} }
else else if (type != GL_DEBUG_TYPE_PERFORMANCE)
{ {
// Don't print performance warnings. They tend to be very spammy in the dEQP test suite and
// there is very little we can do about them.
// TODO(ynovikov): filter into WARN and INFO if INFO is ever implemented // TODO(ynovikov): filter into WARN and INFO if INFO is ever implemented
WARN() << std::endl WARN() << std::endl
<< "\tSource: " << sourceText << std::endl << "\tSource: " << sourceText << std::endl
......
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