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 9fe83cbdd83e1a6781c29b7fcb1fd7d37c4158eb
Author: Christopher Michael <devilho...@comcast.net>
AuthorDate: Thu Jan 18 07:14:35 2024 -0500
ecore_drm2: Add symlink for drmWaitVBlank function
---
src/lib/ecore_drm2/ecore_drm2.c | 2 ++
src/lib/ecore_drm2/ecore_drm2_private.h | 3 +++
2 files changed, 5 insertions(+)
diff --git a/src/lib/ecore_drm2/ecore_drm2.c b/src/lib/ecore_drm2/ecore_drm2.c
index b85521c26b..f8f81bd31c 100644
--- a/src/lib/ecore_drm2/ecore_drm2.c
+++ b/src/lib/ecore_drm2/ecore_drm2.c
@@ -35,6 +35,7 @@ void (*sym_drmModeAtomicFree)(drmModeAtomicReqPtr req) = NULL;
int (*sym_drmModeAtomicAddProperty)(drmModeAtomicReqPtr req, uint32_t object_id, uint32_t property_id, uint64_t value) = NULL;
int (*sym_drmModeAtomicCommit)(int fd, drmModeAtomicReqPtr req, uint32_t flags, void *user_data) = NULL;
void (*sym_drmModeAtomicSetCursor)(drmModeAtomicReqPtr req, int cursor) = NULL;
+int (*sym_drmWaitVBlank)(int fd, drmVBlank *vbl) = NULL;
EAPI int ECORE_DRM2_EVENT_ACTIVATE = -1;
@@ -98,6 +99,7 @@ _ecore_drm2_link(void)
SYM(_drm_lib, drmModeAtomicAddProperty);
SYM(_drm_lib, drmModeAtomicCommit);
SYM(_drm_lib, drmModeAtomicSetCursor);
+ SYM(_drm_lib, drmWaitVBlank);
if (fail)
{
diff --git a/src/lib/ecore_drm2/ecore_drm2_private.h b/src/lib/ecore_drm2/ecore_drm2_private.h
index 3befc095ea..7b55dea3e1 100644
--- a/src/lib/ecore_drm2/ecore_drm2_private.h
+++ b/src/lib/ecore_drm2/ecore_drm2_private.h
@@ -13,6 +13,7 @@
# include <ctype.h>
# include <sys/ioctl.h>
# include <dlfcn.h>
+# include <time.h>
/* include drm headers */
# include <drm.h>
@@ -245,6 +246,7 @@ struct _Ecore_Drm2_Display
Eina_Stringshare *name, *make, *model, *serial;
uint32_t subpixel;
+ uint64_t msc;
/* uint32_t supported_rotations; */
@@ -393,5 +395,6 @@ extern void (*sym_drmModeAtomicFree)(drmModeAtomicReqPtr req);
extern int (*sym_drmModeAtomicAddProperty)(drmModeAtomicReqPtr req, uint32_t object_id, uint32_t property_id, uint64_t value);
extern int (*sym_drmModeAtomicCommit)(int fd, drmModeAtomicReqPtr req, uint32_t flags, void *user_data);
extern void (*sym_drmModeAtomicSetCursor)(drmModeAtomicReqPtr req, int cursor);
+extern int (*sym_drmWaitVBlank)(int fd, drmVBlank *vbl);
#endif
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.