ecore_drm2: Remove obsolete per output fb callback api
authorDerek Foreman <derekf@osg.samsung.com>
Thu, 15 Jun 2017 18:04:31 +0000 (13:04 -0500)
committerDerek Foreman <derekf@osg.samsung.com>
Fri, 23 Jun 2017 13:15:40 +0000 (08:15 -0500)
It's all beta API so I can throw this away now that there are no in-tree
users anymore.

src/lib/ecore_drm2/Ecore_Drm2.h
src/lib/ecore_drm2/ecore_drm2_outputs.c
src/lib/ecore_drm2/ecore_drm2_private.h

index cae2c4a..7fc6a8f 100644 (file)
@@ -812,20 +812,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
  * @return The state value
index afddc1f..11b3c22 100644 (file)
@@ -1492,15 +1492,6 @@ ecore_drm2_output_user_data_set(Ecore_Drm2_Output *o, void *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)
 {
    EINA_SAFETY_ON_NULL_RETURN(output);
index c335095..4837871 100644 (file)
@@ -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;