Re: Additional pixel formats for wl_shm

2013-05-10 Thread Pekka Paalanen
On Wed, 8 May 2013 12:22:10 -0400 Kristian Høgsberg wrote: > On Wed, May 08, 2013 at 10:29:21AM +0300, Pekka Paalanen wrote: > > On Thu, 2 May 2013 10:23:04 +0300 > > Pekka Paalanen wrote: > > > > > On Wed, 1 May 2013 21:38:48 -0400 > > > Kristian Høgsberg wrote: > > > > > > > On Fri, Apr 26,

Re: Additional pixel formats for wl_shm

2013-05-08 Thread Kristian Høgsberg
On Wed, May 08, 2013 at 10:29:21AM +0300, Pekka Paalanen wrote: > On Thu, 2 May 2013 10:23:04 +0300 > Pekka Paalanen wrote: > > > On Wed, 1 May 2013 21:38:48 -0400 > > Kristian Høgsberg wrote: > > > > > On Fri, Apr 26, 2013 at 04:08:01PM +0300, Pekka Paalanen wrote: > > > > Hi Kristian, > > > >

Re: Additional pixel formats for wl_shm

2013-05-08 Thread Pekka Paalanen
On Thu, 2 May 2013 10:23:04 +0300 Pekka Paalanen wrote: > On Wed, 1 May 2013 21:38:48 -0400 > Kristian Høgsberg wrote: > > > On Fri, Apr 26, 2013 at 04:08:01PM +0300, Pekka Paalanen wrote: > > > Hi Kristian, > > > > > > I'm working on Raspberry Pi, where the VideoCore can deal directly > > > w

Re: Additional pixel formats for wl_shm

2013-05-01 Thread Kristian Høgsberg
On Fri, Apr 26, 2013 at 04:08:01PM +0300, Pekka Paalanen wrote: > Hi Kristian, > > I'm working on Raspberry Pi, where the VideoCore can deal directly with > a large number of pixel formats. However, wl_shm only exposes ARGB and > XRGB 32-bit per pixel formats, which on such tiny devices are very >

Re: Additional pixel formats for wl_shm

2013-04-28 Thread Pekka Paalanen
On Sun, 28 Apr 2013 15:48:09 +0900 Cedric BAIL wrote: > Hello, > > On Fri, Apr 26, 2013 at 10:13 PM, Pekka Paalanen wrote: > > I'm working on Raspberry Pi, where the VideoCore can deal directly with > > a large number of pixel formats. However, wl_shm only exposes ARGB and > > XRGB 32-bit per p

Re: Additional pixel formats for wl_shm

2013-04-26 Thread Bill Spitzak
I would reuse PIXMAN_FORMAT for these values. No reason to come up with yet another enumeration. Though it means the current wl_shm values have to change, except it looks like 0 and 1 (and in fact any number less than 0x100) don't make any logical PIXMAN_FORMAT values so maybe they can be s

Re: Additional pixel formats for wl_shm

2013-04-26 Thread Pekka Paalanen
On Fri, 26 Apr 2013 09:09:28 -0500 Jason Ekstrand wrote: > pq, > On Fri, Apr 26, 2013 at 8:13 AM, Pekka Paalanen wrote: > > > Hi Kristian, > > > > I'm working on Raspberry Pi, where the VideoCore can deal directly with > > a large number of pixel formats. However, wl_shm only exposes ARGB and >

Re: Additional pixel formats for wl_shm

2013-04-26 Thread Jason Ekstrand
pq, On Fri, Apr 26, 2013 at 8:13 AM, Pekka Paalanen wrote: > Hi Kristian, > > I'm working on Raspberry Pi, where the VideoCore can deal directly with > a large number of pixel formats. However, wl_shm only exposes ARGB and > XRGB 32-bit per pixel formats, which on such tiny devices are very > was

Additional pixel formats for wl_shm

2013-04-26 Thread Pekka Paalanen
Hi Kristian, I'm working on Raspberry Pi, where the VideoCore can deal directly with a large number of pixel formats. However, wl_shm only exposes ARGB and XRGB 32-bit per pixel formats, which on such tiny devices are very wasteful. Would it be acceptable to add more formats to the wl_shm formats