Canvas performance?

BlitzMax Forums/BlitzMax GUI Programming/Canvas performance?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Thanks for your reply.

Will HTMLview over a Canvas cause problems? So far in my limited tests it has worked ok.

What I mean with Canvas redraw is that for example HTMLView gadget doesn't need to be redrawn every frame by code - it handles it itself. Is Canvas like this too: I can update its contents when I want to, but otherwise it will automatically display its contents? Or do I need to redraw the Canvas everytime I get a GadgetRepaint event? My limited tests would seem to indicate that I only need a Flip in GadgetRepaint, but can I trust that it works in all situations?

I think I will use the JavaScript approach to changing HTMLView content, because it's easier and more flexible than using TStream.

Regular Max2D windowed mode performance sounds good to me.

-AF