"NewManLiving" wrote:
My mild frustration (and it is mild - I have great respect for you) is your (and a couple of others) implication that is for the most part useless.
I didn't mean to come across like that. I don't think it's useless at all. I've just struggled to find a viable way to use it when my UIs require some of the effects I referred to above (primarily text and fades). And as I stated, my framework allows me to very easily manage the placement and animation of objects on screen without having to do any complex tracking. The way I've implemented that may be a very worthwhile conversation for us to have at some point, as, if I understand you correctly, it'd likely benefit your implementation as well.
"NewManLiving" wrote:
Even with the compositor you still have to manage memory and perhaps even more so if your application is "screen" centered, or where the background takes a prominent role. In my video module I use a grid and some menus, I also use semi-transparent lists that display over the video to allow the user to select different options or save video references. There is animation, exploding/fading menus and -There is still plenty of memory left.
I believe you mentioned before that you're developing on a Roku 3. If that's the case, exclusively, that could very well explain our disconnect here. The Roku 3 will take just about anything you can throw at it without issue, but try running the same code on a Roku 2 (current or previous generation, though current generation seems a lot more sluggish) and you may be surprised. If you haven't tried that, I'd encourage you to do so, and the source of my apprehension may become much more evident, particularly when video is involved. For example, on my Roku 2 XD, if I load two screens worth bitmaps (e.g., background image, 15 posters, overhang, and miscellaneous icons) into memory while video is playing, things quickly become unpredictable and painfully sluggish, so using up additional memory creating bitmaps for use as sprites instead of drawing directly to the screen makes me nervous.
In an ideal world, I could limit my 2D based channels to the Roku 3 platform, but that's not a realistic option, so I have to ensure the UI works and is responsive on multiple platforms. I test everything on at least four different Roku platforms (Roku 3, Roku 2 (current gen), Roku 2 XD, Roku LT (previous gen), and an original first gen Roku, if necessary), and the result can vary
wildly. As I said, though, your passion for it has intrigued me enough to investigate the compositor further this weekend. I'm very curious, memory management aside, to see if the lower end platforms will show a performance boost using it.
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)