forked from enlightenment/efl
ecore_drm2: Remove obsolete per output fb callback api
It's all beta API so I can throw this away now that there are no in-tree users anymore.
This commit is contained in:
parent
0d1082f947
commit
74290490ad
|
@ -811,20 +811,6 @@ EAPI Eina_Bool ecore_drm2_output_rotation_set(Ecore_Drm2_Output *output, int rot
|
|||
*/
|
||||
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
|
||||
|
|
|
@ -1491,15 +1491,6 @@ ecore_drm2_output_user_data_set(Ecore_Drm2_Output *o, void *data)
|
|||
o->user_data = data;
|
||||
}
|
||||
|
||||
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)
|
||||
{
|
||||
|
|
|
@ -246,8 +246,6 @@ struct _Ecore_Drm2_Output
|
|||
Eina_List *modes;
|
||||
|
||||
void *user_data;
|
||||
Ecore_Drm2_Release_Handler release_cb;
|
||||
void *release_data;
|
||||
|
||||
Ecore_Drm2_Crtc_State *crtc_state;
|
||||
Ecore_Drm2_Connector_State *conn_state;
|
||||
|
|
Loading…
Reference in New Issue