From f77481f303c91e08a8cb5b7ecf81b7f69ddf5b7b Mon Sep 17 00:00:00 2001 From: MediaPipe Team Date: Tue, 9 May 2023 15:55:20 -0700 Subject: [PATCH] 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 --- mediapipe/gpu/gl_context.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mediapipe/gpu/gl_context.cc b/mediapipe/gpu/gl_context.cc index 99b995dd..3244f22a 100644 --- a/mediapipe/gpu/gl_context.cc +++ b/mediapipe/gpu/gl_context.cc @@ -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()) {