summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2
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 /src/lib/ecore_drm2
parent0d1082f947cbed5d29edb8ff653cdf0789a1d7c8 (diff)
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.
Diffstat (limited to 'src/lib/ecore_drm2')
-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
812EAPI void ecore_drm2_output_user_data_set(Ecore_Drm2_Output *o, void *data); 812EAPI void ecore_drm2_output_user_data_set(Ecore_Drm2_Output *o, void *data);
813 813
814/** 814/**
815 * Register a callback for the buffer release handler
816 *
817 * When a flip completes ecore_drm2 may release a buffer. Use this callback
818 * if you need to do bookkeeping or locking on buffer release.
819 *
820 * @param output The output to register the callback on
821 * @param handler The function to handle the callback
822 * @param data The user data to pass to the callback
823 * @ingroup Ecore_Drm2_Output_Group
824 * @since 1.19
825 */
826EAPI void ecore_drm2_output_release_handler_set(Ecore_Drm2_Output *output, Ecore_Drm2_Release_Handler handler, void *data);
827
828/**
829 * Get the subpixel state of the output 815 * Get the subpixel state of the output
830 * @param output the output 816 * @param output the output
831 * @return The state value 817 * @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)
1492} 1492}
1493 1493
1494EAPI void 1494EAPI void
1495ecore_drm2_output_release_handler_set(Ecore_Drm2_Output *o, Ecore_Drm2_Release_Handler cb, void *data)
1496{
1497 EINA_SAFETY_ON_NULL_RETURN(o);
1498
1499 o->release_data = data;
1500 o->release_cb = cb;
1501}
1502
1503EAPI void
1504ecore_drm2_output_gamma_set(Ecore_Drm2_Output *output, uint16_t size, uint16_t *red, uint16_t *green, uint16_t *blue) 1495ecore_drm2_output_gamma_set(Ecore_Drm2_Output *output, uint16_t size, uint16_t *red, uint16_t *green, uint16_t *blue)
1505{ 1496{
1506 EINA_SAFETY_ON_NULL_RETURN(output); 1497 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
246 Eina_List *modes; 246 Eina_List *modes;
247 247
248 void *user_data; 248 void *user_data;
249 Ecore_Drm2_Release_Handler release_cb;
250 void *release_data;
251 249
252 Ecore_Drm2_Crtc_State *crtc_state; 250 Ecore_Drm2_Crtc_State *crtc_state;
253 Ecore_Drm2_Connector_State *conn_state; 251 Ecore_Drm2_Connector_State *conn_state;