Index: [thread] [date] [subject] [author]
  From: Jon M. Taylor <taylorj@gaia.ecs.csus.edu>
  To  : Garrett B <mongoose@wpi.edu>
  Date: Fri, 18 Jun 1999 17:14:27 -0700 (PDT)

Re: Async mode and double buffering

On Fri, 18 Jun 1999, Garrett B wrote:

> Is there any point in using double buffering when using GGIFLAG_ASYNC mode to
> avoid tearing? 

	Yes.

> Because when your drawing to the visual the visual will never
> update until you call a ggiFlush() right? 

	Yes, but in order for this to work you have to be sure that
ggiFlush() is called during the vblank interval when the screen is not being
redrawn.  Currently the only target which supports the GGIMisc extension's
ggiWaitRayPos() function is the SVGALib target, so....

> Im only running GGI on X right now so
> Im not sure about other targets. 

	With X you will need to use double buffering.  Actually you really
should always use double buffering so that targets which support hardware
pageflipping can be taken advantage of.

Jon

---
'Cloning and the reprogramming of DNA is the first serious step in 
becoming one with God.'
	- Scientist G. Richard Seed

Index: [thread] [date] [subject] [author]