summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2/ecore_drm2_private.h
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2017-03-27 10:50:52 -0400
committerChris Michael <cp.michael@samsung.com>2017-04-18 07:55:10 -0400
commit4f8f41299fae4fdefb14b64ecbb02e371aa7c513 (patch)
treeb84bf50a27588ff1ab2f3b7282e88ca73ace5b74 /src/lib/ecore_drm2/ecore_drm2_private.h
parent0a647f9fce59eba7d867cfbfab10f232961977fb (diff)
ecore-drm2: Add support for plane formats
Small patch to store supported formats on a given plane state. This will be used for assigning dmabuf clients to a hardware plane based on size and supported format. @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_drm2/ecore_drm2_private.h')
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_private.h b/src/lib/ecore_drm2/ecore_drm2_private.h
index 5e806f17f0..19c8df295d 100644
--- a/src/lib/ecore_drm2/ecore_drm2_private.h
+++ b/src/lib/ecore_drm2/ecore_drm2_private.h
@@ -647,6 +647,9 @@ typedef struct _Ecore_Drm2_Plane_State
647 * so that we do not have to refetch properties when iterating planes */ 647 * so that we do not have to refetch properties when iterating planes */
648 uint32_t rotation_map[6]; 648 uint32_t rotation_map[6];
649 uint32_t supported_rotations; 649 uint32_t supported_rotations;
650
651 uint32_t num_formats;
652 uint32_t formats[];
650} Ecore_Drm2_Plane_State; 653} Ecore_Drm2_Plane_State;
651 654
652struct _Ecore_Drm2_Atomic_State 655struct _Ecore_Drm2_Atomic_State