ecore_drm2: Add start of work on Ecore_Drm2_Fb support

NB: Nothing functional here, just adding the structure and file to
build order
This commit is contained in:
Christopher Michael 2024-01-18 07:30:37 -05:00
parent 04e554ff3e
commit 47da9c29f5
4 changed files with 12 additions and 0 deletions

View File

@ -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;

View File

@ -0,0 +1 @@
#include "ecore_drm2_private.h"

View File

@ -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;

View File

@ -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',