Sign in to follow this  
4mad3u5

Windowing tasks

Recommended Posts

4mad3u5    116

Opengl programming guide 8th edition says "OpenGL doesn’t include functions for performing windowing tasks". What are windowing tasks?

Share this post


Link to post
Share on other sites
BCullis    1955

Minimize, switch window, resize, maximize, dock, etc...

This is why a lot of people use something like SDL/SFML for the window context, and then do all rendering inside that window with OpenGL (as an example).

Share this post


Link to post
Share on other sites
rAm_y_    686

Creating the Window that GL runs in is operating system specific, the WIN32 API for Windows for example. GL is platform independent hence it doesn't implement the drawing of windows. Windows are are what you see in desktop apps, like dialog boxes or message boxes, they have a handle assigned to them and GL uses this to do the actuall rendering inside this windows handle.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this