black background and HW acceleraed rendering

Ratin ratin3 at gmail.com
Fri May 10 08:07:27 PDT 2013


Hi Alex, Thanks for your response. I am using VDPAU API for Nvidia GPUs and
windows created with simple Xlib calls, so when I destroy the presentation
queue, the window becomes green, I tried VDPAU background color but that I
believe will go away when presentation queue is destroyed.


On Fri, May 10, 2013 at 8:00 AM, Alex Deucher <alexdeucher at gmail.com> wrote:

> On Fri, May 10, 2013 at 10:41 AM, Ratin <ratin3 at gmail.com> wrote:
> > Hi All, I am using hardware accelerated video rendering on X windows, I
> want
> > to set the default background color for windows to be black. It seems
> that
> > every effort of doing that fails, i.e. when the HW accelerated video
> display
> > queue is terminated, I end up with a green window, not black or alpha
> > blended window showing whatever left at the GPU queue. I wanted to know
> if
> > there is a way I can guarantee it will always be black when the HW
> backend
> > process finishes with the window. Any body got any clue?
>
> It depends on the hardware/player/API.  What combination are you using?
>
> If you are using a video overlay with Xv for example, you can set the
> colorkey to black via Xv attributes.
>
> Alex
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20130510/bcb000e9/attachment.html>


More information about the xorg mailing list