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 47da9c29f5f76df8c372d5153ea01dcc95cd8b93
Author: Christopher Michael <devilho...@comcast.net>
AuthorDate: Thu Jan 18 07:30:37 2024 -0500

    ecore_drm2: Add start of work on Ecore_Drm2_Fb support
    
    NB: Nothing functional here, just adding the structure and file to
    build order
---
 src/lib/ecore_drm2/Ecore_Drm2.h         | 3 +++
 src/lib/ecore_drm2/ecore_drm2_fb.c      | 1 +
 src/lib/ecore_drm2/ecore_drm2_private.h | 7 +++++++
 src/lib/ecore_drm2/meson.build          | 1 +
 4 files changed, 12 insertions(+)

diff --git a/src/lib/ecore_drm2/Ecore_Drm2.h b/src/lib/ecore_drm2/Ecore_Drm2.h
index b2e2c3a137..c77b9716d6 100644
--- a/src/lib/ecore_drm2/Ecore_Drm2.h
+++ b/src/lib/ecore_drm2/Ecore_Drm2.h
@@ -40,6 +40,9 @@ typedef enum _Ecore_Drm2_Relative_Mode
    ECORE_DRM2_RELATIVE_MODE_TO_BELOW
 } Ecore_Drm2_Relative_Mode;
 
+/* opaque structure to represent a drm framebuffer */
+typedef struct _Ecore_Drm2_Fb Ecore_Drm2_Fb;
+
 /* opaque structure to represent a drm crtc */
 typedef struct _Ecore_Drm2_Crtc Ecore_Drm2_Crtc;
 
diff --git a/src/lib/ecore_drm2/ecore_drm2_fb.c b/src/lib/ecore_drm2/ecore_drm2_fb.c
new file mode 100644
index 0000000000..b875d99ba3
--- /dev/null
+++ b/src/lib/ecore_drm2/ecore_drm2_fb.c
@@ -0,0 +1 @@
+#include "ecore_drm2_private.h"
diff --git a/src/lib/ecore_drm2/ecore_drm2_private.h b/src/lib/ecore_drm2/ecore_drm2_private.h
index 7b55dea3e1..df644a8c63 100644
--- a/src/lib/ecore_drm2/ecore_drm2_private.h
+++ b/src/lib/ecore_drm2/ecore_drm2_private.h
@@ -214,6 +214,13 @@ typedef struct _Ecore_Drm2_Display_State
 } Ecore_Drm2_Display_State;
 
 /* opaque API structures */
+struct _Ecore_Drm2_Fb
+{
+   int w, h;
+   int depth, bpp;
+   uint32_t format;
+};
+
 struct _Ecore_Drm2_Plane
 {
    int fd;
diff --git a/src/lib/ecore_drm2/meson.build b/src/lib/ecore_drm2/meson.build
index 71b0bce3c9..eecd058d08 100644
--- a/src/lib/ecore_drm2/meson.build
+++ b/src/lib/ecore_drm2/meson.build
@@ -7,6 +7,7 @@ ecore_drm2_header_src = [
 ]
 
 ecore_drm2_src = files([
+  'ecore_drm2_fb.c',
   'ecore_drm2_displays.c',
   'ecore_drm2_connectors.c',
   'ecore_drm2_planes.c',

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

Reply via email to