summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2/Ecore_Drm2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_drm2/Ecore_Drm2.h')
-rw-r--r--src/lib/ecore_drm2/Ecore_Drm2.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/lib/ecore_drm2/Ecore_Drm2.h b/src/lib/ecore_drm2/Ecore_Drm2.h
index 87d7b404b1..8a10104fea 100644
--- a/src/lib/ecore_drm2/Ecore_Drm2.h
+++ b/src/lib/ecore_drm2/Ecore_Drm2.h
@@ -964,6 +964,27 @@ EAPI void ecore_drm2_output_release_handler_set(Ecore_Drm2_Output *output, Ecore
964 */ 964 */
965EAPI void *ecore_drm2_fb_bo_get(Ecore_Drm2_Fb *fb); 965EAPI void *ecore_drm2_fb_bo_get(Ecore_Drm2_Fb *fb);
966 966
967/**
968 * Import a dmabuf object as a Framebuffer
969 *
970 * @param fd
971 * @param width
972 * @param height
973 * @param depth
974 * @param bpp
975 * @param format
976 * @param stride
977 * @param dmabuf_fd
978 * @param dmabuf_fd_count
979 *
980 * @return A newly created framebuffer object, or NULL on failure
981 *
982 * @ingroup Ecore_Drm2_Fb_Group
983 * @since 1.20
984 *
985 */
986EAPI Ecore_Drm2_Fb *ecore_drm2_fb_dmabuf_import(int fd, int width, int height, int depth, int bpp, unsigned int format, unsigned int strides[4], int dmabuf_fd[4], int dmabuf_fd_count);
987
967# endif 988# endif
968 989
969#endif 990#endif