mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-07-30 02:53:38 +00:00
[client] all: make it possible to signal full window invalidation
Now that we are drawing with damage rects, when the window is hidden and then exposed the window may not get fully redrawn. This provides `app_invalidateWindow` for the display server backend to call when the screen needs a full redraw.
This commit is contained in:
parent
8c2a77e84e
commit
60a58d4d8d
7 changed files with 30 additions and 15 deletions
|
@ -456,7 +456,8 @@ bool opengl_render_startup(void * opaque)
|
|||
return true;
|
||||
}
|
||||
|
||||
bool opengl_render(void * opaque, LG_RendererRotate rotate, const bool newFrame)
|
||||
bool opengl_render(void * opaque, LG_RendererRotate rotate, const bool newFrame,
|
||||
const bool invalidateWindow)
|
||||
{
|
||||
struct Inst * this = (struct Inst *)opaque;
|
||||
if (!this)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue