projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
769271a
)
ecore_drm2: Use stricter cursor plane size check
author
Derek Foreman
<derekf@osg.samsung.com>
Wed, 3 May 2017 13:01:35 +0000
(08:01 -0500)
committer
Derek Foreman
<derekf@osg.samsung.com>
Fri, 5 May 2017 17:53:24 +0000
(12:53 -0500)
Unfortunately the plane sized returned from the cursor plane query isn't
a limit, it's an exact size. Sometimes you can use a different size,
but that's completely hardware dependent - so stick to the advertised
size.
src/lib/ecore_drm2/ecore_drm2_plane.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore_drm2/ecore_drm2_plane.c
b/src/lib/ecore_drm2/ecore_drm2_plane.c
index
a1f0444
..
6f2666d
100644
(file)
--- a/
src/lib/ecore_drm2/ecore_drm2_plane.c
+++ b/
src/lib/ecore_drm2/ecore_drm2_plane.c
@@
-64,7
+64,7
@@
ecore_drm2_plane_assign(Ecore_Drm2_Output *output, Ecore_Drm2_Fb *fb)
_plane_cursor_size_get(output->fd, &cw, &ch);
/* check that this fb can fit in cursor plane */
- if ((fb->w
> cw) || (fb->h >
ch))
+ if ((fb->w
!= cw) || (fb->h !=
ch))
continue;
/* if we reach here, this FB can go on the cursor plane */