tchiwam wrote:
> I don't know if this belong here at all so please reply so reply to me
> directly.
>
> I am Writing some simple GLX viewer and I am wondering what is the best
> way to handle resize and move since one render takes few seconds. I know
> that expose has a count that you can use to redraw, but for the Configure
> Notify what is the best way to Fix it so it doesn't redraw all the frames
> on each resize or move step ?
Philippe,
I'll add to Mark's comments by saying some hw/driver configurations can
help minimize expose events. If your hardware supports RGB overlays,
and the driver supports two seperate cliplists for image and overlay
planes, then expose events can be minimized. Your GUI (including all
pop up and transient windows) would run in the overlays (they would need
to be your default visual), and then your application should create it's
main viewing window in the image planes. In this configuration,
transient overlay windows do not destroy color data in the image planes.
Consequently, the server would not need to generate expose events for
this case.
Regards,
Jens
--
/\
Jens Owen / \/\ _
[EMAIL PROTECTED] / \ \ \ Steamboat Springs, Colorado
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert