mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[client] egl: convert desktop to use desktop_rects
This commit is contained in:
@@ -42,6 +42,12 @@ void egl_desktopToScreenMatrix(double matrix[6], int frameWidth, int frameHeight
|
||||
double windowWidth, double windowHeight);
|
||||
struct Rect egl_desktopToScreen(const double matrix[6], const struct FrameDamageRect * rect);
|
||||
|
||||
void egl_screenToDesktopMatrix(double matrix[6], int frameWidth, int frameHeight,
|
||||
double translateX, double translateY, double scaleX, double scaleY, LG_RendererRotate rotate,
|
||||
double windowWidth, double windowHeight);
|
||||
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);
|
Reference in New Issue
Block a user