"Komag" wrote:
You guys might agree more than you think and just be accidentally talking past each other here 8-)
I, too, think this might be the case. One argument seems to be about using the compositor vs. the other about using region offsetting, which are two different aspects of the application. I think all RokuMarkn is saying is that using the roCompositor, while it may be easier in code to redraw the whole screen, doesn't really provide any significant performance improvement. I think both agree that the bulk of the performance boost comes from using region offsetting.
"NewManLiving" wrote:
But it is supposed to know when a
Sprite is dirty as opposed to changing one pixel and still have to redraw
The entire screen.
It is supposed to, per the documentation, but in my experience, I always have to call DrawAll() unless I want to get "smearing" on the screen. Also, bizarrely, calling Draw() seems to take significantly longer than calling DrawAll(), which is the opposite of what one would expect, and defeats the whole purpose behind it (unless I'm completely misunderstanding how it's supposed to work).
"NewManLiving" wrote:
All indications point to the fact that no one including you, took a serious look at the grid I posted here months ago. Even a cursory look indicates that I'm not creating a ton of sprites and Offsetting them.
To be clear, I did a deep dive into your code when you first posted it. I imagine at the time, I was more aware of how you were using the compositor, but that was a long time ago, and as I noted above, logic (especially when coupled with your enthusiasm) would suggest if you're using the compositor you'd be doing so to take advantage of the sprites, and not just to make it easier to draw the screen. Your coding style is also a lot different than mine, so something that is obvious to you, may not be so to others looking at it. My main point being, it is very much appreciated that you've shared your code, and I don't want you to be discouraged from continuing to do so!
[spoiler=For fun...:2bszjmg0]
[/spoiler:2bszjmg0]
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)