Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [e4-dev] e4 0.9 splash screen?


As far as the choppy video is concerned. Most (all?) widget toolkits are single threaded. So if the startup sequence needs the UI, it needs to multiplexed to run alongside the animation already running on the UI. While it is on the UI thread it prevents the animation from running making it choppy. This is also a little far out - would it be possible to create an additional SWT Display (which would have its own independent event loop) just for the splash screen? The splash event loop would then be completely separate from the applications event loop.

AFAICT, there's no need to be in the UI thread to draw an image onto a GC -this is what I am doing in the current implementation of the animated splash screen-, thus no need to multiplex anything!
I fully agree with Kevin, any input can be converted/compressed to a set of images and be animated, unless of course we find a better way to deal with the animation (for example the "crazy idea" of Mindaugas ;) )

Ben

Back to the top