View Single Post
Old 04-24-2009, 08:23 AM   #98
Antartica
Evangelist
Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.
 
Antartica's Avatar
 
Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
Quote:
Originally Posted by ericshliao View Post
Is it possible for xepdmgr (or xepdmgrclient) to provide a function for apps to control writing to fbdev in advance?

How about:

EpdCancel(sEpd *Epd); // Unlike EpdFlush(), canel timeouts but just discards any pending refresh

This way, the app could do the following:

Code:
EpdRefreshAuto(Epd,0)
.
.
// Here the app updates the fbdev and does the ioctl to update the screen
// After that it would refresh the X window
.
.
EpdCancel(Epd);
EpdRefreshAuto(Epd,1);
Does that sounds right? If it is, say so, and I'll add the EpdCancel() function to xepdmgrclient.c

Last edited by Antartica; 04-24-2009 at 08:26 AM.
Antartica is offline   Reply With Quote