MediaPipe GPU: Log renderer.

We currently log GL version, but since we support multiple backends, logging the renderer as well takes away any doubt what is being used at runtime.

PiperOrigin-RevId: 530736209
This commit is contained in:
MediaPipe Team 2023-05-09 15:55:20 -07:00 committed by Copybara-Service
parent bea5eb766d
commit f77481f303

View File

@ -340,7 +340,9 @@ absl::Status GlContext::FinishInitialization(bool create_thread) {
}
LOG(INFO) << "GL version: " << gl_major_version_ << "." << gl_minor_version_
<< " (" << version_string << ")";
<< " (" << version_string
<< "), renderer: " << glGetString(GL_RENDERER);
{
auto status = GetGlExtensions();
if (!status.ok()) {