[client] egl: make damage overlay support rendering rotated rectangles

This commit is contained in:
Quantum
2021-07-25 02:35:28 -04:00
committed by Geoffrey McRae
parent 2ef80a5d34
commit d0722349e6
2 changed files with 12 additions and 4 deletions

View File

@@ -37,4 +37,4 @@ void egl_damage_free(EGL_Damage ** damage);
void egl_damage_setup(EGL_Damage * damage, int width, int height);
void egl_damage_resize(EGL_Damage * damage, float translateX, float translateY,
float scaleX, float scaleY);
bool egl_damage_render(EGL_Damage * damage, const struct DesktopDamage * data);
bool egl_damage_render(EGL_Damage * damage, bool rotate, const struct DesktopDamage * data);