On Sat, 15 Dec 2001, Pranay Kumar wrote: > Hi all, > > I use a Matrox G400 on X 4.1.0. I use Xv to put a Logo on a window and > then use XShmPutImage()[ RGB image using pixmap 24] to put my image. I > expected the Xv (overlay) to remain on top however that did not happen. > I thought overlay stays on top of everything in a window.
There a two sorts of "overlay" Traditional X overlay visuals and Xv overlays. IIRC Xv overlays are intended for video and do not normally remain for more than a frame. Traditional X overlays are permanent. > If this is the expected behaviour, how can I display a continuous logo > in a window whos contents keep changing. Since you have a matrox card you could traditional X overlays (most XFree86 supported hardware lacks the feature). Use overlay mode (8+24) and have a window (area of screen, it doesn't need a separate window manager) showing the logo using the overlay (pseudocolor) visual. This window will stay in front of whatever goes into the main frame-buffer, (that might not include Xv data such as a video stream - I haven't tried and know that the data is stored separately). You *might* be able to do something with the shape extension, but that might slow the screen down. -- Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge [EMAIL PROTECTED] http://www.dpmms.cam.ac.uk/~werdna _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
