This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch devs/devilhorns/apos
in repository efl.
View the commit online.
commit e951e50765a495a12d6d360c25609fed433d6fed
Author: Christopher Michael <devilho...@comcast.net>
AuthorDate: Thu Oct 10 09:04:42 2024 -0400
ecore_drm2: Restructure the Display_State to record gamma values and
add missing drm sym prototype for setting gamma
---
src/lib/ecore_drm2/ecore_drm2_private.h | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/lib/ecore_drm2/ecore_drm2_private.h b/src/lib/ecore_drm2/ecore_drm2_private.h
index daa9fcc52a..6e1e06a45d 100644
--- a/src/lib/ecore_drm2/ecore_drm2_private.h
+++ b/src/lib/ecore_drm2/ecore_drm2_private.h
@@ -203,7 +203,12 @@ typedef struct _Ecore_Drm2_Display_State
int x, y;
- uint16_t gamma;
+ struct
+ {
+ uint16_t *r, *g, *b;
+ uint16_t size;
+ } gamma;
+
uint64_t rotation;
double backlight;
@@ -415,5 +420,6 @@ extern int (*sym_drmModeAddFB2)(int fd, uint32_t width, uint32_t height, uint32_
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_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
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.