| Class | Fox::FXGLContext |
| In: |
rdoc-sources/FXGLContext.rb
|
| Parent: | FXId |
A GL context is an object representing the OpenGL state information. Multiple GL context may share display lists to conserve memory. When drawing multiple windows, it may be advantageous to share not only display lists, but also GL contexts. Since the GL context is created for a certain frame-buffer configuration, sharing of GL contexts is only possible if the windows sharing the GL context all have the same GL visual. However, display lists may be shared between different GL contexts.
| visual | [R] | The visual [FXGLVisual] |