Quote:
Originally Posted by fastrobot
But Nickel appears to continue to run stably as far as I can tell.
|
nickel crashes randomly for me if I stop it at the wrong time. It could also be to input events accumulating as you said, not sure. I do use the stop/cont in my AutoShelf mod which stops it as you unplug it from USB. This seems to work fine and you can modify the database at this point.
Quote:
Originally Posted by fastrobot
Of course, writing to the same screen that nickel is using is risky in it's own right, because there's nothing stopping nickel from reading that data and wanting to use it again
|
I don't think nickel reads the framebuffer data back for anything. So for example the dictionary that overlays part of the text, when it is removed it does not draw what was before in the framebuffer but it actually redraws the missing text itself. It's a partial redraw though, so if you damage a region that nickel still believes to be intact, you won't see nickel auto-repairing it - until you do something that causes nickel to redraw fully like flip the entire page.
Quote:
Originally Posted by fastrobot
Not that I fully understand what you are doing
Each application has it's own rotation
|
I draw to the screen without having to change rotation first. I.e. have an application that does not have its own rotation but just uses what is there.
That way you can do full screen drawing without having to worry about restore. And you can also do partial screen drawing like a popup window or just adding a clock in a screen corner or things like that.