ecore-drm2: Add symlink to gamma setting function
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
2c7bedc622
commit
4b4201584f
|
@ -44,6 +44,7 @@ int (*sym_drmModeAddFB)(int fd, uint32_t width, uint32_t height, uint8_t depth,
|
||||||
int (*sym_drmModeRmFB)(int fd, uint32_t bufferId) = NULL;
|
int (*sym_drmModeRmFB)(int fd, uint32_t bufferId) = NULL;
|
||||||
int (*sym_drmModePageFlip)(int fd, uint32_t crtc_id, uint32_t fb_id, uint32_t flags, void *user_data) = NULL;
|
int (*sym_drmModePageFlip)(int fd, uint32_t crtc_id, uint32_t fb_id, uint32_t flags, void *user_data) = NULL;
|
||||||
int (*sym_drmModeDirtyFB)(int fd, uint32_t bufferId, drmModeClipPtr clips, uint32_t num_clips) = NULL;
|
int (*sym_drmModeDirtyFB)(int fd, uint32_t bufferId, drmModeClipPtr clips, uint32_t num_clips) = NULL;
|
||||||
|
int (*sym_drmModeCrtcSetGamma)(int fd, uint32_t crtc_id, uint32_t size, uint16_t *red, uint16_t *green, uint16_t *blue) = NULL;
|
||||||
|
|
||||||
EAPI int ECORE_DRM2_EVENT_OUTPUT_CHANGED = -1;
|
EAPI int ECORE_DRM2_EVENT_OUTPUT_CHANGED = -1;
|
||||||
EAPI int ECORE_DRM2_EVENT_ACTIVATE = -1;
|
EAPI int ECORE_DRM2_EVENT_ACTIVATE = -1;
|
||||||
|
@ -119,6 +120,7 @@ _ecore_drm2_link(void)
|
||||||
SYM(drm_lib, drmModeRmFB);
|
SYM(drm_lib, drmModeRmFB);
|
||||||
SYM(drm_lib, drmModePageFlip);
|
SYM(drm_lib, drmModePageFlip);
|
||||||
SYM(drm_lib, drmModeDirtyFB);
|
SYM(drm_lib, drmModeDirtyFB);
|
||||||
|
SYM(drm_lib, drmModeCrtcSetGamma);
|
||||||
|
|
||||||
if (fail)
|
if (fail)
|
||||||
{
|
{
|
||||||
|
|
|
@ -725,6 +725,7 @@ struct _Ecore_Drm2_Output
|
||||||
uint32_t subpixel;
|
uint32_t subpixel;
|
||||||
uint32_t crtc_id, conn_id, conn_type;
|
uint32_t crtc_id, conn_id, conn_type;
|
||||||
uint32_t scale;
|
uint32_t scale;
|
||||||
|
uint16_t gamma;
|
||||||
|
|
||||||
struct
|
struct
|
||||||
{
|
{
|
||||||
|
@ -845,5 +846,6 @@ extern int (*sym_drmModeAddFB)(int fd, uint32_t width, uint32_t height, uint8_t
|
||||||
extern int (*sym_drmModeRmFB)(int fd, uint32_t bufferId);
|
extern int (*sym_drmModeRmFB)(int fd, uint32_t bufferId);
|
||||||
extern int (*sym_drmModePageFlip)(int fd, uint32_t crtc_id, uint32_t fb_id, uint32_t flags, void *user_data);
|
extern int (*sym_drmModePageFlip)(int fd, uint32_t crtc_id, uint32_t fb_id, uint32_t flags, void *user_data);
|
||||||
extern int (*sym_drmModeDirtyFB)(int fd, uint32_t bufferId, drmModeClipPtr clips, uint32_t num_clips);
|
extern int (*sym_drmModeDirtyFB)(int fd, uint32_t bufferId, drmModeClipPtr clips, uint32_t num_clips);
|
||||||
|
extern int (*sym_drmModeCrtcSetGamma)(int fd, uint32_t crtc_id, uint32_t size, uint16_t *red, uint16_t *green, uint16_t *blue);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue