Re: [Libva] Filling in surface with black pixels

2015-10-28 Thread Ratin
Actually it is not perfect, looks like there the black pixels does not cover the entired window, it blends some other color (dark blue in my case) around the edge of the window. Very odd. On Wed, Oct 28, 2015 at 6:17 PM, Ratin wrote: > Hi Gwenole, Many thanks for your response. I need this becau

Re: [Libva] Filling in surface with black pixels

2015-10-28 Thread Ratin
Hi Gwenole, Many thanks for your response. I need this because I have to indicate that there is video feed loss. So far I was creating a GLX context for the particular window and render black pixels, but that ended up causing some issues. Now I ended up creating a 10x10 pixel yuv image, keep data

Re: [Libva] Filling in surface with black pixels

2015-10-28 Thread Gwenole Beauchesne
Hi, 2015-10-27 20:04 GMT+01:00 Ratin : > Hi All, > Is there an efficient alternate method of filling a surface with lets say > all black pixels rather than using vaPutsurface with a black background > image? Trying not to use glx for that because of some issues I am seeing > mixing glx contexts

[Libva] Filling in surface with black pixels

2015-10-27 Thread Ratin
Hi All, Is there an efficient alternate method of filling a surface with lets say all black pixels rather than using vaPutsurface with a black background image? Trying not to use glx for that because of some issues I am seeing mixing glx contexts / swapbuffer calls on windows associated with VAAP