Results 1 to 10 of 10

Thread: hardware/software

  1. #1
    Junior Member Newbie
    Join Date
    Dec 2002
    Location
    Västerås, Sweden
    Posts
    12

    hardware/software

    Is there any way in OpenGL to choose between hardware and software rendering?

  2. #2
    Junior Member Newbie
    Join Date
    Dec 2002
    Location
    Västerås, Sweden
    Posts
    12

    Re: hardware/software

    Does OpenGL use hardware acceleration automatically if a driver is present?

  3. #3
    Senior Member OpenGL Guru
    Join Date
    Feb 2000
    Location
    Sweden
    Posts
    2,978

    Re: hardware/software

    You can't choose directly. You can get software rendering by using features you know is unsupported by the hardware, but that's all.

    If there's a driver present, AND the current state setup allows hardware rendering, it will be used.

  4. #4
    Junior Member Newbie
    Join Date
    Dec 2002
    Location
    Västerås, Sweden
    Posts
    12

    Re: hardware/software

    How do I determine if a certain state is supported?

  5. #5
    Senior Member OpenGL Guru
    Join Date
    Feb 2000
    Location
    Sweden
    Posts
    2,978

    Re: hardware/software

    You can't. But on the other hand, is it really important for you to know? Most of the time when someone asks for a way to determine hardware acceleration, all they want to know if it's fast enough. That can only be determined by writing a test program and see for yourself.

  6. #6
    Senior Member OpenGL Guru
    Join Date
    Jun 2000
    Location
    Gastonia, NC, USA
    Posts
    2,068

    Re: hardware/software

    I can check to see what hardware and the version of the openGL driver that are in use. If you know the hardware, you then know what is supported.

    You can also check what extensions are supported, by the hardware or they are ATI or nvadia, etc.


    Originally posted by Gamekeeper:
    How do I determine if a certain state is supported?

  7. #7
    Junior Member Newbie
    Join Date
    Aug 2000
    Location
    germany
    Posts
    25

    Re: hardware/software

    Sorry, You're not right. Actually there is a way to check wheather you are accelerated or not. In the Pixelformatdescriptor, that you can retrieve, there is a dwFlags member that contains PFD_GENERIC_ACCELERATED if there is any kind of hw-acceleration. Regards, Kai

  8. #8
    Senior Member OpenGL Guru
    Join Date
    Feb 2000
    Location
    Sweden
    Posts
    2,978

    Re: hardware/software

    The PDF_GENERIC_ACCELERATED flag only says whether a device driver or Microsoft's software implementation is used. It does not say anything about if the device driver is performing a software rendering or letting the hardware do it.

  9. #9
    Junior Member Newbie
    Join Date
    Aug 2000
    Location
    germany
    Posts
    25

    Re: hardware/software

    Microsoft is software rendering, all other is hardware. Kai

  10. #10
    Senior Member OpenGL Pro
    Join Date
    Oct 2000
    Location
    Fargo, ND
    Posts
    1,753

    Re: hardware/software

    Not necessarily. For example, just because you are using nVidia drivers doesn't mean you are doing everything in hardware. Much of it may be done in hardware, but there are features where they may choose to fall back to software.
    Deiussum
    Software Engineer and OpenGL enthusiast

Similar Threads

  1. Hardware Software modes
    By in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 08-15-2001, 08:35 PM
  2. Hardware vs. software - again
    By ET3D in forum OpenGL: General
    Replies: 12
    Last Post: 05-24-2001, 06:14 PM
  3. Hardware or software?
    By Nutty in forum OpenGL: General
    Replies: 43
    Last Post: 05-21-2001, 11:57 AM
  4. Software or hardware ?!?
    By McZ in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 12-30-2000, 03:51 AM
  5. Switching between software/hardware
    By in forum OpenGL: User Software
    Replies: 1
    Last Post: 02-23-2000, 06:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean