Re: [Patch 0/5 v2] Improve wayland-drm to wayland-gbm to act as generic buffer manager for wayland

2012-04-23 Thread Juan Zhao
On 04/23/2012 05:02 PM, Zhao, Halley wrote: == version 2: - follow Gwenole's feed back to change wayland_gbm_* to wl_gbm_* - use Evolution to send the patch (some previous patches sent from outlook are blocked) - add patch 5 to change file names from *drm* to *gbm* == original patch in

Re: Wayland client library thread safety

2012-04-23 Thread Bill Spitzak
On 04/20/2012 03:27 PM, Kristian Høgsberg wrote: "Initial assumption for wl_display and related objects was that it is not going to be thread safe, and you have to lock access to the wl API yourself if you're going to use it from multiple threads. It's a valid assumption and it avoids fine grai

XWayland is working again

2012-04-23 Thread darxus
I haven't gotten it to work, but krh says it works for him on Intel. timon37 says it works for him with his Radeon DDX, which hasn't been mentioned here before, and also with wlshm after replacing instances of "hosted.h" with "xwayland.h". This is with Wayland/Weston master, not 0.85. And krh's m

Re: [PULL wayland] fd leak checks and a socket fallback

2012-04-23 Thread Alex Bradbury
On 23 April 2012 13:44, Pekka Paalanen wrote: > Btw. I can't find a definition for __NR_accept4 in Bionic. __NR_accept > is there. Are those constants between arches, would I be able to > #define it myself? ARM was missed off when accept4 was added. This was rectified for 2.6.36: http://git.kerne

Re: [PULL wayland] fd leak checks and a socket fallback

2012-04-23 Thread Thiago Macieira
On segunda-feira, 23 de abril de 2012 15.44.16, Pekka Paalanen wrote: > Btw. I can't find a definition for __NR_accept4 in Bionic. __NR_accept > is there. Are those constants between arches, would I be able to > #define it myself? The system call numbers are arch-dependent. They come from , which

Re: [PULL wayland] fd leak checks and a socket fallback

2012-04-23 Thread Pekka Paalanen
On Mon, 23 Apr 2012 14:10 +0200 Thiago Macieira wrote: > On segunda-feira, 23 de abril de 2012 11.22.16, Pekka Paalanen wrote: > > > PS: if you're reading this and you want to run Wayland on your non-Linux > > > system, you should also add those to your OS. Yesterday. > > > > Hi Thiago, > > >

Re: [PULL wayland] fd leak checks and a socket fallback

2012-04-23 Thread Thiago Macieira
On segunda-feira, 23 de abril de 2012 11.22.16, Pekka Paalanen wrote: > > PS: if you're reading this and you want to run Wayland on your non-Linux > > system, you should also add those to your OS. Yesterday. > > Hi Thiago, > > you speak with the voice of reason. Unfortunately, I doubt reason or > s

Re: [Patch 3/5 v2] Improve wayland-drm to wayland-gbm to act as generic buffer manager for wayland

2012-04-23 Thread Zhao, Halley
update patch with additional change: change gbm_bo_create_from_handle to gbm_bo_create_from_native_handle with parameter of gbm_bo_handle diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c old mode 100644 new mode 100755 index 7bb32bd..9065c42 --- a/src/egl/drivers/d

[Patch 5/5 v2] Improve wayland-drm to wayland-gbm to act as generic buffer manager for wayland

2012-04-23 Thread Zhao, Halley
patch 5/5: file name change from drm to gbm From 55c1d4a54cfa988b9400c3bdb38d1d9cf1084950 Mon Sep 17 00:00:00 2001 From: Halley Zhao Date: Fri, 20 Apr 2012 09:49:59 +0800 Subject: [PATCH 5/5] file name change from drm to gbm --- configure.ac |4 +- src/

[Patch 4/5 v2] Improve wayland-drm to wayland-gbm to act as generic buffer manager for wayland

2012-04-23 Thread Zhao, Halley
patch 4/5:remove previous create/release_buffer in driver backend >From 3cd7d26d864db4f88dfd46a7507450be48a54323 Mon Sep 17 00:00:00 2001 From: Halley Zhao Date: Thu, 19 Apr 2012 17:35:27 +0800 Subject: [PATCH 4/5] remove previous create/release_buffer implementation from dri --- src/egl/drive

[Patch 3/5 v2] Improve wayland-drm to wayland-gbm to act as generic buffer manager for wayland

2012-04-23 Thread Zhao, Halley
patch 3/5: use wayland-gbm to create/destroy wl_buffer >From 9a5da4167d94164d97b3a53b32ecda3e46b16323 Mon Sep 17 00:00:00 2001 From: Halley Zhao Date: Thu, 19 Apr 2012 17:15:53 +0800 Subject: [PATCH 3/5] use wayland-gbm to create/destroy wl_buffer --- src/egl/drivers/dri2/egl_dri2.c

[Patch 1/5 v2] Improve wayland-drm to wayland-gbm to act as generic buffer manager for wayland

2012-04-23 Thread Zhao, Halley
patch 1/5: term change from drm to gbm in driver backend >From cdd1d1decadd65a63e7a874e2b56ef70db8cff39 Mon Sep 17 00:00:00 2001 From: Halley Zhao Date: Mon, 23 Apr 2012 16:37:53 +0800 Subject: [PATCH 2/5] term change from drm to gbm in driver backend --- src/egl/drivers/dri2/egl_dri2.c

[Patch 1/5 v2] Improve wayland-drm to wayland-gbm to act as generic buffer manager for wayland

2012-04-23 Thread Zhao, Halley
From 3297c0a4590605bfa45558ad900523e8df8cc015 Mon Sep 17 00:00:00 2001 From: Halley Zhao Date: Mon, 23 Apr 2012 16:37:21 +0800 Subject: [PATCH 1/5] term change from drm to gbm inside wayland-drm --- .../wayland/wayland-drm/protocol/wayland-drm.xml |8 +- src/egl/wayland/wayland-drm/wayland

[Patch 0/5 v2] Improve wayland-drm to wayland-gbm to act as generic buffer manager for wayland

2012-04-23 Thread Zhao, Halley
== version 2: - follow Gwenole's feed back to change wayland_gbm_* to wl_gbm_* - use Evolution to send the patch (some previous patches sent from outlook are blocked) - add patch 5 to change file names from *drm* to *gbm* == original patch information EGL implements wayland-drm protocol, ho

Re: [PULL wayland] fd leak checks and a socket fallback

2012-04-23 Thread Kristian Høgsberg
On Mon, Apr 23, 2012 at 4:22 AM, Pekka Paalanen wrote: > On Sun, 22 Apr 2012 13:04:32 +0200 > Thiago Macieira wrote: > >> On sexta-feira, 20 de abril de 2012 16.46.52, Pekka Paalanen wrote: >> > Hi Kristian, >> > >> > finally I am getting the test framework up for my OS wrappers. I added >> > aut

Re: [PATCH 2/3] Add an id field to outputs

2012-04-23 Thread Kristian Høgsberg
No, just reality. Kristian On Mon, Apr 23, 2012 at 4:02 AM, Pekka Paalanen wrote: > On Fri, 20 Apr 2012 13:16:27 -0400 > Kristian Hoegsberg wrote: > >> On Thu, Apr 19, 2012 at 10:50:08PM -0400, cdah...@redhat.com wrote: >> > From: Casey Dahlin >> > >> > All outputs now have a unique integer ID

Re: [PULL wayland] fd leak checks and a socket fallback

2012-04-23 Thread Pekka Paalanen
On Sun, 22 Apr 2012 13:04:32 +0200 Thiago Macieira wrote: > On sexta-feira, 20 de abril de 2012 16.46.52, Pekka Paalanen wrote: > > Hi Kristian, > > > > finally I am getting the test framework up for my OS wrappers. I added > > automatic fd leak checks, and helpers for checking fd leaks through

Re: [PATCH 2/3] Add an id field to outputs

2012-04-23 Thread Pekka Paalanen
On Fri, 20 Apr 2012 13:16:27 -0400 Kristian Hoegsberg wrote: > On Thu, Apr 19, 2012 at 10:50:08PM -0400, cdah...@redhat.com wrote: > > From: Casey Dahlin > > > > All outputs now have a unique integer ID, allocated from a bitfield pool in > > the > > compositor. > > Committed this one with a f