mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-04 06:12:04 +00:00
[client] egl: stop aliasing damage tracking layouts
Pass damage rectangle arrays and counts explicitly to the EGL mesh updater instead of casting DesktopDamage to DamageRects.
This commit is contained in:
@@ -48,6 +48,6 @@ void egl_screenToDesktopMatrix(double matrix[6], int frameWidth, int frameHeight
|
||||
bool egl_screenToDesktop(struct FrameDamageRect * output, const double matrix[6],
|
||||
const struct Rect * rect, int width, int height);
|
||||
|
||||
void egl_desktopRectsUpdate(EGL_DesktopRects * rects, const struct DamageRects * data,
|
||||
int width, int height);
|
||||
void egl_desktopRectsRender(EGL_DesktopRects * rects);
|
||||
void egl_desktopRectsUpdate(EGL_DesktopRects * rects,
|
||||
const FrameDamageRect * data, int count, int width, int height);
|
||||
void egl_desktopRectsRender(EGL_DesktopRects * rects);
|
||||
|
||||
Reference in New Issue
Block a user