[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Swapping Double Buffers?



Don't get me wrong, I have double buffering without flicker. I just want to
eliminate the useless (in my case) copy operation from the offscreen to
onscreen buffer.

Does the GTK+ drawing area widget use MITSHM internally in its
implementation? I'd hate to get that low level myself. If not, perhaps that
capability could be encapsulated by the widget.

I've never used MITSHM but keep hearing about it. Please feel free to send
me more details, links, etc.

----- Original Message -----
From: Christopher T. Lansdown <lansdoct@screech.cs.alfred.edu>
To: <gtk-app-devel-list@redhat.com>
Sent: Sunday, June 06, 1999 6:39 PM
Subject: Re: Swapping Double Buffers?


> SEGV,
> Now, I could be completely wrong here, butit sounds like what you
> want to do is have two mitshm areas with the X server and then when you
> are ready to switch buffers, simply tell it to use the second area as the
> one to draw.  I don't know if that capability exists in mitshm.  Does
> anyonw else know if mitshm can do it?  I've never really dealt with it to
> know.  Also, you might want to take a look at how the gnome canvas does
> this, because it supposedly does dubble buffering without flicker.
> -Chris
>
> lansdoct@cs.alfred.edu
> "If I had had more time I would have written you a shorter letter." -
Pascal
> Linux Programs: http://cs.alfred.edu/~lansdoct/linux/
> Linux - Get there. Today.
>
>
> --
>          To unsubscribe: mail gtk-app-devel-list-request@redhat.com with
>                        "unsubscribe" as the Subject.
>
> Mailing list concerns should be mailed to <listmaster@redhat.com>
>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]