[client] egl: use desktop frame damage information

This commit is contained in:
Quantum 2021-07-10 21:20:08 -04:00 committed by Geoffrey McRae
parent 6b16bb3ea1
commit 442ab318fd
4 changed files with 87 additions and 17 deletions

View file

@ -419,7 +419,8 @@ bool opengl_on_frame_format(void * opaque, const LG_RendererFormat format, bool
return true;
}
bool opengl_on_frame(void * opaque, const FrameBuffer * frame, int dmaFd)
bool opengl_on_frame(void * opaque, const FrameBuffer * frame, int dmaFd,
const FrameDamageRect * damage, int damageCount)
{
struct Inst * this = (struct Inst *)opaque;