E will need these to gate wayland buffer releases.
ECORE_DRM2_FB_STATUS_SCANOUT_OFF = 2,
ECORE_DRM2_FB_STATUS_RELEASE = 4,
ECORE_DRM2_FB_STATUS_DELETED = 8,
+ ECORE_DRM2_FB_STATUS_PLANE_ASSIGN = 16,
+ ECORE_DRM2_FB_STATUS_PLANE_RELEASE = 32,
} Ecore_Drm2_Fb_Status;
/* opaque structure to represent a drm device */
DBG("FB %d assigned to Plane %d", fb->id, pstate->obj_id);
output->planes = eina_list_append(output->planes, plane);
+ if (fb->status_handler)
+ fb->status_handler(fb,
+ ECORE_DRM2_FB_STATUS_PLANE_ASSIGN,
+ fb->status_data);
return plane;
}
plane->dead = EINA_TRUE;
plane->state->in_use = EINA_FALSE;
_fb_atomic_flip_test(plane->output);
+
+ if (fb->status_handler)
+ fb->status_handler(fb,
+ ECORE_DRM2_FB_STATUS_PLANE_RELEASE,
+ fb->status_data);
}
EAPI void