BWindow?

Hello :slight_smile: I’m investigation using SDL for a BeOS project I’m starting. In
the README it says that the SDL uses BWindow for the display. I thought
that the BView classes were mostly for general apps and not for
high-performance graphics. Before I saw this comment in the README I
assumed that the library used the display classes from the Game Kit
(BDirectWindow, BWindowScreen). Wouldn’t the choice to use BWindow
adversly affect performance, or is the BWindow faster than I think it is?
Is there anyone with any experience using SDL with the BeOS, and have you
noticed any such performance issues?

Thanks in advance for any help.____________
mike casaday

Hello :slight_smile: I’m investigation using SDL for a BeOS project I’m starting. In
the README it says that the SDL uses BWindow for the display. I thought
that the BView classes were mostly for general apps and not for
high-performance graphics. Before I saw this comment in the README I
assumed that the library used the display classes from the Game Kit
(BDirectWindow, BWindowScreen). Wouldn’t the choice to use BWindow
adversly affect performance, or is the BWindow faster than I think it is?
Is there anyone with any experience using SDL with the BeOS, and have you
noticed any such performance issues?

SDL in a BWindow has very good performance, however I will happily
accept BDirectWindow and BWindowScreen patches.

I think there were some issues with both of those that made them less
attractive (bugs?) than they were initially. The problems I’m thinking
of may have since been fixed.

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

What was the last release that you tried it in? Maybe 4.5 will be better.

Or…uhh…

not :smiley:

Personally I’m surprised that BWindow is as fast as it is. I would have thought that using the BView classes instead of the Game Kit classes was the Windows equivalent of using the GDI instead of DirectX. When I saw the test app with that swirling mass of smiley face sprites going at around 60fps in a BWindow, though, I sort of changed my mind about that comparison ;)> ----- Original Message -----

From: slouken@devolution.com (Sam Lantinga)
Reply-To: sdl at lokigames.com
Date: Fri, 03 Dec 1999 21:11:03 -0800

SDL in a BWindow has very good performance, however I will happily
accept BDirectWindow and BWindowScreen patches.

I think there were some issues with both of those that made them less
attractive (bugs?) than they were initially. The problems I’m thinking
of may have since been fixed.