Right to the driver.

This is a discussion on Right to the driver. within the C++ Programming forums, part of the General Programming Boards category; Does anyone have any good links about inputing directly to the graphics driver? (Like OpenGL and DirectX does)...

  1. #1
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    1,592

    Right to the driver.

    Does anyone have any good links about inputing directly to the graphics driver? (Like OpenGL and DirectX does)
    A class that doesn't overload all operators just isn't finished yet. -- SmugCeePlusPlusWeenie
    A year spent in artificial intelligence is enough to make one believe in God. -- Alan J. Perlis

  2. #2
    Registered User
    Join Date
    Jul 2006
    Posts
    162
    my guess is some memory addresses are mapped for i/o to the device and there's probably some proprietary format for the data for each device, so you'd probably need information from the companies that created what ever you want to communicate with.

    the prospect of communicating directly instead of using the OS API is interesting, i guess it's not a very practical thing to do other than just for satisfying curiosity. don't bother doing it unless it's just for that.
    Last edited by simpleid; 09-09-2007 at 08:42 PM.

  3. #3
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    DirectX doesn't write directly to the graphics memory in user-mode, it uses the driver itself - the graphics memory is not visible in user-mode.

    Further, it is faster to send commands to the graphics processor than to write to the graphics memory, unless you are doing something really strange.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  4. #4
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    1,592
    Thanks for replys, I didn't know it would be so much trouble to that.
    A class that doesn't overload all operators just isn't finished yet. -- SmugCeePlusPlusWeenie
    A year spent in artificial intelligence is enough to make one believe in God. -- Alan J. Perlis

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 0
    Last Post: 07-28-2008, 03:10 AM
  2. Replies: 6
    Last Post: 05-15-2007, 10:47 PM
  3. Linux (2.6.10+) device driver: multiple classes?
    By filker0 in forum Linux Programming
    Replies: 3
    Last Post: 09-26-2005, 08:46 PM
  4. egavga.bgi
    By PING in forum Game Programming
    Replies: 6
    Last Post: 11-16-2004, 12:46 AM
  5. egavga.bgi problem
    By sunil21 in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 09-22-2003, 05:06 PM

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