-1

OpenGL and DirectX are the ways to communicate with the GPU. But how are they implemented? If a new operating system is developed how is the OpenGL ported to the new OS? How are OpenGL commands are sent to the GPU?

unnamed_addr
  • 1,217
  • 2
  • 12
  • 14

1 Answers1

4

Each GPU comes with a driver that implements directX and/or OpenGL. These are allowed to communicate with the device directly and will translate and send the commands over.

ratchet freak
  • 47,288
  • 5
  • 68
  • 106
  • OpenGL and DirectX both rely on a 'driver' that is typically implemented by the company selling the video hardware. In the case of OpenGL on Windows, it's called a "Installable Client Driver" (ICD). For DirectX, its implemented as part of the "Windows Display Driver Model" ([WDDM](http://en.wikipedia.org/wiki/Windows_Display_Driver_Model)). – Chuck Walbourn Apr 12 '15 at 19:18