Xserver doesn't support XvPutImage to Pixmap?

2010-02-16 Thread Matthew Fincham
Hi I have stolen the subject of this email from a previous post about the same topic. Currently I am using XvPutImage to display a video stream. The video needs to be overlayed with various items (pixmaps, text, custom drawing). As it stands there is a lot of flickering of the overlayed ite

Re: Xserver doesn't support XvPutImage to Pixmap?

2009-04-10 Thread Yuan Austin
On Thu, Apr 2, 2009 at 3:59 PM, Shengquan Yuan wrote: > Hi, > > I tried to use XvPutImage to draw into a pixmap, but it always returns > error. After tracing into Xserver, I found function > hw/xfree86/common/xf86xv.c:xf86XVPutImage checks whether the drawable > is WINDOW, if not, it returns BadAl

Re: Xserver doesn't support XvPutImage to Pixmap?

2009-04-10 Thread Keith Packard
On Fri, 2009-04-10 at 17:30 +0800, Yuan Austin wrote: > I tried to comment above two lines, then XvPutImage can draw into a > pixmap. I am not sure if it has side effect. No, I think that's a good patch. Can you post it to the X.org bugzilla against the X server so I can track that into a release

Re: Xserver doesn't support XvPutImage to Pixmap?

2009-04-10 Thread Maarten Maathuis
I think Xv is meant to also work for overlays, which obviously won't work on a pixmap. Maybe it's a safety so application developers don't do anything stupid. Maarten. On Fri, Apr 10, 2009 at 11:30 AM, Yuan Austin wrote: > On Thu, Apr 2, 2009 at 3:59 PM, Shengquan Yuan > wrote: >> Hi, >> >> I

Re: Xserver doesn't support XvPutImage to Pixmap?

2009-04-10 Thread Keith Packard
On Fri, 2009-04-10 at 19:05 +0200, Maarten Maathuis wrote: > I think Xv is meant to also work for overlays, which obviously won't > work on a pixmap. Maybe it's a safety so application developers don't > do anything stupid. Drivers are welcome to limit what applications can do with Xv, but the cor

Re: Xserver doesn't support XvPutImage to Pixmap?

2010-02-16 Thread Michel Dänzer
On Tue, 2010-02-16 at 10:39 +0200, Matthew Fincham wrote: > > Currently I am using XvPutImage to display a video stream. The video > needs to be overlayed with various items (pixmaps, text, custom > drawing). As it stands there is a lot of flickering of the overlayed > items. When this is double-

Re: Xserver doesn't support XvPutImage to Pixmap?

2010-02-16 Thread Matthew Fincham
On 16-02-10 11:29, Michel Dänzer wrote: > On Tue, 2010-02-16 at 10:39 +0200, Matthew Fincham wrote: > >> Currently I am using XvPutImage to display a video stream. The video >> needs to be overlayed with various items (pixmaps, text, custom >> drawing). As it stands there is a lot of flickerin

Re: Xserver doesn't support XvPutImage to Pixmap?

2010-02-16 Thread Michel Dänzer
On Tue, 2010-02-16 at 14:17 +0200, Matthew Fincham wrote: > On 16-02-10 11:29, Michel Dänzer wrote: > > On Tue, 2010-02-16 at 10:39 +0200, Matthew Fincham wrote: > > > >> Currently I am using XvPutImage to display a video stream. The video > >> needs to be overlayed with various items (pixmaps

Re: Xserver doesn't support XvPutImage to Pixmap?

2010-02-16 Thread Matthew Fincham
On 16-02-10 17:27, Michel Dänzer wrote: > On Tue, 2010-02-16 at 14:17 +0200, Matthew Fincham wrote: > >> On 16-02-10 11:29, Michel Dänzer wrote: >> >>> On Tue, 2010-02-16 at 10:39 +0200, Matthew Fincham wrote: >>> >>> Currently I am using XvPutImage to display a video stream.

Re: Xserver doesn't support XvPutImage to Pixmap?

2010-02-16 Thread Matthew Fincham
On 17-02-10 07:57, Matthew Fincham wrote: > On 16-02-10 17:27, Michel Dänzer wrote: > >> On Tue, 2010-02-16 at 14:17 +0200, Matthew Fincham wrote: >> >> >>> On 16-02-10 11:29, Michel Dänzer wrote: >>> >>> On Tue, 2010-02-16 at 10:39 +0200, Matthew Fincham wrote: >>>

Re: Xserver doesn't support XvPutImage to Pixmap?

2010-02-17 Thread Michel Dänzer
On Wed, 2010-02-17 at 08:13 +0200, Matthew Fincham wrote: > On 17-02-10 07:57, Matthew Fincham wrote: > > On 16-02-10 17:27, Michel Dänzer wrote: > > > >> On Tue, 2010-02-16 at 14:17 +0200, Matthew Fincham wrote: > >> > >> > >>> On 16-02-10 11:29, Michel Dänzer wrote: > >>> > >>>

Re: Xserver doesn't support XvPutImage to Pixmap?

2010-02-19 Thread Matthew Fincham
On 17-02-10 13:13, Michel Dänzer wrote: > On Wed, 2010-02-17 at 08:13 +0200, Matthew Fincham wrote: > >> On 17-02-10 07:57, Matthew Fincham wrote: >> >>> On 16-02-10 17:27, Michel Dänzer wrote: >>> >>> On Tue, 2010-02-16 at 14:17 +0200, Matthew Fincham wrote: