summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-06-15 13:04:31 -0500
committerDerek Foreman <derekf@osg.samsung.com>2017-06-23 08:15:40 -0500
commit74290490add42cd86effa92bc29ced34bc3ee5fb (patch)
tree8eecf67774b56ff43f48b0a2bec30ec7022a9bbd
parent0d1082f947cbed5d29edb8ff653cdf0789a1d7c8 (diff)
downloadefl-74290490add42cd86effa92bc29ced34bc3ee5fb.tar.gz
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.
-rw-r--r--src/lib/ecore_drm2/Ecore_Drm2.h14
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_outputs.c9
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_private.h2
3 files changed, 0 insertions, 25 deletions
diff --git a/src/lib/ecore_drm2/Ecore_Drm2.h b/src/lib/ecore_drm2/Ecore_Drm2.h
index cae2c4a263..7fc6a8f440 100644
--- a/src/lib/ecore_drm2/Ecore_Drm2.h
+++ b/src/lib/ecore_drm2/Ecore_Drm2.h
@@ -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
diff --git a/src/lib/ecore_drm2/ecore_drm2_outputs.c b/src/lib/ecore_drm2/ecore_drm2_outputs.c
index afddc1fb6c..11b3c22ae3 100644
--- a/src/lib/ecore_drm2/ecore_drm2_outputs.c
+++ b/src/lib/ecore_drm2/ecore_drm2_outputs.c
@@ -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);
diff --git a/src/lib/ecore_drm2/ecore_drm2_private.h b/src/lib/ecore_drm2/ecore_drm2_private.h
index c335095c77..4837871311 100644
--- a/src/lib/ecore_drm2/ecore_drm2_private.h
+++ b/src/lib/ecore_drm2/ecore_drm2_private.h
@@ -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;