View Single Post
Old 04-24-2013, 07:52 AM   #57
yoq
Developer
yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.
 
Posts: 77
Karma: 206176
Join Date: Apr 2013
Location: Europe
Device: Kobo Glo
Quote:
Originally Posted by Lucas Malor View Post
Hey, good work

Do you know if there's a way to suppress the refreshing and add an invert after the page load? I mean, normally the screen is inverted before the page is displayed. With this hack we add another inversion after. It is a simple way to get the things working, but it will be less resource consuming if the page will be displayed, and inverted after it.
I intercept the update-screen-command from nickel to the display driver and flip the flag that determines whether the screen is drawn negative. So when nickel does a page refresh it just sets this flag and issues the command. All my hack does is invert this flag, so there shouldn't be any unecessary drawing on the screen.
yoq is offline   Reply With Quote