On Fri, 14 Feb 2014 15:17:40 +0800
Xiong Zhang wrote:
> If unplugged output is a slave output, no need to restore views.
>
> If unplugged output is a master output which doesn't have slave
> output related it, views will be restored the same as extend mode.
>
> If unplugged output is a master o
On Fri, 14 Feb 2014 15:17:37 +0800
Xiong Zhang wrote:
> Because slave output doesn't in compositor->output_list,
> the output->repaint()is called from master output only.
> When master output repaint,all the slave output should
> repaint also.
>
> Slave output share fb with master output,when bo
On Thu, 13 Feb 2014 18:18:23 +
"Yeh, Sinclair" wrote:
> > The below seems fine, but I wonder if we could make this one cause an
> > error to be returned later where we can, rather than silently ignoring.
> > I'm not sure where or how, though.
>
> Would it make sense to change wl_egl_window_r
Hi Jason
On Thu, 13 Feb 2014 22:37:53 -0600
Jason Ekstrand wrote:
> The following is yet another take on the fullscreen shell protocol.
> Previous versions more-or-less followed the approach taken in wl_shell.
> This version completely reworks the concept. In particular, the protocol
> is split
If adding output is a slave output, this slave output share the fb
with master output.
If adding output is a master output, loop the output_list to find
its slave output. If it has slave output, this slave output will
change role from master to slave.
Signed-off-by: Xiong Zhang
---
clients/desk
The background and panel view of slave output can't exist on
layer_list and view_list, otherwise panel is mess.
When unplugging a master, one slave may become master, the slave's
background and panel view should be moved to view_list.
When plugging a master, one old master may become slave, the o
if the assigned output is slave, change the assigned output to
associated master output
Signed-off-by: Xiong Zhang
---
desktop-shell/shell.c | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c
index 2bc1856..0edefbd 100644
Because slave output doesn't in compositor->output_list,
the output->repaint()is called from master output only.
When master output repaint,all the slave output should
repaint also.
Slave output share fb with master output,when both slave and
master have finished page flip, the fb obj can be relea
When system do VT switch, slave output should use master
output's fb to restore mode.
Signed-off-by: Xiong Zhang
---
src/compositor-drm.c | 38 +-
1 file changed, 37 insertions(+), 1 deletion(-)
diff --git a/src/compositor-drm.c b/src/compositor-drm.c
index c
Signed-off-by: Xiong Zhang
---
src/compositor-drm.c | 81 +++-
1 file changed, 29 insertions(+), 52 deletions(-)
diff --git a/src/compositor-drm.c b/src/compositor-drm.c
index 842710f..836f81d 100644
--- a/src/compositor-drm.c
+++ b/src/compositor-
When a output change role between master and slave in clone mode,
some work is needed, this signal is used to trigger this work.
Signed-off-by: Xiong Zhang
---
desktop-shell/shell.c | 13 +
src/compositor.c | 1 +
src/compositor.h | 1 +
3 files changed, 15 insertions(+)
If unplugged output is a slave output, no need to restore views.
If unplugged output is a master output which doesn't have slave
output related it, views will be restored the same as extend mode.
If unplugged output is a master output which have slave output
related it, one slave output will be u
Add a clone option in output section of weston.ini
Master output will be in compositor->output_list.
Slave output won't be in compositor->output_list, while it is in
master->clone_output_list.
Slave output's current mode size should be smaller than master
output's mode size, or else the mode sett
The following is yet another take on the fullscreen shell protocol.
Previous versions more-or-less followed the approach taken in wl_shell.
This version completely reworks the concept. In particular, the protocol
is split into two use-cases. The first is that of a simple client that
wants to pres
This RFC is for the third version of my fullscreen shell implementation.
The contents of this RFC are:
* A new wl_fullscreen_shell protocol
* A weston shell that provides wl_fullscreen_shell
* Additions to the Wayland backend for Weston to take advantage of
wl_fullscreen_shell
* Additions to wes
The previous log handler wasn't actually hooked up to anything. Add a public
API for the log handler with priority filtering, defaulting to priority
'error' and stderr as output stream.
And to keep the diff down and convenience up, provide a few simple wrappers
for logging. The generic is log_msg(
> The below seems fine, but I wonder if we could make this one cause an
> error to be returned later where we can, rather than silently ignoring.
> I'm not sure where or how, though.
Would it make sense to change wl_egl_window_resize() so that it return a
value? Either that, or it should be docum
On Wed, 12 Feb 2014 16:21:11 -0800
Sinclair Yeh wrote:
> It is illegal to create or resize a window to zero (or negative) width
> and/or height. This patch prevents such a request from happening.
> ---
> src/egl/wayland/wayland-egl/wayland-egl.c | 6 ++
> 1 file changed, 6 insertions(+)
>
18 matches
Mail list logo