diff options
author | Chris Michael <cp.michael@samsung.com> | 2017-05-03 10:56:07 -0400 |
---|---|---|
committer | Derek Foreman <derekf@osg.samsung.com> | 2017-05-05 12:53:24 -0500 |
commit | 0c0f525d9aa5dc09bd0c9a78526f7149b0ceff79 (patch) | |
tree | 77573865186b12f0472b6c540c04e321f1d54c4b /src/lib/ecore_drm2/ecore_drm2_plane.c | |
parent | bd4ccfa0f56b8ccd392e585b1744267d62a0a048 (diff) |
ecore-drm2: Add 'release' flag for planes
As we cannot immediately remove a plane from an output, due to needing
an atomic commit to actually remove the plane from screen, we can use
a 'release' flag to indicate that a given plane needs removal from the
screen during our next atomic commit.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_drm2/ecore_drm2_plane.c')
-rw-r--r-- | src/lib/ecore_drm2/ecore_drm2_plane.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_plane.c b/src/lib/ecore_drm2/ecore_drm2_plane.c index 100b8b959d..2ecf96b19f 100644 --- a/src/lib/ecore_drm2/ecore_drm2_plane.c +++ b/src/lib/ecore_drm2/ecore_drm2_plane.c | |||
@@ -126,6 +126,7 @@ ecore_drm2_plane_release(Ecore_Drm2_Plane *plane) | |||
126 | EINA_SAFETY_ON_NULL_RETURN(plane); | 126 | EINA_SAFETY_ON_NULL_RETURN(plane); |
127 | 127 | ||
128 | plane->state->in_use = EINA_FALSE; | 128 | plane->state->in_use = EINA_FALSE; |
129 | plane->state->release = EINA_TRUE; | ||
129 | } | 130 | } |
130 | 131 | ||
131 | EAPI void | 132 | EAPI void |