[RFC] clients: add simple-dmabuf

2013-10-21 Thread David Herrmann
simple-dmabuf is an example client which shows how to write wayland clients that use render-nodes for hardware-accelerated rendering and pass the buffer via dmabuf to the compositor. No mesa/EGL extensions are needed! Instead we pass dmabufs as wl_shm buffers to the compositors. This allows us to u

Re: [RFC] clients: add simple-dmabuf

2013-10-22 Thread David Herrmann
Hi On Mon, Oct 21, 2013 at 11:32 PM, David Herrmann wrote: > simple-dmabuf is an example client which shows how to write wayland > clients that use render-nodes for hardware-accelerated rendering and pass > the buffer via dmabuf to the compositor. No mesa/EGL extensions are > needed! Instead we p

Re: [RFC] clients: add simple-dmabuf

2013-10-27 Thread Axel Davy
On 22/10/2013 17:23, David Herrmann wrote : Btw., I got this working with i915 by allowing GEM_OPEN/GEM_FLINK on the render-node. So if someone else tests this, you might need the same hacks. I will try to find the code in mesa that requires this. David This comes from 'intel_region_alloc_for_

Re: [RFC] clients: add simple-dmabuf

2013-10-27 Thread Axel Davy
On 22/10/2013 17:23, David Herrmann wrote : Btw., I got this working with i915 by allowing GEM_OPEN/GEM_FLINK on the render-node. So if someone else tests this, you might need the same hacks. I will try to find the code in mesa that requires this. David This comes from 'intel_region_alloc_fo

Re: [RFC] clients: add simple-dmabuf

2013-10-28 Thread David Herrmann
Hi Axel On Mon, Oct 28, 2013 at 12:34 AM, Axel Davy wrote: > > On 22/10/2013 17:23, David Herrmann wrote : > > Btw., I got this working with i915 by allowing GEM_OPEN/GEM_FLINK on > the render-node. So if someone else tests this, you might need the > same hacks. I will try to find the code in mes