[PATCH] Fix re-entrancy issues in wl_display_iterate().

2012-04-11 Thread Hannu Lyytinen
This fixes a possible re-entrancy issue in case of nested requests. --- src/connection.c |8 +++- src/wayland-client.c |6 -- src/wayland-private.h |1 + 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/connection.c b/src/connection.c index 2795481..c5

Re: eglCreatePbufferSurface isn't supported in Mesa for Wayland

2012-04-11 Thread yan . wang
> On Wed, Apr 11, 2012 at 5:07 AM, Samuel Rødal > wrote: >> On 04/11/2012 10:21 AM, ext yan.w...@linux.intel.com wrote: >>> Hi, >>>   I found eglCreatePbufferSurface API isn't supported in Mesa for >>> Wayland. >>> Will it be implemented in the future? Or should I use >>> eglCreatePixmapSurface

Re: Trying out a few gtk applications in ubuntu precise (video)

2012-04-11 Thread darxus
Tried the ones that previously failed again with GTK rebuilt with both the x11 and wayland backends. I built it with only the wayland backend before. But the extra fun was stracing gnomine and mahjongg. They work when run through strace, but still don't work without strace. Anybody care to re

[PATCH] Add a public header for the version number

2012-04-11 Thread Neil Roberts
This adds a public header so that applications can get the Wayland version number at compile time. This can be used to make applications that support compiling against multiple versions of Wayland. There is a separate installed header called cogl-version.h which gets included by both wayland-clien

[PATCH] Add wl_display_disconnect to the client header

2012-04-11 Thread Neil Roberts
Commit fdbbc38a added a wl_display_disconnect function to the 0.85 branch so that Mesa can continue to build against both that branch and master. However it was missing a declaration in the header so Mesa would still fail to build when -Werror is enabled. --- src/wayland-client.h |1 + 1 files

[PATCH 0/3] Make Mesa support both Wayland master and 0.85 branches

2012-04-11 Thread Neil Roberts
It's quite convenient for some compositors to track the 0.85 branch of Wayland to get the stability but they would probably also want to track Mesa master to get the gbm surface changes. This combination currently doesn't work however because Mesa only works with Wayland master. Here are three patc

Re: [PATCH] weston: update .gitignore files

2012-04-11 Thread Kristian Høgsberg
On Wed, Apr 11, 2012 at 12:20 AM, Casey Dahlin wrote: > Updates the .gitignore files for clients and tests to reflect a new test and a > couple of renamed applications. Thanks, applied. Kristian > Signed-off-by: Casey Dahlin > > --- > > diff --git a/clients/.gitignore b/clients/.gitignore > ind

Re: eglCreatePbufferSurface isn't supported in Mesa for Wayland

2012-04-11 Thread Kristian Høgsberg
On Wed, Apr 11, 2012 at 5:07 AM, Samuel Rødal wrote: > On 04/11/2012 10:21 AM, ext yan.w...@linux.intel.com wrote: >> Hi, >>   I found eglCreatePbufferSurface API isn't supported in Mesa for Wayland. >> Will it be implemented in the future? Or should I use >> eglCreatePixmapSurface instead of it?

Re: Some questions about Wayland

2012-04-11 Thread Daniel Stone
Hi, On 11 April 2012 09:56, Juan Zhao wrote: >  On 04/11/2012 04:45 PM, Pekka Paalanen wrote: >> AFAIK, we don't have arbitrary client bindable global hot keys, and I >> don't know of any plans for such. It might be a bad idea, IMHO. > > Thinking a phone with camera usage, the phone may support o

Re: eglCreatePbufferSurface isn't supported in Mesa for Wayland

2012-04-11 Thread Samuel Rødal
On 04/11/2012 10:21 AM, ext yan.w...@linux.intel.com wrote: > Hi, > I found eglCreatePbufferSurface API isn't supported in Mesa for Wayland. > Will it be implemented in the future? Or should I use > eglCreatePixmapSurface instead of it? > Thanks. > > Yan Wang Maybe you can use surfaceless EGL

Re: Some questions about Wayland

2012-04-11 Thread Juan Zhao
On 04/11/2012 04:45 PM, Pekka Paalanen wrote: On Wed, 11 Apr 2012 10:31:53 +0200 Renaud Hebert wrote: Thanks for your answer, see my reply below. Le 11 avril 2012 10:16, Pekka Paalanen a écrit : On Wed, 11 Apr 2012 09:51:22 +0200 Renaud Hebert wrote: Hello, In the comments on an articl

Re: Some questions about Wayland

2012-04-11 Thread Pekka Paalanen
On Wed, 11 Apr 2012 10:31:53 +0200 Renaud Hebert wrote: > Thanks for your answer, see my reply below. > > Le 11 avril 2012 10:16, Pekka Paalanen a écrit : > > On Wed, 11 Apr 2012 09:51:22 +0200 > > Renaud Hebert wrote: > > > >> Hello, > >> > >> In the comments on an article about "the state of

Re: Some questions about Wayland

2012-04-11 Thread Renaud Hebert
Thanks for your answer, see my reply below. Le 11 avril 2012 10:16, Pekka Paalanen a écrit : > On Wed, 11 Apr 2012 09:51:22 +0200 > Renaud Hebert wrote: > >> Hello, >> >> In the comments on an article about "the state of Wayland" at lwn >> (http://lwn.net/Articles/491237/), two interesting quest

eglCreatePbufferSurface isn't supported in Mesa for Wayland

2012-04-11 Thread yan . wang
Hi, I found eglCreatePbufferSurface API isn't supported in Mesa for Wayland. Will it be implemented in the future? Or should I use eglCreatePixmapSurface instead of it? Thanks. Yan Wang ___ wayland-devel mailing list wayland-devel@lists.freedeskto

Re: Some questions about Wayland

2012-04-11 Thread Pekka Paalanen
On Wed, 11 Apr 2012 09:51:22 +0200 Renaud Hebert wrote: > Hello, > > In the comments on an article about "the state of Wayland" at lwn > (http://lwn.net/Articles/491237/), two interesting questions were > raised: > 1- would gridmgr (an application which place the windows into > predefined grid l

Some questions about Wayland

2012-04-11 Thread Renaud Hebert
Hello, In the comments on an article about "the state of Wayland" at lwn (http://lwn.net/Articles/491237/), two interesting questions were raised: 1- would gridmgr (an application which place the windows into predefined grid layouts http://nickbp.com/gridmgr/ ) work on Wayland? 2- same question fo