onedraw — a GPU-driven 2D renderer
dev.to·21h·
Discuss: DEV
Flag this post

Hi here’s a doc I wrote about my open-source metal renderer, it’s the first 2 parts. Next I’ll write about the rasterization.

Don’t hesitate to clone the repo, ask questions, report a bug or contact me. Have a nice day, Geolm.

URL : https://github.com/Geolm/onedraw contact : Geolm

Goals and initial architecture

I started the project with the following objectives:

  • Not triangle-based: shapes are defined using signed distance functions (SDFs).
  • High quality: anti-aliased edges by default, perfectly smooth curves (no tessellation required), optimized for high-resolution displays.
  • Fast and GPU-driven: offload as much work as possible to the GPU and minimize draw calls.
  • Efficient alpha bl…

Similar Posts

Loading similar posts...