We no longer have to track draw and display buffers - the display buffer
is completely handled by ecore_evas_drm's busy tracking.
struct
{
int num;
- Outbuf_Fb ofb[4], *draw, *display;
+ Outbuf_Fb ofb[4], *draw;
Ecore_Drm2_Output *output;
Eina_List *pending;
Eina_Rectangle *rects;
if (!ofb) return;
ecore_drm2_fb_dirty(ofb->fb, rects, count);
- if (ecore_drm2_fb_flip(ofb->fb, ob->priv.output) == 0)
- ob->priv.display = ofb;
-
+ ecore_drm2_fb_flip(ofb->fb, ob->priv.output);
ofb->drawn = EINA_TRUE;
ofb->age = 0;
*/
for (i = 0; i < ob->priv.num; i++)
{
- if (&ob->priv.ofb[i] == ob->priv.display) continue;
if (ecore_drm2_fb_busy_get(ob->priv.ofb[i].fb)) continue;
if (ob->priv.ofb[i].valid && (ob->priv.ofb[i].age > best_age))
{