Page 1 of 1

Can we use OpenGL in protected mode ?

Posted: Fri Jan 28, 2011 6:04 am
by rakesh.sharnagate
Is it possible to use OpenGL directly in protected mode. :?:

If Yes, how can I use it ?

Re: Can we use OpenGL in protected mode ?

Posted: Fri Jan 28, 2011 10:54 pm
by Neomex
You have to compile its source for your system. ( there's no such thing like opengl in fresh os , you can use VGA if you want to draw something )

Re: Can we use OpenGL in protected mode ?

Posted: Tue Mar 22, 2011 12:02 pm
by MohamedIBrahim
Thank For answer But There Is No enough Information to Me to How To Use VGA

Can You Help Me Please ?

Re: Can we use OpenGL in protected mode ?

Posted: Wed Apr 06, 2011 11:34 pm
by Mike
Hello,

The following are the only good free resources that I am aware of:

FreeVGA
OSDev Wiki

In addition, there are books that cover VGA in depth. Please note the VGAs limitations; OpenGL is typically used with SVGA+ resolutions which VGA does not support. VGA is limited to 640x480x16 color; anything higher requires SVGA+ modes.

In alternative solution is using the VBE or the Video BIOS; both will require v86 mode.