3.1 Activating GL Galore

All you have to do to make your script use OpenGL instead of Hollywood's inbuilt graphics driver is adding the following line to the top of your script:

 
@REQUIRE "glgalore"

Alternatively, if you are using Hollywood from a console, you can also start your script like this:

 
Hollywood test.hws -requireplugins glgalore

Once the GL Galore plugin has been activated for your script, it will reroute all of Hollywood's graphics output through OpenGL. Note that this will usually be slower than Hollywood's inbuilt graphics driver for scripts that aren't optimized for OpenGL. To get an optimal performance with OpenGL, your script needs to use a hardware-accelerated double buffer. See Using a hardware double buffer for details.

GL Galore accepts the following arguments in its @REQUIRE call:

ForceFullRefresh:
If this tag is set to False, GL Galore will only refresh the parts of the display that have actually changed. This is quicker but it doesn't work correctly with older OpenGL implementations (especially on Amiga) because they often do not offer pixel perfect positioning of graphics. That is why this tag defaults to True, which means that GL Galore will always refresh the full display whenever something is drawn. Note that this tag is only used when GL Galore is running without a hardware double buffer. In hardware double-buffered mode, front and back buffers cause a full refresh anyway.

Here is an example of how to pass arguments to the @REQUIRE preprocessor command:

 
@REQUIRE "glgalore", {ForceFullRefresh = False}

Alternatively, you can also use the -requiretags console argument to pass these arguments. See the Hollywood manual for more information.


Show TOC