core rendering algorithms and ideas of mpv rewritten as an independent library
