I would like to make my Xvideo appear translunent by using alpha blending of my video image against the "desktop background". However, each time before the before any of the Xv PutImage() is invoked, after the window is created, it appears that the background of the window has already been painted to some color, like black. I would like to prevent such things from happening.
Thanks, Wei-Chong Tan. --- Mark Vojkovich <[EMAIL PROTECTED]> wrote: > Perhaps you could explain what you are trying to > do? > The driver itself is responsible for painting the > color > key, and automatic painting of the key is usually > optional behavior. One gets the idea that whatever > you > are trying to do, you are going about it the wrong > way. > > > Mark. > > On Sun, 28 Sep 2003, Wei Chong wrote: > > > Hello, > > > > I would like to know which function is responsible > to > > paint the window's background colorkey before any > > video image is display in the XVideo extension? > > > > I did a crash in my PutImage() to see the stack > trace > > but i only see... > > main() --> Dispatch() --> ErrorMessage() --> > > xf86PutImage() --> my PutImage(). > > > > I looked into xf86PutImage() but didn't see any > code > > that actually paint the window's background color. > I > > would like to either: > > 1. Intercept the code that do actual painting and > > refrain it from doing so. > > OR > > 2. Obtain a snapshot of the background image being > > written over by the painting process before it > occurs. > > > > Thanks, > > Wei-Chong. > > > > __________________________________ > > Do you Yahoo!? > > The New Yahoo! Shopping - with improved product > search > > http://shopping.yahoo.com > > _______________________________________________ > > Devel mailing list > > [EMAIL PROTECTED] > > http://XFree86.Org/mailman/listinfo/devel > > > > _______________________________________________ > Devel mailing list > [EMAIL PROTECTED] > http://XFree86.Org/mailman/listinfo/devel __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com _______________________________________________ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel