page: add caching from Plan 9

http://codereview.appspot.com/105070
This commit is contained in:
Fazlul Shahriar 2009-08-09 20:13:48 -04:00
parent 3c6ab1854e
commit b3453e08b8
5 changed files with 212 additions and 56 deletions

View file

@ -96,6 +96,8 @@ void wexits(char*);
Image* xallocimage(Display*, Rectangle, ulong, int, ulong);
int bell(void*, char*);
Image* convert(Graphic *g);
Image* cachedpage(Document*, int, int);
void cacheflush(void);
extern int stdinfd;
extern int truecolor;