diff options
authorChris Michael <cp.michael@samsung.com>2014-01-03 07:36:58 +0000
committerChris Michael <cp.michael@samsung.com>2014-01-29 15:27:22 +0000
commit8f40229dc24ec25253d5b21705c3446f3cf3e122 (patch)
parentAdd sprites file to build order (diff)
Add additional API functions:
- Add functions for enabling an output and setting cursor size - Add functions for disabling an input - Add functions for creating/destroying sprites Signed-off-by: Chris Michael <cp.michael@samsung.com>
1 files changed, 13 insertions, 1 deletions
diff --git a/src/lib/ecore_drm/Ecore_Drm.h b/src/lib/ecore_drm/Ecore_Drm.h
index 3413af6172..eb1c2b5da0 100644
--- a/src/lib/ecore_drm/Ecore_Drm.h
+++ b/src/lib/ecore_drm/Ecore_Drm.h
@@ -66,6 +66,9 @@ typedef struct _Ecore_Drm_Evdev Ecore_Drm_Evdev;
/* opaque structure to represent a drm seat */
typedef struct _Ecore_Drm_Seat Ecore_Drm_Seat;
+/* opaque structure to represent a drm sprite */
+typedef struct _Ecore_Drm_Sprite Ecore_Drm_Sprite;
* @file
* @brief Ecore functions for dealing with drm, virtual terminals
@@ -78,6 +81,9 @@ typedef struct _Ecore_Drm_Seat Ecore_Drm_Seat;
* @li @ref Ecore_Drm_Init_Group
* @li @ref Ecore_Drm_Device_Group
* @li @ref Ecore_Drm_Tty_Group
+ * @li @ref Ecore_Drm_Output_Group
+ * @li @ref Ecore_Drm_Input_Group
+ * @li @ref Ecore_Drm_Sprite_Group
@@ -99,10 +105,16 @@ EAPI Eina_Bool ecore_drm_tty_acquire(Ecore_Drm_Device *dev);
EAPI Eina_Bool ecore_drm_outputs_create(Ecore_Drm_Device *dev);
EAPI void ecore_drm_output_free(Ecore_Drm_Output *output);
+EAPI void ecore_drm_output_cursor_size_set(Ecore_Drm_Output *output, int handle, int w, int h);
+EAPI Eina_Bool ecore_drm_output_enable(Ecore_Drm_Output *output);
EAPI Eina_Bool ecore_drm_inputs_create(Ecore_Drm_Device *dev);
EAPI void ecore_drm_inputs_destroy(Ecore_Drm_Device *dev);
EAPI Eina_Bool ecore_drm_inputs_enable(Ecore_Drm_Input *input);
-//EAPI Eina_Bool ecore_drm_inputs_disable(Ecore_Drm_Input *input);
+EAPI void ecore_drm_inputs_disable(Ecore_Drm_Input *input);
+EAPI Eina_Bool ecore_drm_sprites_create(Ecore_Drm_Device *dev);
+EAPI void ecore_drm_sprites_destroy(Ecore_Drm_Device *dev);
+EAPI void ecore_drm_sprites_fb_set(Ecore_Drm_Sprite *sprite, int fb_id, int flags);