EAPI void ecore_drm2_fb_busy_set(Ecore_Drm2_Fb *fb, Eina_Bool busy);
/**
+ * Try to force a framebuffer release for an output
+ *
+ * This tries to release the next, pending, or current buffer from
+ * the output. If successful there will be a release callback to
+ * the registered handler, and the fb will no longer be flagged busy.
+ *
+ * @param output The output to force release
+ *
+ * @ingroup Ecore_Drm2_Fb_Group
+ * @since 1.19
+ */
+EAPI void ecore_drm2_fb_release(Ecore_Drm2_Output *o);
+
+/**
* Set the user data for the output's page flip handler
*
* @param output The output to update user data for
EAPI void ecore_drm2_output_release_handler_set(Ecore_Drm2_Output *output, Ecore_Drm2_Release_Handler handler, void *data);
/**
- * Try to force a framebuffer release for an output
- *
- * This tries to release the next, pending, or current buffer from
- * the output. If successful there will be a release callback to
- * the registered handler, and the fb will no longer be flagged busy.
- *
- * @param output The output to force release
- *
- * @ingroup Ecore_Drm2_Output_Group
- * @since 1.19
- */
-EAPI void ecore_drm2_output_fb_release(Ecore_Drm2_Output *o);
-
-/**
* Get the Framebuffer's gbm buffer object
*
* @param fb The framebuffer to query
bo = gbm_surface_lock_front_buffer(ob->surface);
if (!bo)
{
- ecore_drm2_output_fb_release(ob->priv.output);
+ ecore_drm2_fb_release(ob->priv.output);
bo = gbm_surface_lock_front_buffer(ob->surface);
}
if (bo) fb = _evas_outbuf_fb_get(ob, bo);