Re: [Libva] [PATCH v3 intel-driver] Add support for new VA buffer export APIs.

2014-08-26 Thread Gwenole Beauchesne
Hi, 2014-08-26 7:34 GMT+02:00 Xiang, Haihao : > On Mon, 2014-08-25 at 11:44 +0200, Gwenole Beauchesne wrote: >> Hi, >> >> 2014-08-22 10:48 GMT+02:00 Xiang, Haihao : >> > >> >> Implement va{Acquire,Release}BufferHandle() hooks so that to allow >> >> VA surface or VA image buffer sharing with thirdp

Re: [Libva] [PATCH v3 intel-driver] Add support for new VA buffer export APIs.

2014-08-25 Thread Xiang, Haihao
On Mon, 2014-08-25 at 11:44 +0200, Gwenole Beauchesne wrote: > Hi, > > 2014-08-22 10:48 GMT+02:00 Xiang, Haihao : > > > >> Implement va{Acquire,Release}BufferHandle() hooks so that to allow > >> VA surface or VA image buffer sharing with thirdparty APIs like EGL, > >> OpenCL, etc. > > > > The type

Re: [Libva] [PATCH v3 intel-driver] Add support for new VA buffer export APIs.

2014-08-25 Thread Gwenole Beauchesne
Hi, 2014-08-22 10:48 GMT+02:00 Xiang, Haihao : > >> Implement va{Acquire,Release}BufferHandle() hooks so that to allow >> VA surface or VA image buffer sharing with thirdparty APIs like EGL, >> OpenCL, etc. > > The type of the 2nd parameter of vaAcquireBufferHandle() is VABufferID, > so user can't

Re: [Libva] [PATCH v3 intel-driver] Add support for new VA buffer export APIs.

2014-08-22 Thread Xiang, Haihao
> Implement va{Acquire,Release}BufferHandle() hooks so that to allow > VA surface or VA image buffer sharing with thirdparty APIs like EGL, > OpenCL, etc. The type of the 2nd parameter of vaAcquireBufferHandle() is VABufferID, so user can't use the two APIs directly for a VA surface, instead user

[Libva] [PATCH v3 intel-driver] Add support for new VA buffer export APIs.

2014-08-13 Thread Gwenole Beauchesne
Implement va{Acquire,Release}BufferHandle() hooks so that to allow VA surface or VA image buffer sharing with thirdparty APIs like EGL, OpenCL, etc. v2: made sure to sync bo before export, improved VA buffer type check. v3: tracked internal resources on acquire, disposed them on release. Signed-o

Re: [Libva] [PATCH v3 intel-driver] Add support for new VA buffer export APIs.

2014-08-13 Thread Gwenole Beauchesne
Hi, 2014-08-13 18:45 GMT+02:00 Gwenole Beauchesne : > Implement va{Acquire,Release}BufferHandle() hooks so that to allow > VA surface or VA image buffer sharing with thirdparty APIs like EGL, > OpenCL, etc. > > v2: made sure to sync bo before export, improved VA buffer type check. > v3: tracked in