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 2138ee422e09616cb730eebaaf88e62fafa504be
Author: Christopher Michael <[email protected]>
AuthorDate: Fri Jan 23 12:13:01 2026 -0600

    ecore_drm2: Add API function to return a framebuffer id
---
 src/lib/ecore_drm2/Ecore_Drm2.h    | 1 +
 src/lib/ecore_drm2/ecore_drm2_fb.c | 7 +++++++
 2 files changed, 8 insertions(+)

diff --git a/src/lib/ecore_drm2/Ecore_Drm2.h b/src/lib/ecore_drm2/Ecore_Drm2.h
index 2d64f53a1a..7448f06f2e 100644
--- a/src/lib/ecore_drm2/Ecore_Drm2.h
+++ b/src/lib/ecore_drm2/Ecore_Drm2.h
@@ -189,6 +189,7 @@ EAPI Eina_Bool ecore_drm2_fb_map(Ecore_Drm2_Fb *fb);
 EAPI void ecore_drm2_fb_destroy(Ecore_Drm2_Fb *fb);
 EAPI void *ecore_drm2_fb_map_get(Ecore_Drm2_Fb *fb);
 EAPI void ecore_drm2_fb_unmap(Ecore_Drm2_Fb *fb);
+EAPI uint32_t ecore_drm2_fb_id_get(Ecore_Drm2_Fb *fb);
 
 # endif
 
diff --git a/src/lib/ecore_drm2/ecore_drm2_fb.c b/src/lib/ecore_drm2/ecore_drm2_fb.c
index 9a2053884a..c076fda060 100644
--- a/src/lib/ecore_drm2/ecore_drm2_fb.c
+++ b/src/lib/ecore_drm2/ecore_drm2_fb.c
@@ -248,3 +248,10 @@ ecore_drm2_fb_unmap(Ecore_Drm2_Fb *fb)
    EINA_SAFETY_ON_NULL_RETURN(fb);
    _ecore_drm2_fb_unmap(fb);
 }
+
+EAPI uint32_t
+ecore_drm2_fb_id_get(Ecore_Drm2_Fb *fb)
+{
+   EINA_SAFETY_ON_NULL_RETURN_VAL(fb, 0);
+   return fb->id;
+}

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to