Sandro Martini wrote: > Hi to all, > sorry, some other hints on this subject. > > As effects, we could have the following categories (and handle on/off > when desired): > - animations (like animated images or movies) > - transitions (like fading or sliding) > - gradients > - transparencies (like for menus, popups, etc) > - background (with gradient, with watermark, with vectorial drawings, etc) > - others ... > > I think you're greatly over-complicating this, which is just going to lead to weird behaviour when things turn on and off, and arguments about which level some painting should be in. Before "features" like this go in, I'd like to see some example of a real problem caused by any of these.
> For example, I've seen many articles on (poor) performance of > gradients etc on many OS / Window Managers and Graphics Cards / > Drivers, the the category for this. > The gradients in Pivot are software-rendered, so that's not an issue. Java doesn't currently offer any way (short of using JOGL) to get hardware accelerated gradients. > But the best could be to have a utility class to query the graphics > engine to tell is the desired effect is Hardware-enabled (but I don't > know if this is possible and how to do, sorry), maybe in a way > Unfortunately, no it's not. (again, unless using JOGL).
