Portal:Development Tools/Window Creation

From OpenGL Wiki
Jump to navigation Jump to search

The creation of a window to render stuff in is not covered in the OpenGL specification. This is handled by platform-specific APIs. These APIs have been abstracted in many toolkits.

These toolkits are designed specifically around creating and managing OpenGL windows. These tools usually provide basic input and timing support, but little else.

A GLUT-compatible cross-platform windowing system. It is intended for demo applications.
A cross-platform windowing system. It is aimed mainly at the needs of games.
Very old, do not use.

Several "multimedia libraries" can create OpenGL windows, in addition to input, sound and other tasks useful for game-like applications.

Allegro version 5
A C-based cross-platform multimedia library focused on game development. Supports core OpenGL context creation.
A C-based cross-platform multimedia library. Version 1.2 does not support core OpenGL context creation, but version 2.0 will.
A C++-based cross-platform multimedia library. Supports creating a core OpenGL context.

Many widget toolkits have the ability to create OpenGL windows, but their primary focus is on being widget toolkits.

A small C-based widget library.
A C++ toolkit which abstracts the Linux, MacOS X and Windows away. It provides a number of OpenGL helper objects, which even abstract away the difference between desktop GL and OpenGL ES.
A C++ cross-platform widget toolkit.