Functions that deal with setup of framebuffers.
More...
Functions that deal with setup of framebuffers.
§ ecore_drm2_fb_create()
EAPI Ecore_Drm2_Fb* ecore_drm2_fb_create |
( |
int |
fd, |
|
|
int |
width, |
|
|
int |
height, |
|
|
int |
depth, |
|
|
int |
bpp, |
|
|
unsigned int |
format |
|
) |
| |
Create a new framebuffer object.
- Parameters
-
fd | |
width | |
height | |
depth | |
bpp | |
format | |
- Returns
- A newly create framebuffer object, or NULL on failure
- Since
- 1.18
§ ecore_drm2_fb_destroy()
EAPI void ecore_drm2_fb_destroy |
( |
Ecore_Drm2_Fb * |
fb | ) |
|
Destroy a framebuffer object.
- Parameters
-
- Since
- 1.18
§ ecore_drm2_fb_data_get()
EAPI void* ecore_drm2_fb_data_get |
( |
Ecore_Drm2_Fb * |
fb | ) |
|
Get a framebuffer's mmap'd data.
- Parameters
-
- Returns
- The mmap'd area of the framebuffer or NULL on failure
- Since
- 1.18
§ ecore_drm2_fb_size_get()
EAPI unsigned int ecore_drm2_fb_size_get |
( |
Ecore_Drm2_Fb * |
fb | ) |
|
Get a framebuffer's size.
- Parameters
-
- Returns
- size of the framebuffers' mmap'd data or 0 on failure
- Since
- 1.18
§ ecore_drm2_fb_stride_get()
EAPI unsigned int ecore_drm2_fb_stride_get |
( |
Ecore_Drm2_Fb * |
fb | ) |
|
Get a framebuffer's stride.
- Parameters
-
- Returns
- stride of the framebuffer or 0 on failure
- Since
- 1.18
§ ecore_drm2_fb_dirty()
EAPI void ecore_drm2_fb_dirty |
( |
Ecore_Drm2_Fb * |
fb, |
|
|
Eina_Rectangle * |
rects, |
|
|
unsigned int |
count |
|
) |
| |
Mark regions of a framebuffer as dirty.
- Parameters
-
- Since
- 1.18
§ ecore_drm2_fb_flip()
EAPI int ecore_drm2_fb_flip |
( |
Ecore_Drm2_Fb * |
fb, |
|
|
Ecore_Drm2_Output * |
output, |
|
|
void * |
data |
|
) |
| |
Schedule a pageflip to the given Ecore_Drm2_Fb.
- Parameters
-
- Returns
- The result of drmModePageFlip function call
- Since
- 1.18