Using XVideo extension?
Florian Harmuth
florian.harmuth at googlemail.com
Tue Dec 11 05:20:09 PST 2007
Hello again,
i hope that this will be my last post ;-). How can i connect the data of
pixmap and my XImage struct? I should use the data of my XImage struct
instead of the pixmap in the XRenderCreatePicture(pixmap) call. Right? ->
regards,
flo
2007/12/10, Peter Harris <peter.harris at hummingbird.com>:
> >
> > XRenderCreatePicture(window)
>
> XCreatePixmap()
> XRenderCreatePicture(pixmap)
> # If the input size is constant, the above only need to be done once
>
> XRenderSetPictureTransform(pixmap_picture)
> # The above line is only needed when the amount of stretch changes
>
> XPutImage(pixmap) # XImage struct used here
> XRenderCompositeImage(pixmap_picture, null_mask, window_picture)
>
> # Free pictures and pixmap here, unless cached
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20071211/0c9a6b1c/attachment.html>
More information about the xorg
mailing list