overview of OpenGL

environment variables

Additionally, an application can programmatically switch between the slower and faster double buffering methods using the following new glHint calls:

glHint(GL_BUFFER_SWAP_MODE_HINT_HP, GL_FASTEST);

Switches to the faster double buffering method.

glHint(GL_BUFFER_SWAP_MODE_HINT_HP, GL_NICEST);

Switches to the slower double buffering method.

Note that setting either

HPOGL_DSM_ENABLE_FAST_BUFFER_SWAP or

HPOGL_DSM_DISABLE_FAST_BUFFER_SWAP in the application environment will disable and thus override the behavior of the new glHint calls.

26

Chapter 1