Index:
[thread]
[date]
[subject]
[author]
From: Marcus Sundberg <mackan@stacken.kth.se>
To : ggi-develop@eskimo.com
Date: Wed, 17 Feb 1999 00:47:53 +0000
New function ggiFlushRegion()
Hi,
a new function has been added to LibGGI:
/* Flush only the specified region if it would improve performance */
int ggiFlushRegion(ggi_visual_t vis, int x, int y, int w, int h);
As the comment suggest it's exactly the same as ggiFlush() except
that it will only flush the specified region on targets that can
do this - like the X target. On other targets it is identical to
ggiFlush().
This is very good for applications which are not constantly updating
the whole screen - ie most non-games, and some games also.
Currently only the X target takes advantage of the new fumctionality,
but targets like palemu and trueemu could also be improved to use it.
//Marcus
--
-------------------------------+------------------------------------
Marcus Sundberg | http://www.stacken.kth.se/~mackan/
Royal Institute of Technology | Phone: +46 707 295404
Stockholm, Sweden | E-Mail: mackan@stacken.kth.se
Index:
[thread]
[date]
[subject]
[author]