Can we use OpenGL in protected mode ?

OS Design, Theory, and Programming

Moderator:Moderators

Post Reply
rakesh.sharnagate
Posts:6
Joined:Mon Jan 24, 2011 6:02 am
Can we use OpenGL in protected mode ?

Post by rakesh.sharnagate » Fri Jan 28, 2011 6:04 am

Is it possible to use OpenGL directly in protected mode. :?:

If Yes, how can I use it ?

Neomex
Posts:4
Joined:Tue Jan 25, 2011 9:14 pm

Re: Can we use OpenGL in protected mode ?

Post by Neomex » Fri Jan 28, 2011 10:54 pm

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 )

MohamedIBrahim
Posts:3
Joined:Mon Mar 21, 2011 9:12 pm

Re: Can we use OpenGL in protected mode ?

Post by MohamedIBrahim » Tue Mar 22, 2011 12:02 pm

Thank For answer But There Is No enough Information to Me to How To Use VGA

Can You Help Me Please ?

User avatar
Mike
Site Admin
Posts:465
Joined:Sat Oct 20, 2007 7:58 pm
Contact:

Re: Can we use OpenGL in protected mode ?

Post by Mike » Wed Apr 06, 2011 11:34 pm

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.
Lead Programmer for BrokenThorn Entertainment, Co.
Website: http://www.brokenthorn.com
Email: webmaster@brokenthorn.com

Post Reply