Re: [Mesa-dev] egl dma-buf export extension again

2015-03-04 Thread Daniel Stone
Hi, On 3 March 2015 at 23:26, Kristian Høgsberg wrote: > On Tue, Mar 3, 2015 at 10:43 AM, Chad Versace wrote: >> Please use EGLImages as the import/export object. That provides >> consistency with existing similar EGL APIs. And it allows a clean >> separation between EGL-aware code and GL-aware

Re: [Mesa-dev] egl dma-buf export extension again

2015-03-03 Thread Kristian Høgsberg
On Tue, Mar 3, 2015 at 10:43 AM, Chad Versace wrote: > On 03/02/2015 09:36 PM, Dave Airlie wrote: >> On 3 March 2015 at 13:57, Dave Airlie wrote: >>> >>> Okay I've revised this to add some more info to the interface, >>> essentially I need to get the fourcc back so I can later pass >>> it across

Re: [Mesa-dev] egl dma-buf export extension again

2015-03-03 Thread Chad Versace
On 03/02/2015 09:36 PM, Dave Airlie wrote: > On 3 March 2015 at 13:57, Dave Airlie wrote: >> >> Okay I've revised this to add some more info to the interface, >> essentially I need to get the fourcc back so I can later pass >> it across the "wire" to the EGL_EXT_image_dma_buf_import, also >> the n

Re: [Mesa-dev] egl dma-buf export extension again

2015-03-02 Thread Dave Airlie
On 3 March 2015 at 13:57, Dave Airlie wrote: > > Okay I've revised this to add some more info to the interface, > essentially I need to get the fourcc back so I can later pass > it across the "wire" to the EGL_EXT_image_dma_buf_import, also > the number of planes (though for my usecase I don't car

[Mesa-dev] egl dma-buf export extension again

2015-03-02 Thread Dave Airlie
Okay I've revised this to add some more info to the interface, essentially I need to get the fourcc back so I can later pass it across the "wire" to the EGL_EXT_image_dma_buf_import, also the number of planes (though for my usecase I don't care so much). The problem with EGL_MESA_drm_image is tha