Functions
Frame buffer manipulation

Functions that deal with frame buffers. More...

Functions

EAPI void ecore_drm_fb_dirty (Ecore_Drm_Fb *fb, Eina_Rectangle *rects, unsigned int count)
 Mark an Ecore_Drm_Fb as dirty. More...
 
EINA_DEPRECATED EAPI void ecore_drm_fb_set (Ecore_Drm_Device *dev, Ecore_Drm_Fb *fb)
 Set an Ecore_Drm_Fb as the current framebuffer. More...
 
EAPI void ecore_drm_fb_send (Ecore_Drm_Device *dev, Ecore_Drm_Fb *fb, Ecore_Drm_Pageflip_Cb func, void *data)
 Send an Ecore_Drm_Fb to the Ecore_Drm_Device. More...
 

Detailed Description

Functions that deal with frame buffers.

Function Documentation

◆ ecore_drm_fb_dirty()

EAPI void ecore_drm_fb_dirty ( Ecore_Drm_Fb fb,
Eina_Rectangle rects,
unsigned int  count 
)

Mark an Ecore_Drm_Fb as dirty.

This function mark an Ecore_Drm_Fb as being dirty

Parameters
fbThe Ecore_Drm_Fb to mark as dirty
rectsThe regions of the Ecore_Drm_Fb which are dirty
countThe number of regions
Since
1.14

◆ ecore_drm_fb_set()

EINA_DEPRECATED EAPI void ecore_drm_fb_set ( Ecore_Drm_Device dev,
Ecore_Drm_Fb fb 
)

Set an Ecore_Drm_Fb as the current framebuffer.

This function will set the given Ecore_Drm_Fb as the framebuffer used across all outputs

Parameters
devThe Ecore_Drm_Device to use
fbThe Ecore_Drm_Fb to make the current framebuffer
Deprecated:
just call ecore_drm_fb_send() instead.
Since
1.14

References DBG, ERR, and WRN.

◆ ecore_drm_fb_send()

EAPI void ecore_drm_fb_send ( Ecore_Drm_Device dev,
Ecore_Drm_Fb fb,
Ecore_Drm_Pageflip_Cb  func,
void *  data 
)

Send an Ecore_Drm_Fb to the Ecore_Drm_Device.

This function will call drmModePageFlip for the given device using the given Ecore_Drm_Fb as the framebuffer

Parameters
devThe Ecore_Drm_Device to use
fbThe Ecore_Drm_Fb to send
cbThe function to call when the page flip has completed
dataThe data to pass to the callback function
Since
1.14