PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Dynamo - animated task switcher using screenshots

Image

Dynamo is the first animated task manager for Pocket PC which displays screenshots of all running applications.

Visit www.aspecto-software.com for more info
jsjohnson · 27 May 2004, 17:19 UTC — nice
Looks pretty cool, I'll have to check it out!
Since only one image is being dynamically sized at a time you could easily use bilinear filtering, which would greatly increase the quality of the images.

Dan East
Dan East wrote:Since only one image is being dynamically sized at a time you could easily use bilinear filtering, which would greatly increase the quality of the images.

Dan East


No they are all resized continuouly when dynamo is activated. THe current window zooms out and the others zoom in from 0 width and 0 height at the centre. And in the example above say more windows were closed to only 4 are left, they would zoom in so all 4 take up and equal amount of the screen.

At the moment its just using basic GDI scaling, however we might switch to direct draw or pockethal if we find a suitable and easy to implement algorithm.
Dave Johnston · 27 May 2004, 20:10 UTC
Whoa, neat program!

indiekiduk":2quejv8e]

There are two things going on - firstly the screenshots are scaled up/down until they all fit on the screen. Once they've settled on their sizes, the user then picks on. When they do, the chosen window scales back up again.

How about then, you only use bilinear filtering on the small images? That is, only use bilinear filtering once the images have stopped scaling. When they need to animate you can use the standard GDI scaling. Then the user doesn't have to look at ugly aliased images while they decide which program they want to use.

It'd certainly be an easyish way to make the program instantly look better.
Doesnt it leave quite a memory footprint?
Not really. ONly 225K per pic and 12 is pretty much the maximum number of apps you can have open at one time as Pocket PCs memory management system automatically closes apps that are running in the background.
Bilinear filtering is taking 30 seconds per image! Forgot to mention if you move the stylus over the thumbnail it actually enlarges it so you can see it more clearly.
Looks like Exposé in MacOSX Panther =)
225k is quite a lot. Almost 3 MB for 12 apps! Is there any way to do a quick conversion to jpeg or something? :-S
How often do you have 12 apps open? Memory footprint isn't bad at all.
maverick808 · 28 May 2004, 15:46 UTC
Hi, i'm the other developer of Dynamo. Cool to see that some of you are liking it and good to get useful thoughts and opinions.

As indiekid said, yesterday we tried adding bilinear filtering and it was far far too slow on the iPAQ. As it is version 1.0 runs smoothly on our 5450 (which is quite a slow ipaq) and really smoothly on our 5550. We feel that smooth and quick responses are quite critical as it is a task manager which isn't something you want to be waiting on.

We will try storing compressed formats of the images soon but to be honest i think that it might slow it down too much. Actually, we had one version in which you could have a custom background image but even this simple bit of extra drawing slowed it down a little so we decided to take that out. Given the choice i'll go for higher memory usage rather than slower response and animation times.

I've tried to open as many apps as i can with Dynamo running. So far i've not been able to get the OS to keep more than about 13 or 14 open and the memory use here was under 4MB. I think 4MB mem use is totally acceptable for this app.

Please keep the comments coming in as we'd like to hear what people think and try to improve dynamo. At the moment i'm working on trying to speed it up just a little so that we can put the custom background image back in as well as playing around with the animation styles a bit. Hopefully in later versions you'll be able to choose from different animations.
I can do bilinear filtering in Varium (3D engine) and still have a decent FPS (>15 FPS). As graphically intensive as your application is, you are far better off to competely do away with GDI routines and directly access the display (via PocketHAL for maximum performance). Then you woud code the bilinear filtering algorithm yourself.

Also if you are using any floating point math then that would absolutely kill performance as well.

Dan East
maverick808 · 30 May 2004, 11:24 UTC
Thanks for the tip Dan. We're looking into using pockethal now. Looks great. The website claims it runs faster than gapidraw. You have any experience with that, do you think it is faster?

Thanks,
Mav