Re: [Mesa-dev] [v8 8/9] egl/dri2: support for creating images out of dma buffers

2013-07-25 Thread Chad Versace
On 07/24/2013 11:22 PM, Pohjolainen, Topi wrote: On Wed, Jul 24, 2013 at 05:02:50PM -0700, Chad Versace wrote: On 07/24/2013 03:23 AM, Topi Pohjolainen wrote: + + /** +* The spec says: +* +* "If is EGL_LINUX_DMA_BUF_EXT, and the EGL_LINUX_DRM_FOURCC_EXT +* attribute indica

Re: [Mesa-dev] [v8 8/9] egl/dri2: support for creating images out of dma buffers

2013-07-24 Thread Pohjolainen, Topi
On Wed, Jul 24, 2013 at 05:02:50PM -0700, Chad Versace wrote: > On 07/24/2013 03:23 AM, Topi Pohjolainen wrote: > >v2: > >- upon success close the given file descriptors > > > >v3: > >- use specific entry for dma buffers instead of the basic for > > primes, and enable the extension bas

Re: [Mesa-dev] [v8 8/9] egl/dri2: support for creating images out of dma buffers

2013-07-24 Thread Chad Versace
On 07/24/2013 03:23 AM, Topi Pohjolainen wrote: v2: - upon success close the given file descriptors v3: - use specific entry for dma buffers instead of the basic for primes, and enable the extension based on the availability of the hook v4 (Chad): - use ARRAY_SIZE -

[Mesa-dev] [v8 8/9] egl/dri2: support for creating images out of dma buffers

2013-07-24 Thread Topi Pohjolainen
v2: - upon success close the given file descriptors v3: - use specific entry for dma buffers instead of the basic for primes, and enable the extension based on the availability of the hook v4 (Chad): - use ARRAY_SIZE - improve the comment about the number of file descriptors