Re: First pass at double-buffered drawing
- From: Miguel de Icaza <miguel gnu org>
- To: gtk-devel-list redhat com
- CC: gtk-devel-list redhat com, recipient list not shown: ;
- Subject: Re: First pass at double-buffered drawing
- Date: Thu, 25 Nov 1999 08:01:12 -0600
> Since there seems to be a strong interest in the idea
> of double-bufferingback, I've checked my current working
> tree into CVS on the branch gtk-no-flicker.
Very nice!
I tried to figure out on my own a few things, please tell me if I am
correct:
1. The idea is to have as many window-less widgets as possible
to take as much advange of the setup.
2. I could not figure out how you do the double buffering.
I saw you create the backing pixmap. But say the pixmap is
not relative to 0,0, but to 10, 10, and you draw a line
from 0,0 to 20,20 that it actually needs to call XDrawLine
with -10,-10, 10,10?
Miguel.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]