My 64-bit kernel now has a drawing library exposed for my OS, which allows for rendering many shapes and any amount of them with one draw call! (internally the draw call is int 0x80 with some params)

Took 4 days of busy debugging. Also, my OS is microkernel-based. What do you guys think of this design decision?

I just render one line here, but you can render many more lines with one draw call (just to get the point across 😄)