Best C drawing libraries for Wayland?

This page summarizes the projects mentioned and recommended in the original post on

Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • SaaSHub - Software Alternatives and Reviews
  • vkvg

    Vulkan 2D graphics library

    I'd like to develop native Wayland programs, and I don't really want to use toolkits like Qt or GTK, I need something just above OpenGL or Vulkan which only draws to a surface, I handle the rest. cairo + pango are a very nice pair, but cairo is mostly dead, the only way to make it Wayland native is through its OpenGL context, which unfortunately is still experimental even after many years. I found about VKVG, which wants to be Cairo based upon Vulkan, but that's "in early development stage". Generally I find dead drawing libraries, full toolkits or game engines which I don't want, or low level libraries. It seems to me that Linux doesn't have a solid middle-level graphics library anymore, or am I missing something? Do you know some libraries to recommend?

  • msdfgen

    Multi-channel signed distance field generator improves on SDF rendering a bit and allows sharper edges, could also bit a runtime path to (M)SDF image renderer.

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • imgui

    Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies

    You could also look into or extract how imgui implemented it's simpler canvas API, that was designed around GPU usage, (see ImDrawList).

  • libhut

    Another hobby attempt at a lightweight C++ GUI library.

    As said really early stage, I wouldn't be surprised if these wouldn't compile or crashed, and the documentation is inexistant:

  • bazel-skia

    Builds of Skia consumable by Bazel

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts