opengl in x?

This is a discussion on opengl in x? within the Tech Board forums, part of the Community Boards category; after having some x nightmares with my ati card i wondered why the card need a driver at all. if ...

  1. #1
    Registered User
    Join Date
    Jul 2002
    Posts
    913

    opengl in x?

    after having some x nightmares with my ati card i wondered why the card need a driver at all.

    if most new cards support opengl was doesnt x just have one all purpose driver for them? are there problems with opengl?

    couldnt the api be adjusted for it? wouldnt it be easier?


    i tried asking in some linux boards, im hopping a programmer can tell some of the problems.

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    102
    Just because a card supports open GL does not mean that the BIOS on the card is only OpenGL. Everycard runs differently, they are all made differently. Just like each controler card.

    OpenGL really is intended as a higher level display library, and the driver runs different cards.

    HTH

  3. #3
    Registered User
    Join Date
    Jul 2002
    Posts
    913
    Just because a card supports open GL does not mean that the BIOS on the card is only OpenGL
    but if it supports opengl doesnt it mean it supports some standards? its api supports also unofficial stuff(like vendor specific) doesnt it also have the opengl api right there.

    OpenGL really is intended as a higher level display library
    i heard this before, but where the problem. ive seen 2d graphics in directx, opengl has to have something.

    is it just a pain working like that?

  4. #4
    Registered User
    Join Date
    Mar 2003
    Posts
    102
    OpenGL is a library of functions that are precomiles like glibc. The driver is for the specific card.

    Think about it this way. Can you use a mazda miata engine in a Corvette? Just because they look to operate the same, under the hood they are very different. You turn the key and the car starts, push the gas and the car goes, break and it stopes. The general things that it does are the OpenGL libraries. The engine is the card specific driver.

  5. #5
    Registered User
    Join Date
    Jul 2002
    Posts
    913
    o, ok. i get it know.

    i like what i was thinking better though. any reason why they wouldnt come up with a opengl-like hardware api?

    i know now it cant be done but im surprised there not moving towards this.

  6. #6
    Registered User
    Join Date
    Mar 2003
    Posts
    102
    One reason they are not $$$. Yea It would be nice.. but then it would also limit the ability to extend the abilities of the software to match the power of the hardware.

  7. #7
    Registered User
    Join Date
    Jul 2002
    Posts
    913
    but then it would also limit the ability to extend the abilities of the software to match the power of the hardware.
    what do you mean?

    why wouldnt it be like any other api call? it would have to be a system call but atleast it wouldn be some what standard.

    im not really seeing the bad points to this.

  8. #8
    Comment your source code! Lynux-Penguin's Avatar
    Join Date
    Apr 2002
    Posts
    533
    OpenGL is not a method to redraw screens and refresh rates and hardware based mapping.
    X uses many methods to do these and OpenGL is not one of them and probably never will be. the API behind OpenGL requires an API that can access the hardware features of the card. OpenGL cannot do this directly, so if X were to use OpenGL they would have to write a back-bone API that OpenGL would use to use these features there by defeating the purpose in the begining.

    -LC
    Asking the right question is sometimes more important than knowing the answer.
    Please read the FAQ
    C Reference Card (A MUST!)
    Pointers and Memory
    The Essentials
    CString lib

  9. #9
    Registered User
    Join Date
    Jul 2002
    Posts
    913
    why do some cards advertise about opengl then?

    i cant believe there have come up with something, i guess this was makes them more money(no idea how)...

  10. #10
    *******argv[] - hu? darksaidin's Avatar
    Join Date
    Jul 2003
    Posts
    314
    Originally posted by mart_man00
    why do some cards advertise about opengl then?

    i cant believe there have come up with something, i guess this was makes them more money(no idea how)...
    Afaik, OpenGL doesn't directly access the hardware (correct me if I'm wrong). It uses your graphic-cards driver to do this. Therefore if the driver doesn't support OpenGL, it won't work. Thats why they can advertise OpenGL compatibility.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Linking OpenGL in Dev-C++
    By linkofazeroth in forum Game Programming
    Replies: 4
    Last Post: 09-13-2005, 11:17 AM
  2. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 01:34 PM
  3. OpenGL .dll vs video card dll
    By Silvercord in forum Game Programming
    Replies: 14
    Last Post: 02-12-2003, 07:57 PM
  4. OpenGL and Windows
    By sean345 in forum Game Programming
    Replies: 5
    Last Post: 06-24-2002, 11:14 PM
  5. opengl code not working
    By Unregistered in forum Windows Programming
    Replies: 4
    Last Post: 02-14-2002, 10:01 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21