于 2012/4/18 9:01, Juan Zhao 写道:
On 04/17/2012 05:20 PM, zhiwen...@linux.intel.com wrote:
+ if (!drm_mode) {
+ printf("%s, invalid resolution:%dx%d\n", __func__, mode->width,
mode->height);
+ return -1;
+ } else if (&drm_mode->base == output->base.current) {
+ return 0;
+ } else if (drm_mode->b
If a client is not responding, lower the brightness and
saturation to indicate it's stalled. The surface is restored
to it's original color values if the client later becomes
responsive.
---
src/shell.c | 77 +++
1 files changed, 77 inserti
---
src/compositor.c | 12
src/compositor.h |4
2 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/src/compositor.c b/src/compositor.c
index 16d10f9..3fae8f5 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -217,6 +217,8 @@ weston_surface_create(struct w
---
clients/window.c |8 +
src/compositor.c | 16 +
src/compositor.h |2 +
src/shell.c | 90 ++
4 files changed, 116 insertions(+), 0 deletions(-)
diff --git a/clients/window.c b/clients/window.c
index a033130..e7974
On 04/17/2012 05:20 PM, zhiwen...@linux.intel.com wrote:
+ if (!drm_mode) {
+ printf("%s, invalid resolution:%dx%d\n", __func__, mode->width,
mode->height);
+ return -1;
+ } else if (&drm_mode->base == output->base.current) {
+ return 0;
+
From: Casey Dahlin
Signed-off-by: Casey Dahlin
---
src/compositor.c | 103 ++---
src/compositor.h | 13 +--
src/shell.c | 52 +++
3 files changed, 135 insertions(+), 33 deletions(-)
diff --git a/src/composito
From: Casey Dahlin
These events let us track when a surface enters or leaves the scanout region of
an output. This way if a surface moves to another output and that output is on
a different card, we can suggest the toolkit reallocate its buffers
appropriately.
Signed-off-by: Casey Dahlin
---
p
On Tue, Apr 17, 2012 at 1:57 PM, Benjamin Franzke
wrote:
> 2012/4/17 Tiago Vignatti :
>> Specially the "either" word there is essential, so users don't confuse
>> thinking that both steps are needed.
>>
>> Signed-off-by: Tiago Vignatti
>> ---
>> I started to implement udev based session support f
On Tue, Apr 17, 2012 at 1:54 PM, Pekka Paalanen wrote:
> On Tue, 17 Apr 2012 20:10:11 +0300
> Tiago Vignatti wrote:
>
>> Specially the "either" word there is essential, so users don't
>> confuse thinking that both steps are needed.
>
> Good!
>
>> Signed-off-by: Tiago Vignatti
>> ---
>> I started
On Tue, Apr 17, 2012 at 12:02 PM, Tiago Vignatti
wrote:
> On 04/17/2012 03:25 PM, Pekka Paalanen wrote:
>>
>> compositor: move libudev.h to evdev.h
>
>
> this one is not correct.
>
> udev is used for output device discovery and hotplug. So it's not only on
> input evdev.
Yes, but the udev d
2012/4/17 Tiago Vignatti :
> Specially the "either" word there is essential, so users don't confuse
> thinking that both steps are needed.
>
> Signed-off-by: Tiago Vignatti
> ---
> I started to implement udev based session support for weston-launcher, after
> added myself to 'weston-launch' group
On Tue, 17 Apr 2012 20:10:11 +0300
Tiago Vignatti wrote:
> Specially the "either" word there is essential, so users don't
> confuse thinking that both steps are needed.
Good!
> Signed-off-by: Tiago Vignatti
> ---
> I started to implement udev based session support for
> weston-launcher, after
Specially the "either" word there is essential, so users don't confuse
thinking that both steps are needed.
Signed-off-by: Tiago Vignatti
---
I started to implement udev based session support for weston-launcher, after
added myself to 'weston-launch' group and mistakenly forgot to re-ran bash.
Ye
On 04/17/2012 03:25 PM, Pekka Paalanen wrote:
compositor: move libudev.h to evdev.h
this one is not correct.
udev is used for output device discovery and hotplug. So it's not only
on input evdev.
Tiago
___
wayland-devel mailing list
wayl
On 04/17/2012 08:31 AM, Juan Zhao wrote:
On 04/16/2012 10:31 PM, Tiago Vignatti wrote:
static void
+shell_surface_set_maximized(struct wl_client *client,
+ struct wl_resource *resource,
+ struct wl_resource *output_resource )
+{
+ struct shell_surface *shsurf = resource->data;
+ struct weston_ou
On 04/17/2012 03:54 PM, Kristian Høgsberg wrote:
On Tue, Apr 17, 2012 at 6:17 AM, Tiago Vignatti
wrote:
On 04/16/2012 11:41 PM, Kristian Hoegsberg wrote:
On Mon, Apr 16, 2012 at 05:31:43PM +0300, Tiago Vignatti wrote:
useful for weston on non-suid environments.
I'm not sure about this o
On Tue, Apr 17, 2012 at 6:17 AM, Tiago Vignatti
wrote:
> On 04/16/2012 11:41 PM, Kristian Hoegsberg wrote:
>>
>> On Mon, Apr 16, 2012 at 05:31:43PM +0300, Tiago Vignatti wrote:
>>>
>>> useful for weston on non-suid environments.
>>
>>
>> I'm not sure about this one. We're just launching the X ser
Hi Kristian,
thought I'd try to flush a bit of my patch queue to you.
This series contains various minor fixes to issues I've encountered
while porting Weston to another platform.
The following changes since commit e4faa2ab051aca454f3952f458dac42491e54954:
compositor: init shell after xserve
connection.c:530: warning: format '%lu' expects type 'long unsigned
int', but argument 2 has type 'unsigned int'
/connection.c:560: warning: format '%lu' expects type 'long unsigned
int', but argument 2 has type 'unsigned int'
Signed-off-by: Pekka Paalanen
---
src/connection.c |4 ++--
1 fi
On 04/16/2012 11:41 PM, Kristian Hoegsberg wrote:
On Mon, Apr 16, 2012 at 05:31:43PM +0300, Tiago Vignatti wrote:
useful for weston on non-suid environments.
I'm not sure about this one. We're just launching the X server, it
needs to know how to start up and log in the right place.
right, I
From: Alex Wu
Switching display mode may happen when:
1. The fullscreen surface is at top most in fullscreen layer and with
"driver" method. Shell will switch output mode to match the surface
size. If no matched mode found, fall back to "fill" method.
2. The top fullscreen surface is destro
From: Alex Wu
Implement switch_mode hook for drm backend.
---
src/compositor-drm.c | 150 +-
1 files changed, 149 insertions(+), 1 deletions(-)
diff --git a/src/compositor-drm.c b/src/compositor-drm.c
index 4232f78..deda815 100644
--- a/src/compo
From: Alex Wu
This allow each output backend to switch the display mode. It is
useful to some applications like fullscreen game, xbmc.
---
src/compositor-drm.c |1 +
src/compositor-openwfd.c |1 +
src/compositor-wayland.c |1 +
src/compositor-x11.c |1 +
src/compositor.c
The following changes since commit e4faa2ab051aca454f3952f458dac42491e54954:
compositor: init shell after xserver (2012-04-16 16:38:30 -0400)
are available in the git repository at:
g...@gitorious.org:wayland-for-krh/weston.git fs-driver
Alex Wu (3):
compositor: Add a switch_mode hook
On 04/17/2012 10:28 AM, Pekka Paalanen wrote:
On Mon, 16 Apr 2012 17:31:42 +0300
Tiago Vignatti wrote:
DE operations like toplevel, transiant, fullscreen, maximized, popup and the
shell_surface constructor are the ones expected to be used in the global scope
for Weston submodules like xserver-
On 04/16/2012 05:31 PM, Tiago Vignatti wrote:
We're able now to create shell_surfaces inside Weston. This makes possible the
glue needed between shell and xserver-launcher.
Signed-off-by: Tiago Vignatti
---
src/compositor.h | 24 +++-
src/shell.c|8
On Mon, 16 Apr 2012 17:31:42 +0300
Tiago Vignatti wrote:
> DE operations like toplevel, transiant, fullscreen, maximized, popup and the
> shell_surface constructor are the ones expected to be used in the global scope
> for Weston submodules like xserver-launcher and other shells.
>
> This commit
27 matches
Mail list logo