summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2/ecore_drm2_private.h
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2017-05-09 11:29:35 -0400
committerChris Michael <cp.michael@samsung.com>2017-05-09 11:47:04 -0400
commitaf587c01cb75e10f766316c66a02c8d258259a94 (patch)
treeedc6de759e5817bf54cca3c37fb94274a8d34747 /src/lib/ecore_drm2/ecore_drm2_private.h
parent544cffaa19fca975970e773b209c40c40d1208d6 (diff)
ecore-drm2: Add start of refcounting for FB objects
Small patch which starts to implement refcounting on framebuffer objects. This will be needed so that we do not free FB objects while they are on the screen. 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_private.h b/src/lib/ecore_drm2/ecore_drm2_private.h
index 1b82ad5d42..b73add3667 100644
--- a/src/lib/ecore_drm2/ecore_drm2_private.h
+++ b/src/lib/ecore_drm2/ecore_drm2_private.h
@@ -695,6 +695,7 @@ struct _Ecore_Drm2_Fb
695 int fd; 695 int fd;
696 int w, h; 696 int w, h;
697 int depth, bpp; 697 int depth, bpp;
698 short ref;
698 uint32_t id, handles[4]; 699 uint32_t id, handles[4];
699 uint32_t strides[4], sizes[4]; 700 uint32_t strides[4], sizes[4];
700 uint32_t format; 701 uint32_t format;
@@ -795,7 +796,6 @@ struct _Ecore_Drm2_Output
795 Eina_List *plane_states; 796 Eina_List *plane_states;
796 Eina_List *planes; 797 Eina_List *planes;
797 798
798
799 Eina_Bool connected : 1; 799 Eina_Bool connected : 1;
800 Eina_Bool primary : 1; 800 Eina_Bool primary : 1;
801 Eina_Bool cloned : 1; 801 Eina_Bool cloned : 1;