The open source OpenXR runtime

c/client: Tidy and lower the logging level

authored by

Jakob Bornecrantz and committed by
Jakob Bornecrantz
76ed4d16 5befa76f

+7 -8
+7 -8
src/xrt/compositor/client/comp_egl_glue.c
··· 279 279 280 280 client_gl_swapchain_create_func sc_create = NULL; 281 281 282 - EGL_INFO("Extension availability:"); 283 - #define DUMP_EXTENSION_STATUS(EXT) EGL_INFO(" - " #EXT ": %s", GLAD_##EXT ? "true" : "false") 282 + EGL_DEBUG("Extension availability:"); 283 + #define DUMP_EXTENSION_STATUS(EXT) EGL_DEBUG(" - " #EXT ": %s", GLAD_##EXT ? "true" : "false") 284 284 285 285 DUMP_EXTENSION_STATUS(GL_EXT_memory_object); 286 286 DUMP_EXTENSION_STATUS(GL_EXT_memory_object_fd); ··· 299 299 300 300 #if defined(XRT_GRAPHICS_BUFFER_HANDLE_IS_FD) 301 301 if (GLAD_GL_EXT_memory_object && GLAD_GL_EXT_memory_object_fd) { 302 - EGL_INFO("Using GL memory object swapchain implementation"); 302 + EGL_DEBUG("Using GL memory object swapchain implementation"); 303 303 sc_create = client_gl_memobj_swapchain_create; 304 304 } 305 305 if (sc_create == NULL && GLAD_EGL_EXT_image_dma_buf_import) { 306 - EGL_INFO("Using EGL_Image swapchain implementation"); 306 + EGL_DEBUG("Using EGL_Image swapchain implementation"); 307 307 sc_create = client_gl_eglimage_swapchain_create; 308 308 } 309 309 if (sc_create == NULL) { 310 310 free(ceglc); 311 311 EGL_ERROR( 312 - "Could not find a required extension: need either " 313 - "EGL_EXT_image_dma_buf_import or " 312 + "Could not find a required extension: need either EGL_EXT_image_dma_buf_import or " 314 313 "GL_EXT_memory_object_fd"); 315 314 old_restore(&old); 316 315 return XRT_ERROR_OPENGL; 317 316 } 318 317 #elif defined(XRT_GRAPHICS_BUFFER_HANDLE_IS_AHARDWAREBUFFER) 319 - EGL_INFO("Using EGL_Image swapchain implementation with AHardwareBuffer"); 318 + EGL_DEBUG("Using EGL_Image swapchain implementation with AHardwareBuffer"); 320 319 sc_create = client_gl_eglimage_swapchain_create; 321 320 #endif 322 321 323 322 if (!client_gl_compositor_init(&ceglc->base, xcn, sc_create, insert_fence)) { 324 323 free(ceglc); 325 - U_LOG_E("Failed to initialize compositor"); 324 + EGL_ERROR("Failed to initialize compositor"); 326 325 old_restore(&old); 327 326 return XRT_ERROR_OPENGL; 328 327 }