[Beignet] [PATCH v3 1/2] Add example to show v4l2 buffer sharing with extension clGetMemObjectFdIntel.

Zhenyu Wang zhenyuw at linux.intel.com
Thu Apr 9 01:56:13 PDT 2015


On 2015.04.09 08:41:20 +0000, Weng, Chuanbo wrote:
> What about design for import buffer possibly from EGL/libva?
> [Chuanbo]For GL, there is already a Khronos official extension(cl_khr_gl_sharing) which support create cl memory object from gl bo.
> 	      For libva, we have added extensions clCreateBufferFromLibvaIntel/clCreateImageFromLibvaIntel which support create
> 	      cl memory object from libva's VASurface or VAImage. Please see another example "libva_buffer_sharing" for details.

oh, that's still gem handle based which won't work for render node.
libva already can do dmabuf based buffer import/export, and I'm not
sure if beignet really needs specific API for all import customers,
or just provide own CL memory object import/export interface..

-- 
Open Source Technology Center, Intel ltd.

$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/beignet/attachments/20150409/a3644dfb/attachment.sig>


More information about the Beignet mailing list