RE: Request help regarding building of mesa module

2014-08-12 Thread gautam.h.kumar
Hi Marek, I rebuilt everything from the beginning as given in the http://wayland.freedesktop.org/ubuntu12.04.html Pls Note: I have been building everything for the ARM Architecture root@ivi-VirtualBox:/source_build/mesa# uname -m armv7l root@ivi-VirtualBox:/source_build/mesa# My autogen.sh com

Undefined behavior

2014-08-12 Thread Jasper St. Pierre
In the xdg-shell thread recently, Pekka had a lot of concerns of the kind "what happens when the client makes an unexpected or illegal request. Should it be an error?" I have an answer for this: Any behavior not defined is undefined behavior. If it's not explicitly mentioned in the protocol, it's

Re: Request help regarding building of mesa module

2014-08-12 Thread Bill Spitzak
root@ivi-VirtualBox:/source_build/drm# ./autogen.sh --enable-intel I think you forgot the --prefix here? No package 'xcb-dri3' found No package 'xcb-present' found No package 'xcb-sync' found No package 'xshmfence' found So read the errors! :) Build the

Re: Interfaces to objects

2014-08-12 Thread Bill Spitzak
On 08/11/2014 11:34 PM, Pekka Paalanen wrote: void do_cool_thing_with_surface (???) { wl_surface_foo(???, args); wl_shell_surface_bar(???, args); } That is simply a broken design of that helper function. It likely also is an API layering violation. We need a real use case as an example

Re: HW key event grabbing on Tizen Wayland

2014-08-12 Thread Thiago Macieira
On Tuesday 12 August 2014 01:03:37 yan.w...@linux.intel.com wrote: > Hi, All, > Today I checked HW key event grabbing on Tizen. In Tizen X (mobile), > libslp-utilx package could do this. (E.g. > KEY_MENU/POWER/VOLUME_UP/VOLLUME_DOWN/CAMERA...) But how about in > Wayland? > In Wayland/Weston ups

Re: [PATCH weston] desktop-shell: add option to avoid creating the panel

2014-08-12 Thread Jonny Lamb
On mar, 2014-08-12 at 15:09 +0200, Jonny Lamb wrote: > This option is so we can disable showing any panel at all. The default > is to continue showing the panel and no example is added to weston.ini > because it's an uncommon request. Apologies, please ignore this duplicate patch. -- Jonny Lamb

[PATCH weston] desktop-shell: add close-animation config option for destroying surfaces

2014-08-12 Thread Jonny Lamb
At the moment when surfaces are destroyed they are faded out but let's make it configurable! --- desktop-shell/shell.c | 11 +-- desktop-shell/shell.h | 1 + man/weston.ini.man| 6 ++ 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/desktop-shell/shell.c b/desktop-

[PATCH weston] desktop-shell: add option to avoid creating the panel

2014-08-12 Thread Jonny Lamb
This option is so we can disable showing any panel at all. The default is to continue showing the panel and no example is added to weston.ini because it's an uncommon request. --- clients/desktop-shell.c | 38 +++--- man/weston.ini.man | 5 + 2 files chang

[PATCH weston] desktop-shell: add option to avoid creating the panel

2014-08-12 Thread Jonny Lamb
This option is so we can disable showing any panel at all. The default is to continue showing the panel and no example is added to weston.ini because it's an uncommon request. --- clients/desktop-shell.c | 38 +++--- man/weston.ini.man | 5 + 2 files chang

Re: [PATCH weston] input: send wl_keyboard.repeat_info with rate and delay info

2014-08-12 Thread Jonny Lamb
On ven, 2014-07-25 at 15:01 +0300, Pekka Paalanen wrote: > This may get nsec > 9, which seems to just make the timer fail. > The first thing I tried was repeat_delay=1000 and got no repeat at > all. It works, if I set it to 999 instead. :-) > > Also repeat_rate=1 would hit a similar problem

[PATCH weston 2/3] compositor-wayland: listen to repeat_info and save values to pass on

2014-08-12 Thread Jonny Lamb
--- src/compositor-wayland.c | 25 ++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/src/compositor-wayland.c b/src/compositor-wayland.c index a4dcec2..d5ea925 100644 --- a/src/compositor-wayland.c +++ b/src/compositor-wayland.c @@ -1573,12 +1573,24 @@ input_

[PATCH weston 3/3] clients: use repeat_info event details

2014-08-12 Thread Jonny Lamb
The weston-info client prints out the values, and the values are respected in toytoolkit when actually repeating keys.. --- clients/weston-info.c | 89 ++- clients/window.c | 49 +--- 2 files changed, 132 insertions(+), 6

[PATCH weston 1/3] compositor: fetch repeat info from weston.ini

2014-08-12 Thread Jonny Lamb
--- man/weston.ini.man | 11 +++ src/compositor.c | 5 + src/compositor.h | 3 +++ src/input.c| 9 ++--- 4 files changed, 25 insertions(+), 3 deletions(-) diff --git a/man/weston.ini.man b/man/weston.ini.man index 667f70a..3d8eef9 100644 --- a/man/weston.ini.man +++

Re: [PATCH] wayland-client: Initialize newly created wl_proxys to zero.

2014-08-12 Thread Nils Chr. Brause
On Mon, Aug 11, 2014 at 7:36 PM, Pekka Paalanen wrote: > Which brings us back to my earlier question, now rephrased > differently: are you going to forbid using the same Wayland > connection with a 3rd party library? > > If yes, you're all good. ;-) > Yes. :) One of the goals of my bindings are

RE: Request help regarding building of mesa module

2014-08-12 Thread gautam.h.kumar
Hi Marek, Thanks for the help again I will do so as advised and revert back with the results. Thanks again and Br, Gautam From: Marek Chalupa [mailto:mchqwe...@gmail.com] Sent: Tuesday, August 12, 2014 3:12 PM To: Kumar, Gautam H. Cc: sri.heb...@samsung.com; wayland-devel@lists.freedesktop.org

Re: Request help regarding building of mesa module

2014-08-12 Thread Marek Chalupa
On 12 August 2014 11:31, wrote: > Hi Marek, > > > > 1] I built the drm with the enable intel option as suggested by you > > > > root@ivi-VirtualBox:/source_build/drm# ./autogen.sh --enable-intel > > root@ivi-VirtualBox:/source_build/drm# make > > root@ivi-VirtualBox:/source_build/drm# make insta

RE: [Interest] qt5 window setGeometry and move not work in wayland platform

2014-08-12 Thread Steve (YiLiang) Zhou
It's a normal application window ,:( Thanks and Best Regards Steve Zhou -Original Message- From: Giulio Camuffo [mailto:giuliocamu...@gmail.com] Sent: Tuesday, August 12, 2014 2:57 PM To: Steve (YiLiang) Zhou Cc: Pekka Paalanen; Nils Chr. Brause; Rutledge Shawn; Pier Luigi; Qt Project;

[PATCH 1/3] tests: make event-loop-test more explicit

2014-08-12 Thread Marek Chalupa
Check value set in handler against an explicit value instead of: assert(value); also add one assert() for non-NULL value. --- tests/event-loop-test.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/tests/event-loop-test.c b/tests/event-loop-test.c index 655de8

[PATCH 2/3] event-loop: make signalfd non-blocking

2014-08-12 Thread Marek Chalupa
When we add more that one source to a signal, then wayland will block in wl_event_loop_dispatch. This is due to the attampt to read from signal's fd each time the source is dispatched. wl_event_loop_add_signal(loop, SIGINT, ...); wl_event_loop_add_signal(loop, SIGINT, ...); /* raise signal

[PATCH 3/3] tests: add one more test for event-loop signal source

2014-08-12 Thread Marek Chalupa
Test if when we get a signal, all signal sources for that signal get dispatched. Signed-off-by: Marek Chalupa --- tests/event-loop-test.c | 38 ++ 1 file changed, 38 insertions(+) diff --git a/tests/event-loop-test.c b/tests/event-loop-test.c index e327a66..1

RE: Request help regarding building of mesa module

2014-08-12 Thread gautam.h.kumar
Hi Marek, 1] I built the drm with the enable intel option as suggested by you root@ivi-VirtualBox:/source_build/drm# ./autogen.sh --enable-intel root@ivi-VirtualBox:/source_build/drm# make root@ivi-VirtualBox:/source_build/drm# make install root@ivi-VirtualBox:/source_build/drm# cd

Re: [Dev] HW key event grabbing on Tizen Wayland

2014-08-12 Thread 박성진
Title: Samsung Enterprise Portal mySingle Hi, Wang, Yan, libinput is a library to handle input devices and it'll be used for a display server like Xserver and wayland compositors. Wayland clients will get input events through GUI toolkits from wayland compositors.   Regarding utilx library,

HW key event grabbing on Tizen Wayland

2014-08-12 Thread yan . wang
Hi, All, Today I checked HW key event grabbing on Tizen. In Tizen X (mobile), libslp-utilx package could do this. (E.g. KEY_MENU/POWER/VOLUME_UP/VOLLUME_DOWN/CAMERA...) But how about in Wayland? In Wayland/Weston upstream, I think libinput could do it because I could see KEY_VOLUME_UP/DOWN, KEY

Re: Request help regarding building of mesa module

2014-08-12 Thread Marek Chalupa
On 11 August 2014 17:07, wrote: > Hi Marek, > > > > I rebuilt everything from scratch and it went on fine till again it > started breaking in the mesa module > > > >git clone git://anongit.freedesktop.org/mesa/mesa > >cd mesa > >./autogen.sh --pref

Re: [PATCH] wayland-client: Initialize newly created wl_proxys to zero.

2014-08-12 Thread Marek Chalupa
On 11 August 2014 18:02, Nils Chr. Brause wrote: > On Mon, Aug 11, 2014 at 08:36:51AM +0200, Marek Chalupa wrote: > > > proxy->flags = 0; > > > > > > > After memset, this line can be removed as well. > > > > > > > @@ -331,10 +331,10 @@ wl_proxy_create_for_id(struct wl_proxy *factory, > >