Index: [thread] [date] [subject] [author]
  From: Andreas Beck <becka@rz.uni-duesseldorf.de>
  To  : ggi-develop@eskimo.com
  Date: Wed, 18 Aug 1999 23:22:13 +0200

Re: Accels and /dev/gfx.

> > 95% of the apps can redraw quickly. The other 5% can think about what they
> > need to save and simply do so. Especially with LibGGI this is trivial.
> > ggiCrossblit(vis,0,0,width,height,memvisual,0,0);

> Much more simple is ggiGetBox(vis, 0, 0, width, height, malloced_mem)

Right you are, if the app wants to stop drawing at this point. Then this
method is better, as it is faster and uses less ressources.

If it wants to keep updating its visual (which is probably likely for 
the kind of apps that might not want to redraw), the Crossblit method
has the advantage, that with a simple swap of the active visual to which
stuff is drawn, you can run on undisturbed.

CU, ANdy

-- 
= Andreas Beck                    |  Email :  <andreas.beck@ggi-project.org> =


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