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.

Hi,

I had planned to use ordinary 2D graphics for my game, but I just realized that HTMLViews and TextAreas could make some parts of the game a lot easier to code.

How does canvas perform if compared to ordinary 2D graphics? I guess it's slower, but how much slower? Has anyone done any tests? Experiences?

Do canvases have some kind of automatic buffers so that I don't need to redraw them every frame - only when I really need to update their contents?

I read that overlapping canvases can cause some problems? Is that still a real problem?

Any other issues I should be aware of?

And the last question: Is there any way to make a HTMLViewer to display a string (that holds HTML code), or do I need to use temp files or JavaScript code to change HTMLViewer's content?

Thanks!

-AF