Can we use OpenGL in protected mode ?

OS Design, Theory, and Programming

Moderator: Moderators

Can we use OpenGL in protected mode ?

Postby 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 ?
rakesh.sharnagate
 
Posts: 6
Joined: Mon Jan 24, 2011 6:02 am

Re: Can we use OpenGL in protected mode ?

Postby 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 )
Neomex
 
Posts: 4
Joined: Tue Jan 25, 2011 9:14 pm

Re: Can we use OpenGL in protected mode ?

Postby 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 ?
MohamedIBrahim
 
Posts: 3
Joined: Mon Mar 21, 2011 9:12 pm

Re: Can we use OpenGL in protected mode ?

Postby 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
User avatar
Mike
Site Admin
 
Posts: 463
Joined: Sat Oct 20, 2007 7:58 pm


Return to Advanced OS Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron