Jump to content

View more

Image of the Day

Inventory ! Va falloir trouver une autre couleur pour le cadre D: #AzTroScreenshot #screenshotsaturday https://t.co/PvxhGL7cOH
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Windowing tasks

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
2 replies to this topic

#1 4mad3u5   Members   

116
Like
0Likes
Like

Posted 26 March 2014 - 01:36 PM

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



#2 BCullis   Members   

1955
Like
3Likes
Like

Posted 26 March 2014 - 03:03 PM

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).


Hazard Pay :: FPS/RTS in SharpDX (gathering dust, retained for... historical purposes)
DeviantArt :: Because right-brain needs love too (also pretty neglected these days)


#3 rAm_y_   Members   

686
Like
1Likes
Like

Posted 26 March 2014 - 03:25 PM

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.






Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.