OpenGL rendering context on Windows.
Represents OpenGL rendering context on Windows.
Creates a new rendering context with desired context & framebuffer configuration using internal dummy window.
Creates a new rendering context with desired context & framebuffer configuration using dcHandle.
Creates a new rendering context with desired configuration using dcHandle with choosen pixel format.
Gets whether the rendering context is disposed.
Gets the rendering context handle.
Gets the rendering context configuration.
Gets the rendering context framebuffer configuration.
Gets the rendering context pixel format index.
The rendering context is suitable for using with any device context sharing this pixel format and created on the same device.
Sets device context's pixel format to this rendering context pixel format.
Makes the rendering context the calling thread's current rendering context using dcHandle.
Returns wheter this rendering context is the calling thread's current rendering context.
Gets the handle to the calling thread's current rendering context.
Makes the calling thread's current rendering context no longer current and releases the device context that is used by the rendering context.
Swaps device context color buffers.
If wait is true also waits using glFinish for actual swap to take effect.
Returns wheter the rendering context support setting a swap interval.
Swap interval is a minimum number of video frame periods per buffer swap.
See EXT_swap_control extension.
Returns wheter the rendering context support setting a negative swap interval meaning late swaps occur without synchronization to the video frame.
See EXT_swap_control_tear extension.
Gets or sets current device context's swap interval.
Releases all resources used by this class instance.
Deletes the rendering context preliminarily releasing it if
it's the calling thread's current rendering context.
Also deletes the internal dummy window if it was created.
This function will be called by destructor if not already disposed.