forked from enlightenment/efl
ecore_drm2: Handle atomic state in _release_buffer
Further merging of atomic and non-atomic paths
This commit is contained in:
parent
b902ef7c69
commit
ba4d41ff63
|
@ -214,6 +214,11 @@ _release_buffer(Ecore_Drm2_Output *output, Ecore_Drm2_Output_State *s)
|
||||||
s->fb->busy = EINA_FALSE;
|
s->fb->busy = EINA_FALSE;
|
||||||
if (output->release_cb) output->release_cb(output->release_data, s->fb);
|
if (output->release_cb) output->release_cb(output->release_data, s->fb);
|
||||||
s->fb = NULL;
|
s->fb = NULL;
|
||||||
|
#ifdef HAVE_ATOMIC_DRM
|
||||||
|
if (s->atomic_req)
|
||||||
|
sym_drmModeAtomicFree(s->atomic_req);
|
||||||
|
s->atomic_req = NULL;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI Eina_Bool
|
EAPI Eina_Bool
|
||||||
|
|
Loading…
Reference in New Issue