Skip to content

improve error handling for virgl_renderer_init

Chia-I Wu requested to merge olv/virglrenderer:winsys into master

The first part of the MR renames virgl_{egl,gbm,glx}* to vrend_winsys_{egl,gbm,glx}*, and moves the relevant common code to vrend_winsys.c. By moving vrend-specific winsys code to its own files, virglrenderer.c, and especially virgl_renderer_init, is simplified.

The second part of the MR greatly improves the error handling of virgl_renderer_init. It is also done in a way that makes

  • optionally initialize Vulkan renderer
  • optionally NOT initialize vrend renderer

easy in the future.

Edited by Chia-I Wu

Merge request reports

Loading