summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm/Ecore_Drm.h
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-04-07 12:41:07 -0400
committerStefan Schmidt <s.schmidt@samsung.com>2015-04-10 11:09:49 +0200
commita3a6399c3a89e8b2ccbfd8640972290787c4d50c (patch)
treefa2ac12d8a21d7b5ae536c10ea8d2c3a1b41b935 /src/lib/ecore_drm/Ecore_Drm.h
parent0885834b68f96a3e60decf9d3de7157c28e36ecc (diff)
ecore-drm: Add API function to mark a Framebuffer as dirty
Summary: This adds an API function used to mark a framebuffer as dirty @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_drm/Ecore_Drm.h')
-rw-r--r--src/lib/ecore_drm/Ecore_Drm.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/lib/ecore_drm/Ecore_Drm.h b/src/lib/ecore_drm/Ecore_Drm.h
index 47f5221d9d..ff3dbfb276 100644
--- a/src/lib/ecore_drm/Ecore_Drm.h
+++ b/src/lib/ecore_drm/Ecore_Drm.h
@@ -183,6 +183,7 @@ EAPI extern int ECORE_DRM_EVENT_SEAT_ADD; /**< @since 1.14 */
183 * @li @ref Ecore_Drm_Output_Group 183 * @li @ref Ecore_Drm_Output_Group
184 * @li @ref Ecore_Drm_Input_Group 184 * @li @ref Ecore_Drm_Input_Group
185 * @li @ref Ecore_Drm_Sprite_Group 185 * @li @ref Ecore_Drm_Sprite_Group
186 * @li @ref Ecore_Drm_Fb_Group
186 * 187 *
187 */ 188 */
188 189
@@ -233,6 +234,20 @@ EAPI Eina_Bool ecore_drm_sprites_crtc_supported(Ecore_Drm_Output *output, unsign
233EAPI Ecore_Drm_Fb *ecore_drm_fb_create(Ecore_Drm_Device *dev, int width, int height); 234EAPI Ecore_Drm_Fb *ecore_drm_fb_create(Ecore_Drm_Device *dev, int width, int height);
234EAPI void ecore_drm_fb_destroy(Ecore_Drm_Fb *fb); 235EAPI void ecore_drm_fb_destroy(Ecore_Drm_Fb *fb);
235 236
237/**
238 * Mark an Ecore_Drm_Fb as dirty
239 *
240 * This function mark an Ecore_Drm_Fb as being dirty
241 *
242 * @param fb The Ecore_Drm_Fb to mark as dirty
243 * @param rects The regions of the Ecore_Drm_Fb which are dirty
244 * @param count The number of regions
245 *
246 * @ingroup Ecore_Drm_Fb_Group
247 * @since 1.15
248 */
249EAPI void ecore_drm_fb_dirty(Ecore_Drm_Fb *fb, Eina_Rectangle *rects, unsigned int count);
250
236EAPI Eina_Bool ecore_drm_launcher_connect(Ecore_Drm_Device *dev); 251EAPI Eina_Bool ecore_drm_launcher_connect(Ecore_Drm_Device *dev);
237EAPI void ecore_drm_launcher_disconnect(Ecore_Drm_Device *dev); 252EAPI void ecore_drm_launcher_disconnect(Ecore_Drm_Device *dev);
238 253