[PATCH weston] libweston: Fix clear timing of output repainted flag

2018-07-09 Thread Tomohito Esaki
Since the repaint status of the flushed output may be reset if a output repaint is failed, it is necessary to clear the repainted flag immediately after output repaint flush/cancel. Signed-off-by: Tomohito Esaki --- libweston/compositor.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions

[PATCH weston 1/2] libweston: fix indentation

2018-06-04 Thread Tomohito Esaki
Signed-off-by: Tomohito Esaki --- libweston/compositor.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libweston/compositor.c b/libweston/compositor.c index 101096c..d11a655 100644 --- a/libweston/compositor.c +++ b/libweston/compositor.c @@ -2546,13 +2546,13

[PATCH weston 2/2] libweston: Reset repaint schedule for all repainted outputs when repaint cancel

2018-06-04 Thread Tomohito Esaki
-by: Tomohito Esaki --- libweston/compositor.c | 8 libweston/compositor.h | 3 +++ 2 files changed, 11 insertions(+) diff --git a/libweston/compositor.c b/libweston/compositor.c index d11a655..91f311d 100644 --- a/libweston/compositor.c +++ b/libweston/compositor.c @@ -2450,6 +2450,8

[PATCH weston] desktop-shell: remove surface listener when surface is destroyed

2018-01-30 Thread Tomohito Esaki
initialization for panel surface listener. Signed-off-by: Tomohito Esaki <e...@igel.co.jp> --- desktop-shell/shell.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c index a2a93e2..de76ebe 100644 --- a/desktop-shell/s

[PATCH weston] compositor-drm: calculate source rect using viewport top-left for sprite plane

2016-09-30 Thread Tomohito Esaki
Add the viewport offset position into the sprite plane cropping calculation. Without this patch the sprite plane always outputs from the top left corner of the source buffer. Signed-off-by: Tomohito Esaki <e...@igel.co.jp> --- libweston/compositor-drm.c | 13 + 1 file chang

[PATCH weston v2 3/3] compositor-drm: Support linux_dmabuf output for sprite planes without gbm

2016-09-30 Thread Tomohito Esaki
Multiplanar formats are supported by using drmModeAddFB2 and bypassing gbm. If drmModeAddFB2 isn't available, the existing gbm bo import path is used and multiplanar formats are unsupported. Signed-off-by: Tomohito Esaki <e...@igel.co.jp> --- libweston/compositor-drm.

[PATCH weston v2 2/3] compositor-drm: Add scanout support for linux_dmabuf buffers

2016-09-30 Thread Tomohito Esaki
This implementations bypasses gbm and passes the dmabuf handles directly to libdrm for composition. Signed-off-by: Tomohito Esaki <e...@igel.co.jp> --- libweston/compositor-drm.c | 125 ++--- 1 file changed, 107 insertions(+), 18 deletions(-) diff

[PATCH weston v2 1/3] compositor-drm: refactor destroy drm_fb function

2016-09-30 Thread Tomohito Esaki
The drm_fb destroy callback to mostly the same thing regardless of whether the buffer is a dumb buffer or gbm buffer. This patch refactors the common parts into a new function that can be called for both cases. Signed-off-by: Tomohito Esaki <e...@igel.co.jp> --- libweston/compositor-drm.

[PATCH weston v2 0/3] compositor: Support linux_dmabuf multiplanar formats for scanout/sprite planes

2016-09-30 Thread Tomohito Esaki
ackend size. - fix leaking prime FD handle for dmabuf. - refactor destroy drm_fb - use boolean insted of linux_dmabuf pointer for checking if buffer is dmabuf - add comment into drm_output_check_scanout_format(). - separate some "if" statements for readability. Tomohito Esaki (3):

[PATCH weston 0/2] compositor: Support linux_dmabuf multiplanar formats for scanout/sprite planes

2016-05-27 Thread Tomohito Esaki
the functions that create and destroy the drm_fb struct to add support for linux_dmabuf. Tomohito Esaki (2): compositor-drm: Add scanout support for linux_dmabuf buffers compositor-drm: Support linux_dmabuf output for sprite planes without gbm src/compositor-drm.c | 175

[PATCH] Provide damage region for screen recording on Raspberry Pi

2015-10-21 Thread Tomohito Esaki
o <ssa...@igel.co.jp> Signed-off-by: Tomohito Esaki <e...@igel.co.jp> --- Tested on weston v1.8.0 Compile tested on v1.9.0. (I don't have access to a Raspberry Pi right now) src/rpi-renderer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rpi-renderer.c b/src/rpi-renderer.c inde

[PATCH] screenshooter: correct output ordering of screencast recording when Y-flip is off

2015-07-07 Thread Tomohito Esaki
setting. Signed-off-by: Tomohito Esaki e...@igel.co.jp --- src/screenshooter.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/screenshooter.c b/src/screenshooter.c index b7b8dce..6dae12f 100644 --- a/src/screenshooter.c +++ b/src/screenshooter.c @@ -417,14 +417,14