HP j6700 OpenGL Implementation Guide for HP-UX 11.x - Page 28

Glhintgl_buffer_swap_mode_hint_hp, Gl_fastest, Gl_nicest

Page 28 highlights

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

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62

overview of OpenGL
environment variables
Chapter 1
26
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.