On Sat, 15 Jun 2002, Mark Vojkovich wrote:

> On Sat, 15 Jun 2002, Yuri van Oers wrote:
>
> > There has to be some way of blitting a simple RGB image to a window,
> > without the use of something like Qt or Gtk, hasn't there?
> > (Main reason for not using Qt et al. is speed.)
>
>    XShmPutImage.  Or XPutImage if not local or shared memory is not
> available.  XShmPutImage can be considerably faster for local
> connections.

XShmPutImage and XPutImage should behave about the same, no?
I've been messing with XPutImage, but for some reason I just can't get it
to do what I want. My RGB image is turned into nonsense when
XPutImage'ing.

What should I use; ZPixmap? In that case, what's the RGB format; ARGB or
something else (I need RGB)?

Thanks,
Yuri

_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to