[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Swapping Double Buffers?
- From: Havoc Pennington <rhp zirx pair com>
- To: gtk-app-devel-list redhat com
- Subject: Re: Swapping Double Buffers?
- Date: Sun, 6 Jun 1999 18:56:35 -0400 (EDT)
On Sun, 6 Jun 1999, SEGV wrote:
> Now, in my case, every drawing is different. I never need to reuse
> them. I know that DirectWhatever has operations for swapping these
> buffers directly, thus saving the copy operation. I would like to do
> the same.
>
> That is, I want to just swap in the offscreen buffer for the onscreen
> buffer. I want to save the copy operation, because I do not need to
> preserve either buffer.
>
> How can I do that? Is it possible? Can it be done without flicker?
> Please offer suggestions, or reasons why it cannot be done.
>
I don't think X supports this, but I could be wrong.
Remember that you're dealing with something a good bit more high-level
than DirectX.
I suppose it's possible that some X servers implement this sort of
optimization transparently, but it's more possible that they don't.
No code that I've seen in Gtk or Gnome does anything like this.
Havoc
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]