destruk
13 years agoStreaming Star
Optimizing roImageCanvas?
For small menus with fewer than 5 highlighted options, it's really fast to draw everything and then use swaplayers() to switch between selections.
For screens with much more variation this isn't very practical. What I'm seeing is it takes 2 or 3 seconds to redraw the full screen with the updated graphics and text to display.
What's worse is if the roku is busy drawing stuff, then it misses the Home button on the remote if the wait(X,port) interval is set too small. ie
Wait(100,port) with redrawing the screen every six 'invalid' timeout intervals makes the box unresponsive to the remote at all requiring a reboot.
Besides switching between roimagecanvas to display the video, and roscreen to display what I need there, are there any possibilities I'm missing for roImageCanvas to be faster?
For screens with much more variation this isn't very practical. What I'm seeing is it takes 2 or 3 seconds to redraw the full screen with the updated graphics and text to display.
What's worse is if the roku is busy drawing stuff, then it misses the Home button on the remote if the wait(X,port) interval is set too small. ie
Wait(100,port) with redrawing the screen every six 'invalid' timeout intervals makes the box unresponsive to the remote at all requiring a reboot.
Besides switching between roimagecanvas to display the video, and roscreen to display what I need there, are there any possibilities I'm missing for roImageCanvas to be faster?