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:
parent
bea5eb766d
commit
f77481f303
|
@ -340,7 +340,9 @@ absl::Status GlContext::FinishInitialization(bool create_thread) {
|
||||||
}
|
}
|
||||||
|
|
||||||
LOG(INFO) << "GL version: " << gl_major_version_ << "." << gl_minor_version_
|
LOG(INFO) << "GL version: " << gl_major_version_ << "." << gl_minor_version_
|
||||||
<< " (" << version_string << ")";
|
<< " (" << version_string
|
||||||
|
<< "), renderer: " << glGetString(GL_RENDERER);
|
||||||
|
|
||||||
{
|
{
|
||||||
auto status = GetGlExtensions();
|
auto status = GetGlExtensions();
|
||||||
if (!status.ok()) {
|
if (!status.ok()) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user