3.9 RebelSDL as a helper plugin

RebelSDL can also be used as a helper plugin to work around the problem that Hollywood only supports hardware-accelerated double buffers and brushes on AmigaOS and compatibles. They aren't supported on Windows, macOS, or Linux. If you install and @REQUIRE RebelSDL, however, hardware double buffer and hardware brush support will also be available on Windows, macOS, and Linux because RebelSDL supports this.

Thus, you can also use RebelSDL as a helper plugin just to get hardware-accelerated double buffer support on Windows, macOS, and Linux. You don't even have to use any of the SDL commands directly. You can just @REQUIRE RebelSDL, set up a hardware double buffer and then draw to it using hardware brushes. This allows you to utilize hardware acceleration without having to write a single line of SDL code!

On AmigaOS and compatibles this isn't necessary since Hollywood already supports hardware accelerated double buffers and brushes by default. Still, using RebelSDL on AmigaOS as a hardware double buffer driver can be of benefit in full screen mode because RebelSDL uses drawing which is perfectly synchronized with the monitor's vertical refresh so it usually looks better than double buffers managed by Hollywood directly.

See Using a hardware double buffer for details.

See Using hardware brushes for details.

The SmoothScroll.hws example script that comes with RebelSDL demonstrates how to use hardware brushes and a hardware double buffer to achieve butter-smooth scrolling that is fully synchronized with the monitor's vertical refresh.


Show TOC