mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-06 10:44:01 +00:00
[client] main: let the renderer know if it's rendering a whole new frame
While the renderer can internally track this it would be better to simply provide this information to the renderer directly so it can make better decisions on how best to update the screen.
This commit is contained in:
@@ -923,7 +923,7 @@ bool egl_render_startup(void * opaque)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool egl_render(void * opaque, LG_RendererRotate rotate)
|
||||
bool egl_render(void * opaque, LG_RendererRotate rotate, const bool newFrame)
|
||||
{
|
||||
struct Inst * this = (struct Inst *)opaque;
|
||||
|
||||
|
@@ -584,7 +584,7 @@ bool opengl_render_startup(void * opaque)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool opengl_render(void * opaque, LG_RendererRotate rotate)
|
||||
bool opengl_render(void * opaque, LG_RendererRotate rotate, const bool newFrame)
|
||||
{
|
||||
struct Inst * this = (struct Inst *)opaque;
|
||||
if (!this)
|
||||
|
Reference in New Issue
Block a user