Add a new renderer API

Goals:

- Extensibility: we need to be able to add new params to the calls
  to render a texture/rect. For instance we'll need to add fences to
  the render texture operation for explicit sync purposes.
- No implicit state: no more bind_buffer, begin, end.
- No matrices: these hurt Pixman and we don't need them.
- Clip regions for optimized damage repainting.

Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3188
This commit is contained in:
Simon Ser 2022-06-21 22:39:29 +02:00
parent 17ad034480
commit 756dedae20
5 changed files with 126 additions and 5 deletions

View file

@ -8,6 +8,7 @@ endif
wlr_files += files(
'dmabuf.c',
'drm_format_set.c',
'pass.c',
'pixel_format.c',
'swapchain.c',
'wlr_renderer.c',