summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2/ecore_drm2.c
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-03-21 15:44:46 -0500
committerChris Michael <cp.michael@samsung.com>2017-04-18 07:55:10 -0400
commit61f40d58f7e87b2c937884cae4e2fd59f9a60882 (patch)
tree21bc3643a29b41c240ea0d127ba2efca45d6e3d8 /src/lib/ecore_drm2/ecore_drm2.c
parentf0fc86516dc571f5ddcf6727e879326a45324fd8 (diff)
ecore_drm2: Add ecore_drm2_fb_dmabuf_import
Imports a set of dmabuf buffers as a single Ecore_Drm2_Fb
Diffstat (limited to 'src/lib/ecore_drm2/ecore_drm2.c')
-rw-r--r--src/lib/ecore_drm2/ecore_drm2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2.c b/src/lib/ecore_drm2/ecore_drm2.c
index d3de6f3..7eec270 100644
--- a/src/lib/ecore_drm2/ecore_drm2.c
+++ b/src/lib/ecore_drm2/ecore_drm2.c
@@ -46,6 +46,7 @@ int (*sym_drmModeRmFB)(int fd, uint32_t bufferId) = NULL;
46int (*sym_drmModePageFlip)(int fd, uint32_t crtc_id, uint32_t fb_id, uint32_t flags, void *user_data) = NULL; 46int (*sym_drmModePageFlip)(int fd, uint32_t crtc_id, uint32_t fb_id, uint32_t flags, void *user_data) = NULL;
47int (*sym_drmModeDirtyFB)(int fd, uint32_t bufferId, drmModeClipPtr clips, uint32_t num_clips) = NULL; 47int (*sym_drmModeDirtyFB)(int fd, uint32_t bufferId, drmModeClipPtr clips, uint32_t num_clips) = NULL;
48int (*sym_drmModeCrtcSetGamma)(int fd, uint32_t crtc_id, uint32_t size, uint16_t *red, uint16_t *green, uint16_t *blue) = NULL; 48int (*sym_drmModeCrtcSetGamma)(int fd, uint32_t crtc_id, uint32_t size, uint16_t *red, uint16_t *green, uint16_t *blue) = NULL;
49int (*sym_drmPrimeFDToHandle)(int fd, int prime_fd, uint32_t *handle) = NULL;
49 50
50EAPI int ECORE_DRM2_EVENT_OUTPUT_CHANGED = -1; 51EAPI int ECORE_DRM2_EVENT_OUTPUT_CHANGED = -1;
51EAPI int ECORE_DRM2_EVENT_ACTIVATE = -1; 52EAPI int ECORE_DRM2_EVENT_ACTIVATE = -1;
@@ -123,6 +124,7 @@ _ecore_drm2_link(void)
123 SYM(drm_lib, drmModePageFlip); 124 SYM(drm_lib, drmModePageFlip);
124 SYM(drm_lib, drmModeDirtyFB); 125 SYM(drm_lib, drmModeDirtyFB);
125 SYM(drm_lib, drmModeCrtcSetGamma); 126 SYM(drm_lib, drmModeCrtcSetGamma);
127 SYM(drm_lib, drmPrimeFDToHandle);
126 128
127 if (fail) 129 if (fail)
128 { 130 {