Re: [PATCH] Use EGL_WAYLAND_Y_INVERTED_WL to query wl_buffer's orientation

2013-08-29 Thread Stanislav Vorobiov
On 08/30/2013 08:15 AM, Kristian Høgsberg wrote: > On Thu, Aug 29, 2013 at 12:11 AM, Stanislav Vorobiov > wrote: >> On 08/29/2013 09:45 AM, Kristian Høgsberg wrote: >>> On Wed, Aug 28, 2013 at 09:53:19AM +0400, Stanislav Vorobiov wrote: Any comments on this one ? >>> >>> We already use 0x31D7

Re: [RFC] compositor-drm: Add hardware accelerated capture of screen using libva

2013-08-29 Thread Kristian Høgsberg
On Fri, Aug 23, 2013 at 05:15:48PM +0300, Ander Conselvan de Oliveira wrote: > From: Ander Conselvan de Oliveira > > This patch adds a feature to the DRM backend that uses libva for > encoding the screen contents in H.264. Screen recording can be > activated by pressing mod-shift-space q. A file

Re: [PATCH] window.c: fix SIGSEGV in pointer_handle_motion

2013-08-29 Thread Kristian Høgsberg
On Thu, Aug 29, 2013 at 10:52:54AM +0100, Paul Winwood wrote: > moved null pointer check and assignments before first window dereference. That looks good, applied. I capitalized the commit title and body - that counts as regular prose/documentation so we go for normal punctuaton there. Kristian

Re: [PATCH] Use EGL_WAYLAND_Y_INVERTED_WL to query wl_buffer's orientation

2013-08-29 Thread Kristian Høgsberg
On Thu, Aug 29, 2013 at 12:11 AM, Stanislav Vorobiov wrote: > On 08/29/2013 09:45 AM, Kristian Høgsberg wrote: >> On Wed, Aug 28, 2013 at 09:53:19AM +0400, Stanislav Vorobiov wrote: >>> Any comments on this one ? >> >> We already use 0x31D7... we could use 0x31DA I suppose. The other > 0x31DA is

Weston 1.2.2 release

2013-08-29 Thread Kristian Høgsberg
Dear list, We ended up with a few embarassing, critical and generally unsavory regressions in the 1.2.1 weston release and I'm doing a quick 1.2.2 follow up here. In particular, we had - Crash on fast click on titlebar 237c1c82bb0e487609a2e3e03bf33f9713cd24e0 - Included private config.h

[PATCH] window.c: fix SIGSEGV in pointer_handle_motion

2013-08-29 Thread Paul Winwood
moved null pointer check and assignments before first window dereference. --- clients/window.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/clients/window.c b/clients/window.c index cee436c..4f63132 100644 --- a/clients/window.c +++ b/clients/window.c @@ -2904

Re: [PATCH weston] Add a --shell option to override the default desktop-shell

2013-08-29 Thread Pier Luigi
2013/8/27 Kristian Høgsberg > On Sun, Aug 25, 2013 at 03:42:11PM +0200, Giulio Camuffo wrote: > > Looks good and works good for me. > > Thanks for checking Giulio, I wanted this to work for your use case > too. Patch applied. > Could this be applied to 1.2 too for the next minor release? -- O

[PATCH v2] gl_renderer: Use EGL_WAYLAND_Y_INVERTED_WL to query wl_buffer's orientation

2013-08-29 Thread Stanislav Vorobiov
--- src/compositor.c |1 + src/compositor.h |1 + src/gl-renderer.c| 14 +- src/weston-egl-ext.h |4 4 files changed, 19 insertions(+), 1 deletion(-) diff --git a/src/compositor.c b/src/compositor.c index 74f0aab..8c9e0fe 100644 --- a/src/compositor.c ++

Re: [PATCH] Use EGL_WAYLAND_Y_INVERTED_WL to query wl_buffer's orientation

2013-08-29 Thread Stanislav Vorobiov
On 08/29/2013 09:45 AM, Kristian Høgsberg wrote: > On Wed, Aug 28, 2013 at 09:53:19AM +0400, Stanislav Vorobiov wrote: >> Any comments on this one ? > > We already use 0x31D7... we could use 0x31DA I suppose. The other 0x31DA is also used, I guess it's 0x31DB Also, I noticed that it's not enough

Re: [PATCH weston] SIGSEGV in window.c

2013-08-29 Thread Kristian Høgsberg
On Tue, Aug 27, 2013 at 10:13:09PM +0100, Paul Winwood wrote: > Please go easy with me; this is the first time I have ever done > this! I have found and fixed a SIGSEGV in window.c in > pointer_handle_motion caused by dereferencing 'window' when it is > null. There was a null pointer check after

Re: [RFC PATCH v2] protocol: Extend wayland seat with interfaces for sensor inputs.

2013-08-29 Thread Lorn Potter
sorry took so long. forgot to hit send... On 24/08/2013, at 1:04 AM, Stefan Schmidt wrote: > Hello. > > On 08/22/2013 10:43 PM, Lorn Potter wrote: >> Hi, >> I was told of this thread, perhaps I can make a few comments (sorry if it >> doesn't really follow the thread) >> [no knowing much about

Re: [PATCH] Use EGL_WAYLAND_Y_INVERTED_WL to query wl_buffer's orientation

2013-08-29 Thread Kristian Høgsberg
On Wed, Aug 28, 2013 at 09:53:19AM +0400, Stanislav Vorobiov wrote: > Any comments on this one ? We already use 0x31D7... we could use 0x31DA I suppose. The other question is how to phase it in - technically we can't just add a new token to the EGL_WL_bind_wayland_display extension. On the other

Re: [PATCH] subsurfaces: fix rendering problem with cairo-glesv2

2013-08-29 Thread Kristian Høgsberg
On Wed, Aug 28, 2013 at 10:14:35AM +0400, Stanislav Vorobiov wrote: > when using cairo-glesv2 subsurface rendering code > implicitly calls eglMakeCurrent(dpy, NULL, NULL, ctx) > (since EGL_KHR_surfaceless_context is used), thus, > triangle_frame_callback:eglSwapBuffers returns EGL_BAD_SURFACE > err

Re: [PATCH] configure.ac: fix broken compilation when configure with --disable-egl option

2013-08-29 Thread Kristian Høgsberg
On Wed, Aug 28, 2013 at 11:57:57AM +0200, Armin K. wrote: > On 08/28/2013 11:22 AM, Samuel Iglesias Gonsalvez wrote: > > Fix bug 67561: "configure with --disable-egl option breaks fbdev backend > > compilation" > > > > https://bugs.freedesktop.org/show_bug.cgi?id=67561 > > > > Signed-off-by: Samu

Re: [PATCH] configure.ac: fix broken compilation when configure with --disable-egl option

2013-08-29 Thread Kristian Høgsberg
On Wed, Aug 28, 2013 at 11:22:41AM +0200, Samuel Iglesias Gonsalvez wrote: > Fix bug 67561: "configure with --disable-egl option breaks fbdev backend > compilation" > > https://bugs.freedesktop.org/show_bug.cgi?id=67561 > > Signed-off-by: Samuel Iglesias Gonsalvez Thanks applied. The fbdev bac