OpenGL and Direct3D: From a programmer’s point of view, where do they stand?

I am very new to graphical programming and trying to understand how graphical programming works. From what I have read so far, I still don't know where the APIs such as OpenGL and Direct3D are, and who really implements them?

Drivers talk directly to hardware. So NVIDIA / AMD, etc. drivers write, but someone else needs to implement these APIs on top of this? But I saw the "OpenGL driver" on the Nvidia website, which means that OpenGL is a driver level API that is directly related to the graphics hardware? So, Nvidia / AMD implements these APIs?

I can understand game engines, etc. written on top of OpenGL / Direct3D, but I could not understand exactly where these APIs stand from the point of view of programmers.

+4
source share
1 answer

Direct3D is fully implemented by Microsoft. However, it indicates an even lower level API ( DXGI DDI and Direct3D DDI ), which is then implemented by Nvidia / AMD as part of device drivers. Thus, basically D3D is a strip between the application code and the driver code. Recent advances in graphic architecture have made the intermediate layer provided by D3D thinner and thinner, which reduces processor overhead.

OpenGL Windows : Microsoft API OpenGL, , , OpenGL Installable .

OpenGL Windows, , . Firefox Chrome WebGL ANGLE, API OpenGL API Direct3D, .

+6

All Articles