Quote:
Originally Posted by ericshliao
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