[client] app: allow selective full invalidation

Overlays only need to trigger a new frame if they have changed and not
full window invalidation, this change allows for this.
This commit is contained in:
Geoffrey McRae
2021-08-05 06:47:36 +10:00
parent 6c84c0eca6
commit 6e7f39edee
8 changed files with 13 additions and 12 deletions

View File

@@ -46,7 +46,7 @@ bool app_isFormatValid(void);
void app_updateCursorPos(double x, double y);
void app_updateWindowPos(int x, int y);
void app_handleResizeEvent(int w, int h, double scale, const struct Border border);
void app_invalidateWindow(void);
void app_invalidateWindow(bool full);
void app_handleMouseRelative(double normx, double normy,
double rawx, double rawy);