EAPI void ecore_drm2_output_user_data_set(Ecore_Drm2_Output *o, void *data);
/**
- * Register a callback for the buffer release handler
- *
- * When a flip completes ecore_drm2 may release a buffer. Use this callback
- * if you need to do bookkeeping or locking on buffer release.
- *
- * @param output The output to register the callback on
- * @param handler The function to handle the callback
- * @param data The user data to pass to the callback
- * @ingroup Ecore_Drm2_Output_Group
- * @since 1.19
- */
-EAPI void ecore_drm2_output_release_handler_set(Ecore_Drm2_Output *output, Ecore_Drm2_Release_Handler handler, void *data);
-
-/**
* Get the subpixel state of the output
* @param output the output
* @return The state value
}
EAPI void
-ecore_drm2_output_release_handler_set(Ecore_Drm2_Output *o, Ecore_Drm2_Release_Handler cb, void *data)
-{
- EINA_SAFETY_ON_NULL_RETURN(o);
-
- o->release_data = data;
- o->release_cb = cb;
-}
-
-EAPI void
ecore_drm2_output_gamma_set(Ecore_Drm2_Output *output, uint16_t size, uint16_t *red, uint16_t *green, uint16_t *blue)
{
EINA_SAFETY_ON_NULL_RETURN(output);