Commit 202304e7 by Jamie Madill Committed by Commit Bot

Trace Tests: Add renderer string logging.

This outputs the GL_RENDERER string in each test when using the --verbose-logging command-line flag. Bug: b/173518650 Change-Id: Id966294d50aaba0c8a1f3e010f76d5560e6f1288 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2545403Reviewed-by: 's avatarCharlie Lao <cclao@google.com> Reviewed-by: 's avatarCourtney Goeltzenleuchter <courtneygo@google.com> Commit-Queue: Jamie Madill <jmadill@chromium.org>
parent c7d2c434
...@@ -699,6 +699,12 @@ void ANGLERenderTest::SetUp() ...@@ -699,6 +699,12 @@ void ANGLERenderTest::SetUp()
// FAIL returns. // FAIL returns.
} }
if (gVerboseLogging)
{
printf("GL_RENDERER: %s\n", glGetString(GL_RENDERER));
printf("GL_VERSION: %s\n", glGetString(GL_VERSION));
}
mTestTrialResults.reserve(gTestTrials); mTestTrialResults.reserve(gTestTrials);
// Capture a screenshot if enabled. // Capture a screenshot if enabled.
......
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