[client] egl: refactor damage mesh generation into desktop_rects

This mesh will later be used to render only damaged portions of the desktop.
We also moved the coordinate transformation for damage overlay into a matrix
and computed by the shader.
This commit is contained in:
Quantum
2021-08-02 18:40:19 -04:00
committed by Geoffrey McRae
parent dd31a7ef93
commit 2dca056526
6 changed files with 306 additions and 158 deletions

View File

@@ -43,6 +43,7 @@ add_library(renderer_EGL STATIC
texture_dmabuf.c
model.c
desktop.c
desktop_rects.c
cursor.c
draw.c
splash.c