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 749f24fbbce33eee12f0bb45dfd2f86b4eff4b75
Author: Christopher Michael <devilho...@comcast.net>
AuthorDate: Mon Aug 18 12:05:54 2025 -0500

    ecore_drm2: Add private opaque structure to represent drm formats
---
 src/lib/ecore_drm2/ecore_drm2_private.h | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/src/lib/ecore_drm2/ecore_drm2_private.h b/src/lib/ecore_drm2/ecore_drm2_private.h
index 0d7c1dd286..c7333c2cc0 100644
--- a/src/lib/ecore_drm2/ecore_drm2_private.h
+++ b/src/lib/ecore_drm2/ecore_drm2_private.h
@@ -125,6 +125,13 @@ typedef struct _Ecore_Drm2_Atomic_Range
    uint64_t min, max, value;
 } Ecore_Drm2_Atomic_Range;
 
+/* NB: May need to expose this structure via API */
+typedef struct _Ecore_Drm2_Format
+{
+   uint32_t format;
+   uint64_t modifier;
+} Ecore_Drm2_Format;
+
 typedef struct _Ecore_Drm2_Connector_State
 {
    uint32_t obj_id, changes;
@@ -174,7 +181,7 @@ typedef struct _Ecore_Drm2_Crtc_State
 typedef struct _Ecore_Drm2_Plane_State
 {
    uint32_t obj_id, mask, changes;
-   uint32_t num_formats, *formats;
+   /* uint32_t num_formats, *formats; */
 
    Ecore_Drm2_Atomic_Property type;
    Ecore_Drm2_Atomic_Property cid, fid;
@@ -195,6 +202,8 @@ typedef struct _Ecore_Drm2_Plane_State
    uint32_t rotation_map[6];
    uint32_t supported_rotations;
 
+   Eina_List *formats;
+
    Eina_Bool complete : 1;
    Eina_Bool in_use : 1;
 } Ecore_Drm2_Plane_State;

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

Reply via email to