Re: [PATCH 1/4 wayland] add damage2 api

2012-06-06 Thread Pekka Paalanen
On Thu, 7 Jun 2012 06:33:54 +0300 Zhao Halley wrote: > --- > protocol/wayland.xml | 16 > 1 files changed, 16 insertions(+), 0 deletions(-) > > diff --git a/protocol/wayland.xml b/protocol/wayland.xml > index 67ece1b..9f2de9f 100644 > --- a/protocol/wayland.xml > +++ b/proto

[PATCH 4/4 test] use wl_surface_damage2 for resize

2012-06-06 Thread Zhao Halley
--- tests/wayland-drm/wayland-drm-test.c | 11 --- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/tests/wayland-drm/wayland-drm-test.c b/tests/wayland-drm/wayland-drm-test.c index aa6f001..2f29072 100755 --- a/tests/wayland-drm/wayland-drm-test.c +++ b/tests/wayland-drm/

[PATCH 3/4 weston] add surface_damage2 to support resize

2012-06-06 Thread Zhao Halley
--- src/compositor-drm.c | 34 src/compositor.c | 70 ++--- src/compositor.h |9 +- src/shell.c | 53 - src/util.c |8 +++--- 5 files changed, 106 i

[PATCH 2/4 weston] test purpose: filter out background/cursor/shell surface disable geometry transform for overlay

2012-06-06 Thread Zhao Halley
From: Zhao halley --- src/compositor-drm.c | 23 +++ 1 files changed, 23 insertions(+), 0 deletions(-) mode change 100644 => 100755 src/compositor-drm.c diff --git a/src/compositor-drm.c b/src/compositor-drm.c old mode 100644 new mode 100755 index d588dbf..cb55753 --- a/s

[PATCH 1/4 wayland] add damage2 api

2012-06-06 Thread Zhao Halley
--- protocol/wayland.xml | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/protocol/wayland.xml b/protocol/wayland.xml index 67ece1b..9f2de9f 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -631,6 +631,22 @@ + + +

[PATCH 0/4] add resize support for wl_surface damage

2012-06-06 Thread Zhao Halley
overlay plane supports rendering with resize, while wayland protocol doesn't have interface for it yet. so I go ahead to add it and ask for your comments. this interface also has potential benefit for memory footprint: for example: when surface size is bigger than original content (an image may

xwayland: xwm positioning and focus

2012-06-06 Thread Tiago Vignatti
Kristian, Thanks for applying the patches. I've updated the remaining with the tip and amended two patches (opaque region fix for non-decorated surfaces and focus assistance): http://cgit.freedesktop.org/~vignatti/weston/log/?h=xwm I'm worried with the amount of corner cases that ICCCM

[PATCH weston 3/3] shell: fix a crash during 'make check'

2012-06-06 Thread Pekka Paalanen
$ abs_builddir=$PWD/tests gdb -args ./src/weston --module=$PWD/tests/.libs/event-test.so (gdb) run Starting program: /home/pq/git/wayland-demos/src/weston --module=/home/pq/git/wayland-demos/tests/.libs/event-test.so [Thread debugging using libthread_db enabled] Mesa: Initializing x86-64 optimiz

[PATCH weston 2/3] compositor: print a clear message when XDG_RUNTIME_DIR is not set

2012-06-06 Thread Pekka Paalanen
Without this patch, Weston would not start with the message: creating a keymap file for 44012 bytes failed: No such file or directory If you do not know, that we use XDG_RUNTIME_DIR for that, the message is very confusing. Therefore implement a clear error message right at the start if XDG_RUNTIME

[PATCH weston 1/3] Rewrite shm buffer file allocation v2

2012-06-06 Thread Pekka Paalanen
We had duplicated code in many places, using hardcoded paths for temporary files into more than one path. Some cases did not bother with O_CLOEXEC, and all hardcoded paths that might not exist. Add an OS helper function for creating a unique anonymous file with close-on-exec semantics. The helper

Re: Chromium based on Aura under Wayland

2012-06-06 Thread Daniel Stone
Hi, On 6 June 2012 13:31, wrote: >    Today I found "Backspace" couldn't work in branch_20120606. It is OK > in my previous version. It may be caused by Google modification. I > will investigate it. It may also be fixed by Google. Backspace was broken in some keymaps for a while, but I fixed th

Chromium based on Aura under Wayland

2012-06-06 Thread yan . wang
Hi, All, I have pushed my porting of Chromium based on Aura under Wayland into git://gitorious.org/chromium_on_wayland/chromium_on_wayland.git. "Master" is pulled from Google Chromium GIT repo and branch_20120606 including my porting. I will try to keep sync with Google Chromium GIT repo by dai

[PATCH wayland 2/2] server: require XDG_RUNTIME_DIR

2012-06-06 Thread Pekka Paalanen
An arbitrary fallback to the current directory is only confusing. Signed-off-by: Pekka Paalanen --- src/wayland-server.c | 17 ++--- 1 files changed, 10 insertions(+), 7 deletions(-) diff --git a/src/wayland-server.c b/src/wayland-server.c index ed9f001..fb4e157 100644 --- a/src/w

[PATCH wayland 1/2] client: require XDG_RUNTIME_DIR

2012-06-06 Thread Pekka Paalanen
An arbitrary fallback to the current directory is only confusing. Signed-off-by: Pekka Paalanen --- src/wayland-client.c | 19 +++ 1 files changed, 11 insertions(+), 8 deletions(-) diff --git a/src/wayland-client.c b/src/wayland-client.c index ecedd99..bba972e 100644 --- a/src

[PATCH weston 3/3] shell: Animate workspace changes

2012-06-06 Thread Jonas Ådahl
Signed-off-by: Jonas Ådahl --- src/shell.c | 252 --- 1 file changed, 243 insertions(+), 9 deletions(-) diff --git a/src/shell.c b/src/shell.c index 56b271b..27f55b4 100644 --- a/src/shell.c +++ b/src/shell.c @@ -38,6 +38,7 @@ #include ".

[PATCH weston 2/3] shell: Virtual workspaces

2012-06-06 Thread Jonas Ådahl
A workspace is a list of top level surfaces visible at a time. New toplevel surfaces are added to the current workspace. Default keybindings (modifier - Up and modifier - Down) are used for navigating between workspaces. By default a single workspace is created. Surfaces of inactive workspaces are

[PATCH weston 1/3] compositor: Add visibility state to surfaces

2012-06-06 Thread Jonas Ådahl
When a surface becomes invisible frame callbacks will be queued until the surface is shown. Signed-off-by: Jonas Ådahl --- src/compositor.c | 28 +--- src/compositor.h |6 ++ 2 files changed, 31 insertions(+), 3 deletions(-) diff --git a/src/compositor.c b/src/